1
0
Fork 0
polaris-task-force/src/components/frontend/notifications
Z8MB1E 37d7297b1a feat(notifications): add staff toggle to show only your own notifications
Staff with read-all oversight (superuser / system:admin-access) see everyone's
notifications in the bell. Add a "Show all users" switch inside the dropdown,
rendered only when the caller can view others, that narrows the feed to the
caller's own notifications. The choice is remembered per browser (localStorage)
and the unread badge follows the selected scope.

The inbox route now reports canViewOthers and honors scope=all|mine; non-staff
callers are always forced to their own regardless of the param.
2026-10-09 14:43:12 -04:00
..
NotificationsBell.tsx feat(notifications): add staff toggle to show only your own notifications 2026-10-09 14:43:12 -04:00
NotificationsInbox.tsx fix(notifications): harden bell dropdown against failed mark-read 2026-08-12 12:38:48 -04:00