1
0
Fork 0
polaris-task-force/src/app/(frontend)
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
..
account feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
awards feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
events feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
helpdesk feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
impersonate refactor(impersonation): move user selection into action flow 2026-09-01 17:17:48 -04:00
intelligence feat(campaigns): let owners set campaign status from the detail page 2026-10-09 13:13:05 -04:00
locker feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
logistics feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
map feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
minigames feat(chips): credit chip bank from non-card minigame XP 2026-09-14 15:38:26 -04:00
notifications feat(notifications): scope notification read state per recipient 2026-10-09 13:13:16 -04:00
operations feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
personnel feat(npc-dialogue): let event flag effects target self, global, or a specific user 2026-10-07 13:33:52 -04:00
profile/[username] feat(evaluations): mark mission evaluable after scheduled window 2026-10-05 03:36:12 -04:00
projects feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
roster feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
story feat(story): order chapters by creation date and show newest first 2026-09-24 19:23:46 -04:00
surveys feat(surveys): open surveys in a scrollable modal, fix page layouts 2026-09-23 21:07:07 -04:00
transfers style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
voiceover feat(voiceover): spoiler gate, pacing pattern, and recorder updates 2026-09-14 15:37:12 -04:00
wiki feat(wiki): show System as author for seeded documentation pages 2026-09-30 18:41:13 -04:00
actions.ts feat(dashboard): customizable dashboard with personal widgets 2026-09-10 20:03:27 -04:00
layout.tsx fix(intel): show the intelligence section to anyone with read access 2026-10-04 02:53:24 -04:00
page.tsx feat(dashboard): flag restricted events with a lock icon in Recent Events 2026-10-07 13:07:23 -04:00
styles.css feat(map): add Arma-style coordinate grid config, overlay and mission-map wiring 2026-10-05 03:17:52 -04:00