[Bug] Taxonomies page: "Download template" and "Import" buttons overflow the header on narrow screens
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, react, typescript
- Área
- frontend
Línea de trabajo
El problema está en el componente SubHeader (src/generic/sub-header/SubHeader.tsx) y su uso en la página de Taxonomías (src/taxonomy/TaxonomyListPage.tsx). Inspecciona la ActionRow con la clase 'ml-auto flex-shrink-0 sub-header-actions' para ver cómo se desbordan los botones. Prueba la solución ajustando flex-shrink o el comportamiento de ajuste de línea en una ventana gráfica estrecha (por ejemplo, 440px). Verifica que la solución no rompa otras páginas de Studio que usen SubHeader.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Status: Out of Scope
Environment
- Master Sandbox, https://apps.master.openedx.io/authoring/taxonomies
- Chrome DevTools device emulation, iPhone 16 Pro Max (440 x 956). A plain 440 px wide browser window gives the same result.
- User: Global Staff
Steps to reproduce
- Open the Taxonomies page.
- Switch to a mobile viewport of 440 px or narrower.
Expected result
The page fits the viewport. The header buttons wrap to a new line or shrink, and the page does not scroll horizontally.
Actual result
The "Download template" and "Import" buttons stay on the same line as the "Taxonomies" title and extend past the right edge of the header. At a 440 px viewport, the right edge of the "Import" button is at 577 px, which makes the whole page 577 px wide and adds a horizontal scrollbar.
Cause
The Taxonomies page passes its buttons to the shared SubHeader component as headerActions (src/taxonomy/TaxonomyListPage.tsx). SubHeader renders them inside <ActionRow className="ml-auto flex-shrink-0 sub-header-actions"> (src/generic/sub-header/SubHeader.tsx). Because of flex-shrink-0, the button row keeps its full width and does not wrap, so on a narrow screen it pushes out of the header instead of moving below the title.
Notes
- This is not a regression from #663. The #663 change only touched the taxonomy card and its menu, and did not change the page header.
flex-shrink-0on theSubHeaderactions has been in place since February 2024 (openedx/frontend-app-authoring#808). SubHeaderis shared by other Studio pages, so a fix in that component may change their headers too. A fix scoped to the Taxonomies page may be safer.
- Lenguaje dominante
- Python
- Estrellas
- 10
- Forks
- 33
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 10
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openedx/openedx-core
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
openedx/openedx-core#827 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
openedx/openedx-core#841 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
openedx/openedx-core#840 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
openedx/openedx-core#839 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Course search panel on the Competency Management page doesn't match the Paragon components and tokens in the designPosiblemente ocupada @AShatsila la tomó hace 3 días. Abierto
openedx/openedx-core#836 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de openedx/openedx-core
Issues similares
-
customer-reported
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Azure/azure-cli#34150 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community-request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
NVIDIA-NeMo/Curator#2464 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
weblate-discover crashes with an unhandled FileNotFoundError when the directory does not existAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
WeblateOrg/translation-finder#1099 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
trezor/trezor-firmware#7997 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día