fix(gui): followed artists do not page, and load more stops after a failure
Los mantenedores suelen responder en 1 día
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
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust, typescript
Línea de trabajo
Start with ListTarget in src/core/action/mod.rs and the library payload in src/gui/protocol.rs, then read pageTarget in gui/src/LibraryPanel.tsx. For the second bug, read askedFor in LibraryPanel.tsx, wantsNextPage in gui/src/libraryModel.ts, and episodePager in gui/src/showModel.ts. Done means Artists pages through the panel pager, and a failed fetch triggers a new request on the next scroll.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
Two paging gaps in the GUI.
- Followed artists do not page. The Library panel loads one page of followed artists and has no way to ask for more:
ListTarget(src/core/action/mod.rs) has no artists target, the library payload insrc/gui/protocol.rshas nofollowed_artists_has_more, andpageTargetingui/src/LibraryPanel.tsxis null for the Artists filter. Fix: addListTarget::SavedArtiststhat callsget_current_user_saved_artists_next, send a has-more flag from the last cursor page, and wire the Artists filter into the panel pager. - Load more stops after a failed fetch. The Library panel (
askedForinLibraryPanel.tsx,wantsNextPageingui/src/libraryModel.ts) and the show episode list (episodePageringui/src/showModel.ts) ask once per pushed list. A failed fetch pushes nothing, so scrolling never asks again until an unrelated push or a filter change. Fix: ask again when a new error status arrives. The playlist and Liked Songs pages are not affected.
To Reproduce
- Follow more artists than one page holds.
- Open Your Library, pick Artists, and scroll to the end.
- No more artists load.
Expected behavior
Scrolling to the end loads the next page for every Library filter, and asks again after a failed fetch.
Desktop (please complete the following information):
- OS: all
- Version: main (73e355cc)
Additional context
Found in a review after #790.
- Lenguaje dominante
- Rust
- Estrellas
- 1.4k
- Forks
- 238
- Merge medio
- 8 h 56 min
- PR fusionados (30 d)
- 208
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 LargeModGames/spotatui
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
LargeModGames/spotatui#878 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
LargeModGames/spotatui#872 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
LargeModGames/spotatui#871 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
LargeModGames/spotatui#832 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
LargeModGames/spotatui#829 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de LargeModGames/spotatui
Issues similares
-
build: Update rust versionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
ibm-granite-community/granite-cli#229 ·
Los mantenedores suelen responder en 1 día
-
setTargetAtTime booked ahead of time starts its curve early (values blow up before start_time)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
orottier/web-audio-api-rs#658 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
aosama/astronomical#1318 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug: `shep kelpie finish all`Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
shep-pm/shep-kelpie#980 ·
Los mantenedores suelen responder en 1 día