Open
Bug 2062005
Opened 3 months ago
Updated 7 days ago
Implement reminder draft controls
Categories
(Calendar :: Calendar Frontend, task)
Calendar
Calendar Frontend
Tracking
(Not tracked)
NEW
People
(Reporter: arschmitz, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Whiteboard: [calendar-ui-create-edit])
Summary:
Implement add, edit, and remove controls for serializable reminder draft rows.
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
- SOW: In Scope: https://docs.google.com/document/d/1ZVLX8VjxaYsSBuywLyFsXf27Q-Pf55g8QxT8G9z0eZ4/edit?tab=t.0#heading=h.bz8l40hwl6cr
Acceptance criteria:
- The Reminders row renders its current-session serializable reminder draft through stable
storeObserverselections. Do not use getters that pull state from the store. - Each reminder draft row is plain data with a stable draft ID, numeric offset, unit, before/after relation, and start/end anchor. It contains no
calIAlarm,calIDuration, calendar object,calIEvent, or DOM value. - The Add reminder control appends one reminder row with a 10-minute default.
- Each row provides accessible number, unit, before/after, start/end, and remove controls.
- A control change computes and dispatches one narrow reminders-section patch using the stable row ID. Field-local parsing, native validity, composition, open dropdown, and focus state remain outside Redux.
- Removing a reminder updates only the draft and restores logical keyboard focus to the next appropriate control.
- A route/session replacement invalidates pending local row interaction so stale add, edit, or remove events cannot patch the newer session.
- Adding rows and opening controls follow the established body overflow behavior; the reminders area scrolls rather than growing or re-positioning the dialog, and it does not call
PositionedDialog. - Bug 2062004 owns default-provider behavior. Bug 2062006 owns edit-alarm loading,
calIAlarmconversion, duplicate cleanup, and Save-time persistence. - Add focused tests for the 10-minute add default, each row control, serializable draft patches, remove and focus behavior, field-local invalid input, stale-session protection, scroll containment, and axe coverage where supported.
Out of scope:
- Calendar-default lookup, edit-alarm loading, alarm-object serialization, duplicate cleanup, Save-time persistence, preference writes, and direct calendar mutation.
| 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
•