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 enrolled-course and session-text fields

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart
Ambito
mobile

Direzione di ricerca

Use lib/screens/home_screen.dart as the starting example, then create lib/screens/sessions/session_form.dart with a widget that takes the draft and enrolled-course list as inputs and sends changes through callbacks. Check the test test/screens/sessions/session_form_dp_s03_test.dart, run it with flutter test, and run flutter analyze. Done means the course dropdown offers only enrolled codes and empty or invalid title and location show inline errors. The issue depends on #82, and the draft and enrolled-list shapes are not defined in the payload.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

sessions

What to build

Build the course, title, description and location fields for a study meeting. Students should choose only from their saved courses and see text-field errors before submitting.

Files

Steps

  1. Use supplied draft/enrolled list as inputs; render dropdown of enrolled standard course codes only.
  2. Add title,description,location fields bound to draft copyWith/onChanged, using completed validators.
  3. Keep fields scrollable and callbacks supplied; no repository/provider calls in this form slice.

Example

Dropdown cannot choose a course absent from enrolled list; title/location invalid produce inline errors.

Check it works

In test/screens/sessions/session_form_dp_s03_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_test.dart and flutter analyze.

Before starting

  • #82 — Validate session time and capacity

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.