[Sessions: create / edit / cancel] Render host-counted capacity control
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start in lib/screens/sessions/session_form.dart, which the prerequisite issue #84 is expected to create, and find where draft.capacity is read. Add a number field with the host-inclusive help text, and validate with the capacity validator the issue calls 'completed', which is not named in the payload. Run test/screens/sessions/session_form_dp_s03_3_test.dart and flutter analyze. Done means 4 is accepted and restored, while 1, 51 and non-integers show an error without being clamped.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Add the seat-capacity field to the meeting form. Explain that the host occupies one of those seats and reject invalid values rather than silently changing them.
Files
lib/screens/sessions/session_form.dart(extend the prerequisite’s file)- Starting example: lib/screens/home_screen.dart
Steps
- Use a number field initialized from
draft.capacityand validate with completed capacity validator. - Show Capacity includes you as the host.; emit only a parsed valid integer in draft update.
- Keep invalid input visible with error, not clamped silently.
Example
4 means host+3others;1/51/noninteger invalid; initial 4restored.
Check it works
In test/screens/sessions/session_form_dp_s03_3_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/sessions/session_form_dp_s03_3_test.dart and flutter analyze.
Before starting
- #84 — Render session start/end controls
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
-
[Website] Catalog: unknown sort value and mixed-case technology in the URL break the filtersForse già presa @barbierajput378-pixel l’ha presa oggi. Apertaarea/website framework/jekyll help wanted language/css language/javascript language/markdown
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
meshery/meshery.io#3088 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AndreyBegma/glass-ui#160 ·
I maintainer di solito rispondono entro 1 giorno
-
🐛 Bug Report: Console `/join` shows an endless spinner for invited users who are not signed inApertaproduct / auth product / console product / databases product / messaging product / self-hosted product / sites product / storage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue Hacktoberfest
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
Adnan9-63/life-tracker#46 ·
I maintainer di solito rispondono entro 2 giorni
-
Good First Issue Module: Analytics P2 Team S Type: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
google/site-kit-wp#13881 ·
I maintainer di solito rispondono entro 3 giorni