Open
Bug 2062006
Opened 3 months ago
Updated 7 days ago
Persist reminders through calendar alarm APIs
Categories
(Calendar :: Calendar Frontend, task)
Calendar
Calendar Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: arschmitz, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: [calendar-ui-create-edit])
Summary:
Map edit-mode calendar alarms into the reminder draft and serialize the final draft through the existing Save controllers.
Links:
- Zeplin main create/edit reminders area: https://app.zeplin.io/project/66dd0f2b2fe8f1b63cda36f1/screen/6a0f2f285393a283202254bc
- Interaction guide: Create > Reminders: https://docs.google.com/document/d/15OpMthOHmBGyPpDBNRW8vp6CxeoitBp8n7Fti3LD10/edit?tab=t.why4m6lqup0#heading=h.kihpv2h0ac1x
Acceptance criteria:
- The source-to-draft mapper converts edit-mode calendar alarms into the current session’s plain reminder draft rows. Raw
calIAlarm,calIDuration,calIEvent, and calendar objects remain outside Redux. - The reminder draft and baseline contain only stable row IDs, numeric offsets, units, before/after relation, and start/end anchor values.
- A route/session replacement rejects obsolete alarm-mapping output and prevents it from initializing a newer session’s reminders.
- Initial edit-alarm mapping and row rendering complete before the dialog readiness gate permits
PositionedDialog.show(), so initial reminder content cannot grow the dialog after positioning. - The existing create and edit Save controllers read the latest serializable reminder draft and create
calIAlarmobjects only at the calendar transaction boundary. - Save normalizes reminder rows by their persisted alarm semantics and removes duplicates from the saved event while preserving the other transaction, notification, recurrence, and undo/redo behavior.
- A pending Save is associated with the current session. Duplicate or stale Save work cannot serialize reminders into another event.
- Cancel or close without successful Save leaves existing alarms unchanged. On failure, retain the current reminder draft for retry.
- Bug 2062004 owns calendar-default display, and Bug 2062005 owns reminder controls and field-local validation.
- Add focused tests for edit-alarm mapping, plain serializable source/draft state, stale-session rejection, readiness before show, create/edit Save conversion, duplicate cleanup, failure/cancel/no-change behavior, and axe coverage where supported.
Out of scope:
- Reminder default resolution, reminder controls and visual layout, preference writes, generic alarm abstractions, raw alarm objects in Redux, and direct calendar mutation outside the existing Save transaction.
| Reporter | ||
Updated•1 month ago
|
Type: enhancement → task
| Reporter | ||
Updated•7 days ago
|
Blocks: tb-cal-edit-event-dialog
You need to log in
before you can comment on or make changes to this bug.
Description
•