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

[Report & Block] Replace unavailable/quarantined session detail

Aperta
#121 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
Ambito
mobile

Direzione di ricerca

Start in lib/screens/sessions/session_detail_screen.dart, which this issue extends from #118, and look at how loadSession's null result and permission or moderation refusals are handled before the screen builds. The starting example is lib/screens/retry_screen.dart, which shows the Refresh and Back pattern. Done means a previously visible meeting that becomes unavailable shows only the unavailable message, passes test/screens/sessions/session_detail_screen_dp_r07_test.dart, and leaves flutter analyze clean. Wait for #118 to land before starting.

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

Descrizione

moderation

What to build

Replace meeting details when a previously visible meeting becomes unavailable. Clear the old title, host and location so blocked or hidden content cannot remain on screen from an earlier load.

Files

Steps

  1. When loadSession returns null or a permission/hidden-content refusal, clear the stored meeting before building the screen.
  2. Show “This session is unavailable.” with Refresh and Back actions. Do not keep its old title, host or location visible.
  3. Give the same unavailable message whether the meeting is missing, blocked or hidden by moderation. Test a previously visible meeting that becomes unavailable.

Example

Previously visible test example becomes hidden → old content no longer rendered.

Check it works

In test/screens/sessions/session_detail_screen_dp_r07_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_r07_test.dart and flutter analyze.

Before starting

  • #118 — Confirm block and invalidate visibility

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.