option to specify screen width at which point navbar is merged into sidebar
Mantenedores costumam responder em até 8 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- javascript
- Domínio
- frontend
Direção de pesquisa
Comece rastreando o recurso mergeNavbar existente e o caminho de execução que atualiza o aplicativo Docsify quando a janela é redimensionada. Verifique como a opção proposta mergeNavbarAtWidth deve interagir com o limite atual para dispositivos móveis e, em seguida, confirme que redimensionar a janela atravessando a largura configurada mescla e separa a navbar conforme esperado.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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?
- Linguagem predominante
- JavaScript
- Estrelas
- 31.5k
- Forks
- 5.8k
- Merge médio
- 7d 18h
- PRs com merge (30d)
- 9
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
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 docsifyjs/docsify
-
Query parameter values are truncated at a second equals signTalvez já em andamento @xu91102 assumiu há 23 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 8 dias
-
Bullet points beginning with inline math: subsequent text formatting not recognised correctlyAbertabug Triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 8 dias
-
Cached AJAX responses lose status metadata exposed through vm.route.responseTalvez já em andamento @xu91102 assumiu há 23 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 8 dias
-
In the Edge browser, the character `{docsify-updated}` is not replacedTalvez livre de novo @AmanUllah687 assumiu há 76 dias e não há nenhum pull request aberto. Abertawait for information
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
docsifyjs/docsify#2681 · 11 comentários ·
Mantenedores costumam responder em até 8 dias
-
Nested/Recursive includesAbertafeature request Triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
docsifyjs/docsify#2643 · 5 comentários ·
Mantenedores costumam responder em até 8 dias
Todas as issues de docsifyjs/docsify
Issues semelhantes
-
[APP/MODULE]Abertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
awesome-android-root/awesome-android-root#195 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
subhranshudash13-dotcom/Contribo#74 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
qq15725/modern-screenshot#174 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 67/100
ThatGuySam/doesitarm#1114 ·