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

[Discover + Join/Leave] Handle onboarding-required discovery access

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, postgresql

Direzione di ricerca

Start with the SQL function in supabase/schemas/private/functions/session_visible.sql to see how onboarding_required is raised, then find AuthController.retry and the account check it runs. The new file lib/screens/discover_screen.dart should map a PostgrestException with onboarding_required to that recheck, while an empty list stays an empty state. Done means test/screens/discover_screen_dp_d02_3_test.dart passes, flutter analyze is clean, and #102 is resolved first.

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

Descrizione

discover

What to build

Handle a discovery request that the server refuses because setup is incomplete. Run the existing account check again so the student returns to the correct screen.

Files

Steps

  1. When loader throws PostgrestException with message onboarding_required/codePT403, call AuthController.retry and let account check choose the screen.
  2. Other403/empty list stays its existing error/empty distinction; do not treat any empty result as failed onboarding.
  3. Show generic retry for unavailable network/unknown exceptions.

Example

onboarding_required → account recheck;[] → empty list, not an auth reset.

Check it works

In test/screens/discover_screen_dp_d02_3_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/discover_screen_dp_d02_3_test.dart and flutter analyze.

Before starting

  • #102 — Resolve host names and map session cards

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 Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.