fix: add answer type to all Record<NodeType> icon and color maps

Fixes NodeList, ContinuationModal, NodePicker, and TreePreviewNode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-02-18 01:34:33 -05:00
parent e19c740603
commit 225a7aaf08
4 changed files with 20 additions and 10 deletions

View File

@@ -13,14 +13,16 @@ const CREATE_SOLUTION = `${CREATE_PREFIX}solution__`
const NODE_TYPE_SYMBOLS: Record<NodeType, string> = {
decision: '\u24D8', // Information/question symbol
action: '\u26A1', // Lightning bolt for action
solution: '\u2713' // Checkmark for solution
solution: '\u2713', // Checkmark for solution
answer: '\u25CC' // Dashed circle for placeholder
}
// Node type labels for UI
const NODE_TYPE_LABELS: Record<NodeType, string> = {
decision: 'Decision',
action: 'Action',
solution: 'Solution'
solution: 'Solution',
answer: 'Answer'
}
interface NodePickerProps {