1
0
Fork 0
polaris-task-force/src/app/(frontend)/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
..
actions.ts feat(notifications): scope notification read state per recipient 2026-10-09 13:13:16 -04:00
page.tsx style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00