diff --git a/frontend/src/components/modals/EdgeModal.tsx b/frontend/src/components/modals/EdgeModal.tsx index 664b12d..ea6a441 100644 --- a/frontend/src/components/modals/EdgeModal.tsx +++ b/frontend/src/components/modals/EdgeModal.tsx @@ -68,7 +68,7 @@ export function EdgeModal({ open, onClose, onSubmit, onDelete, onClearWaypoints,
set('check_method', v as CheckMethod)}> - + {CHECK_METHOD_LABELS[(form.check_method ?? 'ping') as CheckMethod]} @@ -271,7 +275,7 @@ export function NodeModal({ open, onClose, onSubmit, initial, title = 'Add Node' value={form.parent_id ?? 'none'} onValueChange={(v) => set('parent_id', v === 'none' ? undefined : v)} > - + {form.parent_id ? (filteredParentNodes.find((n) => n.id === form.parent_id)?.label ?? 'None (standalone)') @@ -301,6 +305,8 @@ export function NodeModal({ open, onClose, onSubmit, initial, title = 'Add Node' aria-checked={!!form.container_mode} onClick={() => set('container_mode', !form.container_mode)} className="relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full transition-colors focus:outline-none" + tabIndex={0} + aria-label="Toggle container mode" style={{ background: form.container_mode ? '#ff6e00' : '#30363d' }} > set('bottom_handles', parseInt(v ?? '1', 10))} > - +