Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Onboarding + Enrollments] Store onboarding step values in a flow model

Đang mở
#12 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter, supabase
Lĩnh vực
mobile

Hướng nghiên cứu

Read lib/screens/onboarding_screen.dart and the setup guide at docs/getting-started/first-contribution.md; wait until issues #9, #10, and #11 have merged before starting. Implement the flow in lib/onboarding/onboarding_flow.dart and cover it in test/onboarding_flow_test.dart, checking retained values, system back, step indicators, submit outcomes, and the privacy link. Done means the listed acceptance checks pass with flutter test and flutter analyze.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

onboarding

What to build

Keep the student’s name, class year, major and course list while they move between setup steps. Add one shared object for those values and the current step so going back does not erase earlier work.

Files

Steps

  1. Add OnboardingFlow with name, classYear, major, courses and step fields. Start step at 0 and the answers empty.
  2. Add setName(String), setClassYear(String?), setMajor(String) and setCourses(List<String>), plus next() and back(). Each setter stores the value and calls notifyListeners(); store a copy of the course list. Keep step between 0 and 2.
  3. Changing steps must keep all answers. This object stores form answers only; saving them to the server comes later.

Example

Set the name to “Ada”, call next(), then back(). step returns to 0 and name is still “Ada”.

Check it works

In test/onboarding/onboarding_flow_12_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/onboarding/onboarding_flow_12_test.dart and flutter analyze.

Before starting

  • #53 — Submit valid name/year from the step
  • #54 — Validate and submit the major field
  • #56 — Delete a course chip and set Done state

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DevDogsUGA/DogPack

Tất cả issue của DevDogsUGA/DogPack

Issue tương tự

Thêm issue về Mobile Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.