[Report & Block] Bind report form submission outcomes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start in lib/widgets/report_form.dart, which the prerequisite issue #113 must have built first, and add a waiting flag around the awaited send call that disables the submit control. Use the reportErrorMessage wording referenced in supabase/functions/_shared/moderation/messages.ts for the error path, keeping the selected reason and description intact. Done when test/widgets/report_form_dp_r02_2_test.dart passes with flutter test and flutter analyze is clean.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Connect the report form to sending, waiting and result messages. Prevent repeated submissions while waiting and keep the selected reason and explanation after a failure.
Files
lib/widgets/report_form.dart(extend the prerequisite’s file)- Starting example: supabase/functions/_shared/moderation/messages.ts
Steps
- Set a waiting flag before awaiting send callback and disable repeat submit.
- Fulfilled receipt shows Report received. and closes/allows closing; error uses reportErrorMessage and preserves reason/description.
- Clear pending only when the screen is still open; do not optimistically claim moderation success.
Example
One pending tap → one call;502retains text;201acknowledges receipt.
Check it works
In test/widgets/report_form_dp_r02_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/widgets/report_form_dp_r02_2_test.dart and flutter analyze.
Before starting
- #113 — Render report reason and description fields
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
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
callstackincubator/simlock#639 ·
I maintainer di solito rispondono entro 1 giorno
-
FeedbackComposerViewModel injects the full UserRepository for getUserModel onlyForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertajules
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
open-learning-exchange/myplanet#18193 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
enhancement triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fluttercommunity/plus_plugins#4004 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
auth0/Auth0.Android#1095 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug core p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
RunanywhereAI/runanywhere-sdks#1108 ·
I maintainer di solito rispondono entro 1 giorno