Open Bug 2062004 Opened 3 months ago Updated 7 days ago

Implement Reminders row and default display

Categories

(Calendar :: Calendar Frontend, task)

task

Tracking

(Not tracked)

People

(Reporter: arschmitz, Unassigned)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [calendar-ui-create-edit])

Summary:

Implement the main-dialog Reminders row and its create-mode default display.

Links:

Acceptance criteria:

  • For a create session with no source reminder values, resolve the calendar’s default reminder settings and fall back to 10 minutes before the event when no setting overrides it.
  • The default provider remains outside Redux and returns plain reminder data. It does not put calIDuration, calIAlarm, calendar objects, preferences, or DOM values in Redux.
  • The resolved default initializes only the reminders portion of the current draft through a narrow section patch. It does not overwrite reminder values mapped from an edit source.
  • The Reminders row renders the current session’s serializable reminder view model through stable storeObserver selections. Do not use getters that pull state from the store.
  • Default display changes draft state only. It does not mutate a saved event, write a preference, create an alarm object, or call Save.
  • A route/session replacement rejects an obsolete default-provider result so it cannot initialize a newer session’s reminders.
  • Initial default resolution and row rendering are included in the dialog readiness gate before PositionedDialog.show(). The row does not position or resize the dialog; subsequent interactive expansion belongs to the controls story.
  • Add/remove controls and editable reminder fields are not implemented here.
  • Add focused tests for calendar-default resolution, 10-minute fallback, plain serializable draft initialization, edit-source non-overwrite, stale-session protection, readiness before show, default-display-only behavior, and axe coverage where supported.

Out of scope:

  • Adding, editing, or removing reminder rows; reminder control validation; alarm-object conversion; Save-time persistence; preference writes; and direct calendar mutation. Those behaviors belong to the reminder-controls and persistence stories.
Blocks: 2062005
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.