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

[Discover + Join/Leave] Map enrollment/host/onboarding join errors

Aperta
#107 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter, supabase
Ambito
mobile

Direzione di ricerca

Start in lib/sessions/join_errors.dart, which #106 must create or extend first, and look at joinErrorMessage and the new recoveryFor(String reason); the enrollment reference is supabase/schemas/dogpack/tables/session_members.sql. Add the JoinRecovery enum and the not_enrolled, host_cannot_join and onboarding_required mappings with their messages, then have the consumer recheck the account only for onboarding. Done when flutter test test/sessions/join_errors_dp_d04_3_test.dart and flutter analyze pass.

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

Descrizione

discover

What to build

Explain the remaining join refusals and offer the correct next action. A missing course, a host trying to join their own meeting and incomplete setup need different recovery behavior.

Files

Steps

  1. Declare enum recovery none/profile/manage/onboarding/refresh. Map not_enrolled→profile,host_cannot_join→manage,onboarding_required→onboarding, the earlier full/closed/unavailable→refresh.
  2. In joinErrorMessage, use “Add this course to your profile before joining.” for not_enrolled, “You host this session; use Manage instead.” for host_cannot_join, and “Finish setup before joining.” for onboarding_required.
  3. Consumer calls account recheck only for onboarding, rather than any PT403.

Example

not_enrolled offers profile; host_cannot_join offers Manage; onboarding_required re-enters account check.

Check it works

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

Before starting

  • #106 — Map session full/closed/unavailable join errors

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 Mobile Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.