Search: the folded bottom bar should be a Home button, not a second search icon
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
- 83/100
Línea de trabajo
Empieza en LiquidGlassAppBottomNavigationBar.android.kt, especialmente en la lógica de collapsedCircle que ya comprueba isInSearchDestination. Sigue cómo selecciona el icono y gestiona los toques, y luego verifica que el círculo plegado muestre Home y lleve al usuario directamente a Home desde Search, conservando su comportamiento actual en las demás pestañas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem Description
On Android, opening Search folds the bottom bar into a single circle, and that circle shows the search icon. You are already on Search, so it looks like a button that does nothing new. Tapping it only unfolds the bar, and you then need a second tap on Home to leave Search.
Getting back out of Search is the most likely thing someone wants from that button, and right now it takes two taps behind an icon that suggests something else.
Proposed Solution
While on Search, the folded circle shows the Home icon, and one tap goes straight to Home. Everywhere else the circle keeps working as it does now (it shows the current tab and unfolds the bar).
It's a small change in LiquidGlassAppBottomNavigationBar.android.kt: the collapsedCircle already knows isInSearchDestination, so it can pick the Home icon and call selectTab(Home) in that case. I've been using this in my fork and can send a PR against dev if you want it.
Alternative Solutions
- Show the icon of the tab the user came from (Library, Mix…) and go back there. More precise, but less predictable than always Home.
- Keep the search icon but make the tap go back. The icon would still say "search" while doing "back", so I prefer showing Home.
Additional Context
Before (2.5.0): the folded circle on Search shows the search icon.
After (my fork): it shows Home, and one tap goes Home. (The mini player beside it is just because something was playing, and isn't part of this request.)
- Lenguaje dominante
- Kotlin
- Estrellas
- 13.8k
- Forks
- 811
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 7
Preparar el entorno
- Sin Dockerfile ni 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 maxrave-dev/SimpMusic
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
maxrave-dev/SimpMusic#2992 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Unreadable textAbiertobug:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
maxrave-dev/SimpMusic#2899 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
maxrave-dev/SimpMusic#2820 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
maxrave-dev/SimpMusic#2746 ·
Los mantenedores suelen responder en 1 día
-
[UI Bug] Home navigation button not selected after pressing Back from Mix, Library, or SearchQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
maxrave-dev/SimpMusic#2714 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de maxrave-dev/SimpMusic
Issues similares
-
IzzyOnDroid inclusionAbiertoF-Droid FOSS question
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
d4rken-org/butler#365 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
panel-assistant/android#224 ·
Los mantenedores suelen responder en 1 día
-
bug: 删除聊天模型后错误出现快速入门界面Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
MetrolistGroup/Metrolist#5484 ·
Los mantenedores suelen responder en 1 día
-
Streaming repair closes ~~ with strikethrough off (streamingRepairOptions never sets strikethrough)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
software-mansion/enriched-markdown#1265 ·
Los mantenedores suelen responder en 1 día