1
0
Fork 0
polaris-task-force/src
Z8MB1E 82607daf6e fix(npc-dialogue): keep choice footer hidden on pick and refresh gates after events
Two runtime bugs in NpcConversation surfaced while conversing with D8-24.

1. After selecting a choice, the old choices briefly reappeared before hiding
   again. The footer renders when neither typing indicator is up and the log
   rests on a choice node, but between the player's line landing and the next
   node starting to type there was a render gap (condition evaluation,
   tokenized text resolution, or a delay node setting an empty speaker) where
   both flags were clear. Added an awaitingReply flag set on pick and cleared
   only once the cascade comes to rest on the next node, so the footer stays
   hidden through the whole transition.

2. A flag written by an event node mid-conversation did not update a gated
   choice's locked/unlocked state until a page reload. choiceGates are cached
   per node id and the fetch effect skips cached nodes, so the cache went
   stale. Now the gate cache is dropped whenever an event writes a flag, and
   the fetch effect skips while awaitingReply is true so it never re-queries
   the node being left.

Verified live against D8-24: choices stay hidden across a pick, and a gated
choice flips to disabled immediately after an event sets its flag, no reload.
2026-10-14 13:27:02 -04:00
..
app fix(garage): pad garage page content like sibling routes 2026-10-13 16:43:16 -04:00
assets/images feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
bot fix(bot): read open-ended changelog ranges in the newest direction 2026-10-13 11:18:24 -04:00
collections feat(arma): import vehicle mass and category defaults, add library picker 2026-10-13 16:02:58 -04:00
components fix(npc-dialogue): keep choice footer hidden on pick and refresh gates after events 2026-10-14 13:27:02 -04:00
hooks feat(session): add pre-expiry warning banner with extend button 2026-09-23 15:02:10 -04:00
lib feat(arma): import vehicle mass and category defaults, add library picker 2026-10-13 16:02:58 -04:00
migrations feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
permissions feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
scripts feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
tools feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
utils feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
payload-generated-schema.ts feat(minigames): add Call for Fire: Versus multiplayer artillery duel 2026-10-11 21:55:39 -04:00
payload-types.ts feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
payload.config.ts feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00