[Report & Block] Replace unavailable/quarantined session detail
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
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
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
lib/screens/sessions/session_detail_screen.dart(extend the prerequisite’s file)- Starting example: lib/screens/retry_screen.dart
Steps
- When loadSession returns null or a permission/hidden-content refusal, clear the stored meeting before building the screen.
- Show “This session is unavailable.” with Refresh and Back actions. Do not keep its old title, host or location visible.
- 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DevDogsUGA/DogPack
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
DevDogsUGA/DogPack#106 ·
Tutte le issue di DevDogsUGA/DogPack
Issue simili
-
Missing info Missing repro Platform: iOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
software-mansion/react-native-reanimated#10908 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
feedback
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
useagenthq/useagent#188 ·
I maintainer di solito rispondono entro 2 giorni
-
analytics good-first-issue mobile
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
bridgelet-org/bridgelet#919 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
BenGWeeks/lightning-piggy-mobile#1600 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno