Notification profile presets don't clear an active "Pause Notifications" snooze #48

Closed
opened 2026-09-12 01:51:13 -04:00 by jared · 0 comments
Owner

Severity: medium · Type: bug · Confidence: high

Location: src/app/features/settings/notifications/Notifications.tsx:14-51, src/app/pages/client/ClientNonUIFeatures.tsx:255-260,545-550, src/app/state/notificationSnooze.ts

Problem

The one-tap "Work 💼" preset advertises "All notifications and sounds on" and patches showNotifications/isNotificationSounds/sound ids/quietHoursEnabled, but the notification gate (quietActive in ClientNonUIFeatures) also checks isSnoozeActive(snoozeUntil), an entirely separate persisted atom (notificationSnoozeUntilAtom) that none of the three presets touch. If the user had previously hit "Pause Notifications → Until I resume" (or any timed snooze that hasn't lapsed), applying "Work" does not resume notifications — they stay silently suppressed even though the preset claims otherwise and the UI shows the preset applied successfully.

How to trigger

Settings → Notifications → Pause Notifications → "Until I resume". Then Quick Presets → "Work". Notifications remain paused (Pause Notifications tile still shows "Paused until you resume") despite the preset's description.

Suggested fix

Have the "Work"/"Gaming" presets also reset notificationSnoozeUntilAtom to 0 (and/or surface the still-active-pause state next to the presets so the mismatch isn't silent).


Filed from the September 2026 client audit (branch lotus @ 4bea4895).

**Severity:** medium · **Type:** bug · **Confidence:** high **Location:** `src/app/features/settings/notifications/Notifications.tsx:14-51`, `src/app/pages/client/ClientNonUIFeatures.tsx:255-260,545-550`, `src/app/state/notificationSnooze.ts` ### Problem The one-tap "Work 💼" preset advertises "All notifications and sounds on" and patches `showNotifications`/`isNotificationSounds`/sound ids/`quietHoursEnabled`, but the notification gate (`quietActive` in `ClientNonUIFeatures`) also checks `isSnoozeActive(snoozeUntil)`, an entirely separate persisted atom (`notificationSnoozeUntilAtom`) that none of the three presets touch. If the user had previously hit "Pause Notifications → Until I resume" (or any timed snooze that hasn't lapsed), applying "Work" does not resume notifications — they stay silently suppressed even though the preset claims otherwise and the UI shows the preset applied successfully. ### How to trigger Settings → Notifications → Pause Notifications → "Until I resume". Then Quick Presets → "Work". Notifications remain paused (Pause Notifications tile still shows "Paused until you resume") despite the preset's description. ### Suggested fix Have the "Work"/"Gaming" presets also reset `notificationSnoozeUntilAtom` to `0` (and/or surface the still-active-pause state next to the presets so the mismatch isn't silent). --- _Filed from the September 2026 client audit (branch `lotus` @ 4bea4895)._
jared added this to the Audit 2026-09 · Medium & Low milestone 2026-09-12 01:51:13 -04:00
jared added the bugpriority: mediumarea: notifications labels 2026-09-12 01:51:13 -04:00
jared self-assigned this 2026-09-12 01:51:13 -04:00
jared closed this issue 2026-09-12 19:46:18 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
2026-11-14
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#48