fix(gui): followed artists do not page, and load more stops after a failure
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
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
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.
- Lingua principale
- Rust
- Stelle
- 1.4k
- Fork
- 238
- Merge medio
- 9h 21m
- PR unite (30g)
- 193
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LargeModGames/spotatui
-
enhancement good first issue javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
LargeModGames/spotatui#841 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
LargeModGames/spotatui#832 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LargeModGames/spotatui#829 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LargeModGames/spotatui#827 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LargeModGames/spotatui#825 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LargeModGames/spotatui
Issue simili
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
storytold/photocraft#6759 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
area:logging documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hugowis/open-fpv-sim#48 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
IngvarConsulting/unica#1537 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100