Skip to content

Push notifications: admin UI polish + test reminder delivery fix#106

Merged
luflow merged 2 commits into
mainfrom
claude/push-notifications-ui-improvements-54d1cb
Jul 19, 2026
Merged

Push notifications: admin UI polish + test reminder delivery fix#106
luflow merged 2 commits into
mainfrom
claude/push-notifications-ui-improvements-54d1cb

Conversation

@luflow

@luflow luflow commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

UI (admin settings, push notifications section)

  • The registered devices line is plain text now instead of the success-green highlight
  • Send test notification is a secondary button (was tertiary, barely visible)

Fix: test notification never arrived for admins who already responded

The Notifier dismisses appointment_reminder notifications via AlreadyProcessedException once the user has answered the appointment with yes or no. Since the test button sends a regular reminder for the next open appointment, the test notification was silently swallowed whenever the admin had already responded: the button reported success, but nothing showed up in the bell and no push reached the devices (verified against the push relay delivery log — only type: background delete-pushes went out).

Test reminders now carry a test subject parameter that skips the already-responded dismissal, so the button actually verifies the delivery chain end-to-end.

Mobile compatibility: the subject stays appointment_reminder; only an additional subject parameter is added. Older mobile clients are unaffected, no capability flag needed.

Test plan

  • composer test:unit — 155 tests green, incl. new NotifierTest covering dismissal, maybe-responder passthrough, and the test-reminder bypass
  • Manual: press Send test notification as an admin who already answered the next appointment → notification appears in bell + on device

🤖 Generated with Claude Code

luflow added 2 commits July 19, 2026 17:06
The registered-devices line no longer uses the success color, and the
test notification button is a secondary button so it stands out.
The Notifier dismisses appointment reminders once the user has answered
with yes or no (AlreadyProcessedException). This also swallowed the
admin test notification: the button reported success, but neither the
bell nor a push ever arrived when the admin had already responded to
the next open appointment.

Test reminders now carry a 'test' subject parameter that skips the
dismissal check, so the delivery chain can be verified end-to-end.
The subject stays 'appointment_reminder', so older mobile clients are
unaffected.
@luflow
luflow merged commit 5544ca7 into main Jul 19, 2026
2 checks passed
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