[Onboarding + Enrollments] Add a normalized course chip
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to build
Let a student add a course to the course-list step. Convert common typed spellings to the standard course code and show each accepted course as a removable chip.
Files
lib/screens/onboarding/courses_step.dart(new file)- Starting example: lib/screens/onboarding_screen.dart
Code to add or extend:CoursesStep({initialCourses,onSubmit,onBack}) and add-course handler.
Steps
- Hold a copy of initialCourses in local List and a code-input controller.
- On Add, call normalizeCourseCode; null displays Enter a course code such as CSCI 1301. and adds nothing.
- On valid result append a deletable InputChip and clear input; limits are next slice.
Example
csci1301 → one CSCI 1301 chip; nope → error, unchanged chips.
Check it works
In test/screens/onboarding/courses_step_11_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/onboarding/courses_step_11_test.dart and flutter analyze.
Before starting
- #51 — Preserve suffixes and reject non-ASCII code input
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Ngôn ngữ chính
- PLpgSQL
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DevDogsUGA/DogPack
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
DevDogsUGA/DogPack#106 ·
Tất cả issue của DevDogsUGA/DogPack
Issue tương tự
-
status:approved type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
egdev6/quorb#109 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
reproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#55369 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MatAtBread/matbot#95 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Pending Review Type: Feature Request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
OpenRefine/OpenRefine#8019 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page génériqueĐang mởP1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
SocialGouv/code-du-travail-numerique#7561 ·
Maintainer thường phản hồi trong vòng 1 ngày