1
0
Fork 0
polaris-task-force/src/lib/notifications
Z8MB1E 66e70d3d56 feat(notifications): scope notification read state per recipient
Read state is personal to the recipient. Marking a notification read now
only ever flips the acting user's own rows — never another user's, even
when staff view it via read-all oversight (which would otherwise hide it
from its real owner).

- add /api/notifications/inbox endpoint that enriches each row with
  ownerId, ownerName, and isMine so the bell can label "meant for
  someone else" rows
- move mark-read logic into per-user lib helpers (markNotificationsReadForUser,
  markAllNotificationsReadForUser) and have the actions delegate
- surface ownership in the bell UI and skip marking rows that aren't mine
2026-10-09 13:13:16 -04:00
..
index.ts feat(notifications): scope notification read state per recipient 2026-10-09 13:13:16 -04:00
notificationTypes.ts feat(missions): role sign-ups with FCFS waitlist and rich-text role descriptions 2026-09-30 14:50:26 -04:00