Import from GitHub - Branches Never Load
还没有人认领这个 Issue。
评估
- 难度
- 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?
- Yes, the bug happens on https://hackmd.io
- No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
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.
Provide steps to reproduce:
- Go to Workspace
- Click on menu arrow next to Create my note
- Select Import a file from GitHub
- Click on Select a repo
- Select any repo
- 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hackmdio/hackmd-io-issues 的其他 Issue
-
bug
难度 1/5 1-3 小时 新手友好度 62/100
hackmdio/hackmd-io-issues#121 ·
-
难度 4/5 3-5 天 新手友好度 25/100
hackmdio/hackmd-io-issues#448 ·
-
难度 4/5 3-5 天 新手友好度 15/100
hackmdio/hackmd-io-issues#447 ·
-
难度 4/5 3-5 天 新手友好度 45/100
hackmdio/hackmd-io-issues#446 ·
-
难度 4/5 3-5 天 新手友好度 22/100
hackmdio/hackmd-io-issues#445 · 3 条评论 ·
查看 hackmdio/hackmd-io-issues 的全部 Issue
相似的 Issue
-
bug(worker): detector run is marked failed and never retried when span download fails可能已有人在做 @jagrutgarg 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
traceroot-ai/traceroot#3434 · 1 条评论 ·
维护者通常 1 天内回复
-
area:config bug priority:medium
难度 2/5 1-3 小时 新手友好度 88/100
Doezer/Questarr#1451 · 1 条评论 ·
维护者通常 1 天内回复
-
area:server enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
d43ash1sh/asomiya#29 · 1 条评论 ·
维护者通常 1 天内回复
-
lane:core todo:ticket
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复