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

[Sessions: create / edit / cancel] Bind create submission and pending state

Đang mở
#89 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ó
3/5
Thời gian dự kiến
Nửa 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
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter
Lĩnh vực
mobile

Hướng nghiên cứu

Start in lib/screens/sessions/create_session_screen.dart, which the issue says comes from the prerequisite #88, and check lib/app.dart for how the screen is hosted. Confirm #88 has landed first, since this issue extends its file. Done means the form sends one insert on two rapid taps, keeps the draft and ID on failure, and passes the saved ID to onCreated, verified by test/screens/sessions/create_session_screen_dp_s05_2_test.dart and flutter analyze.

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

Mô tả

sessions

What to build

Connect the create-meeting form to saving and show when a save is running. Keep the draft and its ID after a failure; after success, pass the saved ID to the screen that opens the meeting.

Files

  • lib/screens/sessions/create_session_screen.dart (extend the prerequisite’s file)
  • Starting example: lib/app.dart

Steps

  1. Generate/store a draft UUID once when starting a new form; invoke createSession with valid current draft.
  2. Set busy before await, ignore repeat tap, preserve draft/ID on failure.
  3. On success emit onCreated(record.id); the host navigation integration routes that ID to detail when the detail screen is merged. Do not call create again for navigation.

Example

Two pending taps → one insert; failure retains ID/text; success callback receives created ID.

Check it works

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

Before starting

  • #88 — Supply own enrollments to create form

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.