Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#792 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust, typescript
Ambito
backend, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
1.4k
Fork
238
Merge medio
9h 21m
PR unite (30g)
193

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LargeModGames/spotatui

Tutte le issue di LargeModGames/spotatui

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.