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

[Discover + Join/Leave] Bind join and host-manage UI states

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

Direzione di ricerca

Start from the existing layout in lib/screens/home_screen.dart, then create the new lib/screens/sessions/session_detail_screen.dart and choose the Manage, Leave, or Join action from the isHost and isJoined values. Read the onJoin and joinErrorMessage/recoveryFor contracts in the blocking issues (#105, #107, #108) before wiring the pending state. Done when test/screens/sessions/session_detail_screen_dp_d07_test.dart covers the host, pending-tap, and session_full cases, and flutter analyze passes.

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

Descrizione

discover

What to build

Show the right action on a study meeting: Manage for its host, Leave for a joined student, and Join otherwise. While joining, prevent repeated taps and show the server’s result before changing the visible membership state.

Files

Steps

  1. Use the supplied isHost/isJoined values to show Manage for the host, Leave for another joined student, and Join otherwise.
  2. When Join is tapped, disable repeated taps, wait for onJoin, then refresh the meeting and seat count after success.
  3. If joining fails, use joinErrorMessage and recoveryFor. A last-seat failure should show “This session is full.” and refresh the details; do not mark the student joined.

Example

Host never seesJoin; pending tap disabled; session_full leaves user unjoined and refreshes seats.

Check it works

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

Before starting

  • #105 — Refresh Discover while keeping previous data
  • #107 — Map enrollment/host/onboarding join errors
  • #32 — Leave with an own-membership delete
  • #108 — Read authorized session detail
  • #70 — Bind submission completion to the auth gate

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.