1
0
Fork 0
polaris-task-force/src/components/frontend/journals
Z8MB1E 8a7d79c369 feat(journals): member-authored journal entries with author-owned publishing
- New Journals collection (Chronicle group): title, Lexical body, status
  draft/published, optional in-world date and mission link; authors read,
  edit, and delete their own entries at any status while every logged-in
  user reads published ones; journals:* staff permissions bypass ownership
  and gate the admin page (registered in the permission registry)
- /journals list with compose dialog and /journals/[id] reader reusing the
  Chronicle typography; edit/delete controls for authors and staff; drafts
  carry the DraftBadge and stay invisible to everyone but their author
- Server actions create/update/delete with ownership checks, publish-time
  journal:created and journal:deleted feed events (journals added to the
  GameEventLogs target collection enum via migration)
- Sidebar entry under Chronicle, command palette destination, admin panel
  icon; excerpt extractor as a pure module (src/lib/journals/excerpt.ts)
- Access-control integration spec covers draft privacy, publish visibility,
  non-author write blocking, and staff override (5 tests)
2026-10-12 14:39:48 -04:00
..
JournalDetailControls.tsx feat(journals): member-authored journal entries with author-owned publishing 2026-10-12 14:39:48 -04:00
JournalFormDialog.tsx feat(journals): member-authored journal entries with author-owned publishing 2026-10-12 14:39:48 -04:00
JournalsList.tsx feat(journals): member-authored journal entries with author-owned publishing 2026-10-12 14:39:48 -04:00