[Onboarding + Enrollments] Render the display-name onboarding field
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 88/100
Hướng nghiên cứu
Read the setup guide at docs/getting-started/first-contribution.md, then implement the widget in lib/screens/onboarding/name_year_step.dart and its tests in test/onboarding_name_year_step_test.dart. Check whether #8 has merged before choosing validators. Run flutter test test/onboarding_name_year_step_test.dart; done means validation, focus movement, screen fit, and both onSubmit cases meet the acceptance criteria.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to build
Add the display-name field to the first setup step. Start with any previously entered name and show the completed name checker’s message beside invalid input.
Files
lib/screens/onboarding/name_year_step.dart(new file)- Starting example: lib/screens/onboarding_screen.dart
Code to add or extend:NameYearStep({initialName, initialYear, onSubmit}) first name-field slice.
Steps
- Create StatefulWidget holding a TextEditingController initialized from initialName and dispose it.
- Render TextFormField labelled Display name; use completed validateDisplayName, showing errors after interaction, not first paint.
- Preserve callbacks as inputs to the screen; no database/provider/router writes.
Example
Initial Ada shown; touched whitespace shows error; Ada stays valid. Next/year behavior is added by successors.
Check it works
In test/screens/onboarding/name_year_step_9_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/onboarding/name_year_step_9_test.dart and flutter analyze.
Before starting
- #8 — Display-name validator only
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ự
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vicharanashala/ajrasakha#1439 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#1932 ·
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 82/100
anomalyco/opencode#55676 · 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 70/100
codex-team/editor.js#3037 ·
-
No Code Attached Yet
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
joomla/joomla-cms#48626 ·
Maintainer thường phản hồi trong vòng 1 ngày