1
0
Fork 0
polaris-task-force/src/components/admin/npc-dialogue
Z8MB1E a96eddf32c feat(npc-dialogue): bigger flow handles + delete edges via Delete
- Enlarge flow-editor wire handles from size-2 (8px) to size-3 (12px) so
  they are easier to click and grab.
- Select an edge by clicking it, then remove it with the Delete key.
  Selection is tracked in state and the highlight renders through BaseEdge
  stroke props so the chosen line stands out.
- Edges are a derived projection, so deletion scrubs the hop from the
  source node data via a new pure removeHopFromNode() helper in dialogue.ts
  (choice row, condition branch, or single continuation).
- Add tests/int/npc-dialogue-remove-hop.int.spec.ts (4 tests).
2026-10-07 14:25:14 -04:00
..
NodeEditDialog.tsx feat(npc-dialogue): reorder choices in the dialogue editor 2026-10-07 14:01:00 -04:00
NpcDialogueEditor.tsx feat(npc-dialogue): bigger flow handles + delete edges via Delete 2026-10-07 14:25:14 -04:00
NpcDialogueNode.tsx feat(npc-dialogue): bigger flow handles + delete edges via Delete 2026-10-07 14:25:14 -04:00
RoutedFlowEdge.tsx feat(npc-dialogue): bigger flow handles + delete edges via Delete 2026-10-07 14:25:14 -04:00
types.ts feat(npc): complete dialogue feature and fix migration snapshot base 2026-10-05 16:02:53 -04:00