[Sessions: create / edit / cancel] Confirm cancellation and refresh host list
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- PLpgSQL
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DevDogsUGA/DogPack 的其他 Issue
-
polish
难度 2/5 1-3 小时 新手友好度 72/100
DevDogsUGA/DogPack#131 ·
-
polish
难度 2/5 1-3 小时 新手友好度 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
难度 2/5 1-3 小时 新手友好度 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
难度 2/5 1-3 小时 新手友好度 85/100
DevDogsUGA/DogPack#113 ·
-
discover
难度 2/5 1-3 小时 新手友好度 74/100
DevDogsUGA/DogPack#106 ·
查看 DevDogsUGA/DogPack 的全部 Issue
相似的 Issue
-
Types: FlashListProps imports ViewabilityConfig from react-native, removed in RN 0.87+可能已有人在做 @efegokdemir 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Shopify/flash-list#2540 ·
-
Sort the project chooser by name可能已有人在做 @codewithzubair07 今天认领。 未关闭enhancement good first issue
难度 2/5 1-3 小时 新手友好度 75/100
scarif-labs/horus#59 · 2 条评论 ·
维护者通常 1 天内回复
-
[Accessibility] Missing accessibility labels on native dismiss and close buttons in Notifications and Polls可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
jitsi/jitsi-meet#18021 ·
维护者通常 1 天内回复
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 83/100
FossifyOrg/Messages#929 ·
维护者通常 1 天内回复
-
[FR] 缓存键放置在外面未关闭enhancement
难度 2/5 1-3 小时 新手友好度 72/100
bggRGjQaUbCoE/PiliPlus#3310 ·
维护者通常 1 天内回复