1.6 KiB
1.6 KiB
Calendar Reminder Migration Checklist
Scope
本清单用于跟踪提醒模块迁移后旧代码清理,字段固定为:文件路径、符号名、处理决策、责任人、状态。
Items
| File | Symbol | Decision | Owner | Status | Notes |
|---|---|---|---|---|---|
apps/lib/features/calendar/reminders/models/reminder_action.dart |
ReminderAction.cancel |
delete | agent | done | 枚举项删除,保留字符串兼容映射到 archive |
apps/lib/features/calendar/reminders/models/reminder_action.dart |
ReminderAction.timeout30s |
delete | agent | done | 枚举项删除,保留字符串兼容映射到 snooze10m |
apps/lib/features/calendar/reminders/models/reminder_action.dart |
ReminderAction.autoArchive |
delete | agent | done | 枚举项删除,保留字符串兼容映射到 archive |
apps/lib/features/calendar/reminders/models/reminder_action.dart |
ReminderAction.normalized |
delete | agent | done | canonical 枚举后不再需要 |
apps/lib/core/notifications/local_notification_service.dart |
_actionSnooze = 'snooze_10m' |
replace | agent | done | 统一为 _actionSnooze = 'snooze10m' |
apps/lib/core/notifications/local_notification_service.dart |
_iosCategoryId = 'calendar_reminder_actions_v1' |
replace | agent | done | 已升级为 calendar_reminder_v2 |
Verification Commands
rg "calendar_reminder_actions_v1|ReminderAction\.cancel|_oldReminderEntry|_legacyReminderRoute" apps/lib apps/test
rg "snooze_10m" apps/lib apps/test
Expected:
- 第一条:no matches
- 第二条:仅允许出现在兼容映射分支(若存在)