Skip to content

feat(calendar): add SOGoCalendarAlarmsDisabled preference and skip past alarm popups#392

Open
tobias-weiss-ai-xr wants to merge 1 commit into
Alinto:masterfrom
tobias-weiss-ai-xr:fix-disable-calendar-alarm-popups
Open

feat(calendar): add SOGoCalendarAlarmsDisabled preference and skip past alarm popups#392
tobias-weiss-ai-xr wants to merge 1 commit into
Alinto:masterfrom
tobias-weiss-ai-xr:fix-disable-calendar-alarm-popups

Conversation

@tobias-weiss-ai-xr

Copy link
Copy Markdown

Problem

Calendar alarm popups (md-toasts) with hideDelay: 0 persist indefinitely. When a user returns after hours away, all overdue alarms are queued and fire one after another — each blocking the UI until dismissed. On small screens, the toast overlaps the event entry dialog's save button, making it impossible to save appointments for minutes at a time.

Changes

1. Past alarm filtering (getAlarms)

Alarms whose trigger time is already in the past are now silently dismissed on the server (?resetAlarm=yes) without showing a popup. Only future alarms show a toast. This prevents the cascading backlog of overdue popups.

2. SOGoCalendarAlarmsDisabled preference

New user default to disable calendar alarm popups entirely. Set SOGoCalendarAlarmsDisabled = YES in user defaults to suppress all alarm polling and toast display.

Affected file

UI/WebServerResources/js/Preferences/Preferences.service.js

…st alarm popups

Two improvements for calendar alarm popups:

1. SOGoCalendarAlarmsDisabled: New user default preference to disable
   calendar alarm popups entirely. Set to YES to suppress all alarm toasts.

2. Past alarm filtering: Alarms whose trigger time is already in the past
   are now silently dismissed on the server without showing a popup. This
   prevents the cascading backlog of overdue popups when a user returns
   after a prolonged absence.

Closes: Calendar alarm popup UX issue where overdue alarms would queue up
and bombard the user with non-dismissable toasts.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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.

1 participant