1
0
Fork 0
polaris-task-force/src/components/admin/npc-dialogue
Z8MB1E 089246def8 feat(npc-dialogue): flow editor UX pass for authoring dialogue flows
- Delete selected nodes with Del/Backspace (guarded against open dialogs,
  menus, and focused form fields)
- Double-click the canvas to drop a dialogue node at the cursor; right-click
  empty canvas for a New node menu with all six types; toolbar buttons now
  place nodes at the viewport center instead of blind grid coordinates
- Choices support optional flag conditions evaluated server-side per player
  (player flag first, global fallback); gated choices stay hidden until the
  server confirms them, so forbidden options never flash on screen
- Litegraph-style per-output handles: one source handle per choice row plus
  dedicated true/false handles on condition nodes, wired through derived
  edges and handle-aware connections
- Brighten passive edge lines and edge labels on the dark canvas
- New dialogue nodes default to an empty speaker, rendering the NPC's name
2026-10-06 13:44:01 -04:00
..
NodeEditDialog.tsx feat(npc-dialogue): flow editor UX pass for authoring dialogue flows 2026-10-06 13:44:01 -04:00
NpcDialogueEditor.tsx feat(npc-dialogue): flow editor UX pass for authoring dialogue flows 2026-10-06 13:44:01 -04:00
NpcDialogueNode.tsx feat(npc-dialogue): flow editor UX pass for authoring dialogue flows 2026-10-06 13:44:01 -04:00
types.ts feat(npc): complete dialogue feature and fix migration snapshot base 2026-10-05 16:02:53 -04:00