Import from GitHub - Branches Never Load

Abierto
#443 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
40
Forks
9
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hackmdio/hackmd-io-issues

Todos los issues de hackmdio/hackmd-io-issues

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.