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

[Sessions: create / edit / cancel] Render host-counted capacity control

Aperta
#85 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Mezza giornata
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter
Ambito
frontend

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

sessions

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

Steps

  1. Use a number field initialized from draft.capacity and validate with completed capacity validator.
  2. Show Capacity includes you as the host.; emit only a parsed valid integer in draft update.
  3. 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

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 Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.