[Sessions: create / edit / cancel] Bind create submission and pending state
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start in lib/screens/sessions/create_session_screen.dart, which the issue says comes from the prerequisite #88, and check lib/app.dart for how the screen is hosted. Confirm #88 has landed first, since this issue extends its file. Done means the form sends one insert on two rapid taps, keeps the draft and ID on failure, and passes the saved ID to onCreated, verified by test/screens/sessions/create_session_screen_dp_s05_2_test.dart and flutter analyze.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Connect the create-meeting form to saving and show when a save is running. Keep the draft and its ID after a failure; after success, pass the saved ID to the screen that opens the meeting.
Files
lib/screens/sessions/create_session_screen.dart(extend the prerequisite’s file)- Starting example: lib/app.dart
Steps
- Generate/store a draft UUID once when starting a new form; invoke createSession with valid current draft.
- Set busy before await, ignore repeat tap, preserve draft/ID on failure.
- On success emit onCreated(
record.id); the host navigation integration routes that ID to detail when the detail screen is merged. Do not call create again for navigation.
Example
Two pending taps → one insert; failure retains ID/text; success callback receives created ID.
Check it works
In test/screens/sessions/create_session_screen_dp_s05_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/sessions/create_session_screen_dp_s05_2_test.dart and flutter analyze.
Before starting
- #88 — Supply own enrollments to create form
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 72/100
nightscout/nightguard#368 ·
-
bug direct-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
aaronified/fluenough#526 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improve Sort Pop-Up list...Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Duplicate CFBundleIdentifier in copied _Testing_* overlay frameworks breaks simulator installAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
johnno1962/InjectionNext#175 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
react-native-maps/react-native-maps#6031 ·
I maintainer di solito rispondono entro 1 giorno