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

Onboarding step 3: course chips using the course-code normalizer

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
dart, flutter
Ambito
frontend

Direzione di ricerca

Read lib/onboarding/course_code.dart to understand the normalizer, then implement the widget in lib/screens/onboarding/courses_step.dart and cover the acceptance cases in test/onboarding_courses_step_test.dart. The issue is blocked by #7, so start after it merges; run flutter test test/onboarding_courses_step_test.dart and check that validation, duplicates, the 12-course limit, deletion, and the disabled Done state behave as specified.

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

Descrizione

onboarding

What to build

The third step: a text field where the member types a course code and presses add; the input goes through normalizeCourseCode and becomes a deletable chip. Invalid input shows an error and adds nothing; duplicates are ignored. At most 12 chips (the database limit per term). Done is disabled with no chips. Self-contained widget taking initialCourses, onSubmit(List<String>) and onBack.

Files

  • new lib/screens/onboarding/courses_step.dart
  • new test/onboarding_courses_step_test.dart

Acceptance

  • csci1301 becomes the chip CSCI 1301; nope shows an error and no chip.
  • A duplicate does not add a second chip; a 13th course is refused with a message.
  • Deleting a chip works; Done is disabled with zero chips.
  • Uses the normalizer from lib/onboarding/course_code.dart; it does not reimplement it.

How to check

flutter test test/onboarding_courses_step_test.dart.

Related

Before you start

Setup is in first contribution. Run flutter analyze and flutter test before you open the PR; both must pass. Keep the change to the files listed. Comment on this issue to claim it.

Blocked by

  • #7

Do not start until these have merged; the Blocked-by relation on this issue lists them too.

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.