1
0
Fork 0
polaris-task-force/src/app/(frontend)
Z8MB1E ac6415d034 feat(npc): complete dialogue feature and fix migration snapshot base
Finish the NPC dialogue flowchart work carried over from the base commit:
- Coloured NPC dialogue text via friendly names ({red}) or hex ({#ff00ff});
  invalid names/hex render as literal text. Shared client-safe renderer
  (DialogueText.tsx) used by both the admin canvas preview and the runtime.
- Player-flags feature: condition nodes branch on flags (evaluated
  server-side), flag effects set/clear/adjust flags, PlayerFlags collection
  + migration, and event nodes can set flags.
- One-time ("once") choices: a choice flagged "Hide after picked" is hidden
  for the rest of the current conversation only (per-session, resets on
  begin()); GMs can persist across conversations with a condition flag.
- Admin editor: colour hint, once checkbox on choices, amber "once" badge.

Migration repair: the player_flags migration (20261005_185014) was sorting
before 20261006_000000, whose stale snapshot omitted player_flags, so any
future `migrate:create` re-emitted player_flags DDL. Restored 20261006_000000's
snapshot to the full current schema so it is the correct diff base.

Verified: `bun run payload migrate` clean, `migrate:create` reports no
schema changes, `tsc --noEmit` clean.
2026-10-05 16:02:53 -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(game): admin feature flags for zone pressure, statistics, and helpdesk 2026-09-22 14:52:40 -04:00
impersonate refactor(impersonation): move user selection into action flow 2026-09-01 17:17:48 -04:00
intelligence feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -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 style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -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): complete dialogue feature and fix migration snapshot base 2026-10-05 16:02:53 -04:00
profile/[username] feat(evaluations): mark mission evaluable after scheduled window 2026-10-05 03:36:12 -04:00
projects style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -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 fix(intel): show the intelligence section to anyone with read access 2026-10-04 02:53:24 -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