Import from GitHub - Branches Never Load

オープン
#443 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github
領域
backend

調査の方向性

Start by tracing the GitHub import flow from the workspace menu and the repo-selection step described in the issue; then inspect how branch options are loaded for the selected repository. Reproduce using the listed steps and check the failing request or response. Done means branches load after choosing a repository so the user can select a file and pull it.

索引モデルが issue の本文から書いたものです。

説明

Is this a hackmd.io issue?
What's the problem
Current behaviour

When importing a file from GitHub, after selecting a repo the "Select a branch" option is stuck loading forever. This prevents the user from selecting a branch, selecting the file, and initiating the Git pull from GitHub. The issue also exists if the user selects "Pull from GitHub" and "Push to GitHub" at the bottom of the empty document.

Image

Provide steps to reproduce:

  1. Go to Workspace
  2. Click on menu arrow next to Create my note
  3. Select Import a file from GitHub
  4. Click on Select a repo
  5. Select any repo
  6. See error -- Select a branch loads forever

Note link: https://hackmd.io/@Ozycaevias/HJ1nTzNjzl

Expected behaviour

After selecting a repo, "Select a branch" should briefly load, then allow the user to select a branch from the chosen repository. They would then be able to select the desired file and click Pull to start the Git pull from GitHub.

Environment

I use HackMD on:

Desktop

  • OS: Windows 11
  • Browser: Firefox
  • Browser Version: 157.0
Additional context

Issue persists even in a Private window with no extensions loaded.

I have tried restarting the browser, clearing cache/cookies, selecting different repos, and using a different browser (Chrome 154.0), with no luck. I have also verified that HackMD Hub has permission to access the selected repos in the GitHub application settings.

I've waited as long as 10 minutes, just to verify that it's not just being exceptionally slow. I can also confirm that my internet connection has no current issues and accesses anything else (including the rest of HackMD) fine.

主要言語
言語のデータがありません
スター
40
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hackmdio/hackmd-io-issues のほかの issue

hackmdio/hackmd-io-issues の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。