[Discover + Join/Leave] Refresh Discover while keeping previous data
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start in lib/screens/discover_screen.dart, which depends on the Discover feed from #104 being in place, and use lib/screens/home_screen.dart as the reference for the existing loader and refresh pattern. Wrap the always-scrollable list in a RefreshIndicator, keep the current cards while the refresh is pending, and on failure keep them and show a short error. Done when flutter test test/screens/discover_screen_dp_d03_2_test.dart passes for the one-card-plus-failed-refresh case and flutter analyze is clean.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Add pull-to-refresh to Discover without clearing the current list while loading. On failure, keep the previous meetings visible and show a retry message.
Files
lib/screens/discover_screen.dart(extend the prerequisite’s file)- Starting example: lib/screens/home_screen.dart
Steps
- Wrap a scrollable always-scrollable list in RefreshIndicator and reuse loader.
- On refresh keep previous cards while pending; replace on success.
- On failure retain previous cards plus short refresh error; finally stop indicator.
Example
Existing one card+failed refresh still shows one card and error; no realtime subscription.
Check it works
In test/screens/discover_screen_dp_d03_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/discover_screen_dp_d03_2_test.dart and flutter analyze.
Before starting
- #104 — Render the Discover feed and states
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Lingua principale
- PLpgSQL
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 DevDogsUGA/DogPack
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
DevDogsUGA/DogPack#106 ·
Tutte le issue di DevDogsUGA/DogPack
Issue simili
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)Forse già presa @Jxxunnn l’ha presa oggi. ApertaBrowser Waiting for: Product Owner
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
getsentry/sentry-javascript#25497 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
qew21/Genshin-Subtitles#45 ·
-
bug status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
facebook/docusaurus#12739 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
obsidianmd/pele#25 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno