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

[Discover + Join/Leave] Refresh Discover while keeping previous data

Aperta
#105 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter
Ambito
frontend, mobile

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

discover

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

Steps

  1. Wrap a scrollable always-scrollable list in RefreshIndicator and reuse loader.
  2. On refresh keep previous cards while pending; replace on success.
  3. 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

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 DevDogsUGA/DogPack

Tutte le issue di DevDogsUGA/DogPack

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.