option to specify screen width at which point navbar is merged into sidebar
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- frontend
Línea de trabajo
Comienza siguiendo la implementación existente de la funcionalidad mergeNavbar y la ruta de ejecución que actualiza la aplicación Docsify cuando se cambia el tamaño de la ventana. Comprueba cómo debería interactuar la opción propuesta mergeNavbarAtWidth con el umbral móvil actual y, después, verifica que al cambiar el tamaño de la ventana atravesando el ancho configurado la navbar se fusione y se separe como se espera.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature request
The existing mergeSidebar option is nifty: it allows you to merge the navbar into the sidebar for smaller screens, otherwise it won't look right.
However, the navbar can still look funky at certain sizes that are bigger than the mobile size (768px and up).
For example:

What problem does this feature solve?
An option would prevent cases when the navbar doesn't fit well at the top, even if the screen width is bigger than mobile.
What does the proposed API look like?
A new option (maybe something like mergeNavbarAtWidth) would allow us to specify a width at which the navbar should be merged.
How should this be implemented in your opinion?
We need to update the mergeNavbar feature to operate at runtime any time the width of the Docsify app is updated, instead of only at the beginning. Then, we need to merge the navbar when the width is below the specified size in the mergeNavbarAtWidth option.
We need to make this operate on resizes because people may resize their window.
At the moment, the merging only happens once initially, but if we resize our window from desktop size to mobile size then the navbar will not be merged. In this video I shrink my window and the menu does not get merged:

If you visit the site on your mobile phone (https://lume.io/docs), or do a refresh when your desktop browser window is on mobile size, then you will see the menu inside of the sidebar like the following:

Are you willing to work on this yourself?
- Lenguaje dominante
- JavaScript
- Estrellas
- 31.5k
- Forks
- 5.8k
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 docsifyjs/docsify
-
Query parameter values are truncated at a second equals signPosiblemente ocupada @xu91102 la tomó hace 23 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Bullet points beginning with inline math: subsequent text formatting not recognised correctlyAbiertobug Triage
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Cached AJAX responses lose status metadata exposed through vm.route.responsePosiblemente ocupada @xu91102 la tomó hace 23 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
In the Edge browser, the character `{docsify-updated}` is not replacedQuizá libre de nuevo @AmanUllah687 la tomó hace 76 días y no hay ningún pull request abierto. Abiertowait for information
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
docsifyjs/docsify#2681 · 11 comentarios ·
Los mantenedores suelen responder en 2 días
-
Nested/Recursive includesAbiertofeature request Triage
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
docsifyjs/docsify#2643 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de docsifyjs/docsify
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
taskcluster/taskcluster#9284 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Xvesa 24bbp incorrect info?Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Spomky-Labs/pwa-bundle#476 ·
-
[feart] 支持 MiMo 类型模型的关闭思考识别Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
speced/respec#5504 · 1 comentario ·
Los mantenedores suelen responder en 1 día