Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

fix(gui): followed artists do not page, and load more stops after a failure

Abierto
#792 1 comentario 0 reacciones 0 asignados Ver en GitHub

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
Área
backend, frontend

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

bug

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 in src/gui/protocol.rs has no followed_artists_has_more, and pageTarget in gui/src/LibraryPanel.tsx is null for the Artists filter. Fix: add ListTarget::SavedArtists that calls get_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 (askedFor in LibraryPanel.tsx, wantsNextPage in gui/src/libraryModel.ts) and the show episode list (episodePager in gui/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

  1. Follow more artists than one page holds.
  2. Open Your Library, pick Artists, and scroll to the end.
  3. 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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LargeModGames/spotatui

Todos los issues de LargeModGames/spotatui

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.