Skip to content

feat: Add the reminder offset dialog to the event form - #272

Open
NicolasBourdin88 wants to merge 1 commit into
button-add-reminderfrom
reminder-dialog
Open

NicolasBourdin88 wants to merge 1 commit into
button-add-reminderfrom
reminder-dialog

Conversation

@NicolasBourdin88

Copy link
Copy Markdown
Contributor

No description provided.

@NicolasBourdin88 NicolasBourdin88 self-assigned this Oct 23, 2026
Copilot AI balanced review requested due to automatic review settings October 23, 2026 13:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The dialog needs scrolling so lower reminder choices remain reachable in height-constrained windows.

1 open issue
What changed in this PR

Adds a reminder-offset dialog to the shared event form. Reminder persistence and the custom editor remain deferred.

Changes:

  • Opens a dialog from the Add Reminder button with preset offsets, None, and Custom.
  • Adds localized None and Custom labels across 13 resource files.
File Description
CalendarComponents/​Resources/​src/​main/​res/​values/​strings.xml Adds default English labels.
CalendarComponents/​Resources/​src/​main/​res/​values-sv/​strings.xml Adds Swedish labels.
CalendarComponents/​Resources/​src/​main/​res/​values-pt/​strings.xml Adds Portuguese labels.
CalendarComponents/​Resources/​src/​main/​res/​values-pl/​strings.xml Adds Polish labels.
CalendarComponents/​Resources/​src/​main/​res/​values-nl/​strings.xml Adds Dutch labels.
CalendarComponents/​Resources/​src/​main/​res/​values-nb/​strings.xml Adds Norwegian Bokmål labels.
CalendarComponents/​Resources/​src/​main/​res/​values-it/​strings.xml Adds Italian labels.
CalendarComponents/​Resources/​src/​main/​res/​values-fr/​strings.xml Adds French labels.
CalendarComponents/​Resources/​src/​main/​res/​values-fi/​strings.xml Adds Finnish labels.
CalendarComponents/​Resources/​src/​main/​res/​values-es/​strings.xml Adds Spanish labels.
CalendarComponents/​Resources/​src/​main/​res/​values-el/​strings.xml Adds Greek labels.
CalendarComponents/​Resources/​src/​main/​res/​values-de/​strings.xml Adds German labels.
CalendarComponents/​Resources/​src/​main/​res/​values-da/​strings.xml Adds Danish labels.
CalendarComponents/​EventDetail/​src/​main/​kotlin/​com/​infomaniak/​calendar/​components/​eventdetail/​form/​EventForm.kt Manages dialog visibility from the reminder button.
CalendarComponents/​EventDetail/​src/​main/​kotlin/​com/​infomaniak/​calendar/​components/​eventdetail/​form/​component/​ReminderOffsetDialog.kt Introduces preset choices and selection callbacks.

Review effort: Balanced

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants