Import from GitHub - Branches Never Load
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github
- Domínio
- backend
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 40
- Forks
- 9
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de hackmdio/hackmd-io-issues
-
bug
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 62/100
hackmdio/hackmd-io-issues#121 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
hackmdio/hackmd-io-issues#448 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 15/100
hackmdio/hackmd-io-issues#447 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
hackmdio/hackmd-io-issues#446 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
hackmdio/hackmd-io-issues#445 · 3 comentários ·
Todas as issues de hackmdio/hackmd-io-issues
Issues semelhantes
-
Bug Nethernet Tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
JSPrismarine/JSPrismarine#3949 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
memtomem/memtomem-stm#1592 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
braveapi: time range filter is sent as time_range, which the Brave API ignores (needs freshness)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
dbfixtures/mirakuru#1235 ·
Mantenedores costumam responder em até 1 dia