[Sessions: create / edit / cancel] Confirm cancellation and refresh host list
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
- 40/100
Hướng nghiên cứu
Start from the new file lib/widgets/cancel_session_dialog.dart and the example in lib/screens/home_screen.dart, where the host list is shown. Confirm the dialog awaits the cancel callback once, disables repeat taps, and refreshes the list. Done when a failure keeps the scheduled row, a success shows Cancelled instead of removing it, and test/widgets/cancel_session_dialog_dp_s10_test.dart passes. The issue lists #91 and #96 as prerequisites, so check whether they are merged first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to build
Ask the host to confirm cancellation of the selected meeting. Refresh the list after success and leave the cancelled meeting visible to people who had joined it.
Files
lib/widgets/cancel_session_dialog.dart(new file)- Starting example: lib/screens/home_screen.dart
Steps
- Render title/course and explicit Keep session/Cancel session buttons.
- Confirm awaits cancelSession callback, disables repeats, then refreshes host list; failure retains original record.
- Success leaves the cancelled row visible for joined members rather than deleting it.
Example
Cancel callback called once; server failure leaves scheduled view; success shows Cancelled status.
Check it works
In test/widgets/cancel_session_dialog_dp_s10_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/widgets/cancel_session_dialog_dp_s10_test.dart and flutter analyze.
Before starting
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ự
-
feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
useagenthq/useagent#188 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
analytics good-first-issue mobile
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bridgelet-org/bridgelet#919 · 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
BenGWeeks/lightning-piggy-mobile#1600 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
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 66/100
Maintainer thường phản hồi trong vòng 1 ngày