From 64dc6beb11ddeeb844f71b1887eb2abb7ad72765 Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Mon, 16 Mar 2026 17:44:18 -0500 Subject: [PATCH] feat(ui): polish Config Editor with Deep Space styling Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/config-editor/CommandExecutor.tsx | 2 +- frontend/src/components/config-editor/EntryTable.tsx | 6 +++--- frontend/src/components/config-editor/MenuTree.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/config-editor/CommandExecutor.tsx b/frontend/src/components/config-editor/CommandExecutor.tsx index 0869359..b7fba44 100644 --- a/frontend/src/components/config-editor/CommandExecutor.tsx +++ b/frontend/src/components/config-editor/CommandExecutor.tsx @@ -136,7 +136,7 @@ export function CommandExecutor({ tenantId, deviceId, currentPath }: CommandExec {results.length > 0 && (
{results.map((r, i) => ( -
+
{r.timestamp} {r.command} diff --git a/frontend/src/components/config-editor/EntryTable.tsx b/frontend/src/components/config-editor/EntryTable.tsx index 0a3c83a..efe4d91 100644 --- a/frontend/src/components/config-editor/EntryTable.tsx +++ b/frontend/src/components/config-editor/EntryTable.tsx @@ -107,17 +107,17 @@ export function EntryTable({
- + {columns.map((col) => ( ))} {writable && ( - )} diff --git a/frontend/src/components/config-editor/MenuTree.tsx b/frontend/src/components/config-editor/MenuTree.tsx index e95a6e7..10dcde7 100644 --- a/frontend/src/components/config-editor/MenuTree.tsx +++ b/frontend/src/components/config-editor/MenuTree.tsx @@ -157,7 +157,7 @@ function TreeItem({ className={cn( 'flex items-center gap-1.5 w-full px-2 py-1 text-xs rounded transition-colors', isActive - ? 'bg-elevated text-text-primary' + ? 'bg-[hsl(var(--accent-muted))] text-accent' : 'text-text-secondary hover:text-text-primary hover:bg-elevated/50', )} style={{ paddingLeft: `${depth * 12 + 8}px` }} @@ -205,7 +205,7 @@ export function MenuTree({ onPathSelect, currentPath }: MenuTreeProps) { return (
-
Menu
+
Menu
{MENU_TREE.map((node) => ( @@ -218,7 +218,7 @@ export function MenuTree({ onPathSelect, currentPath }: MenuTreeProps) { ))}
-
Custom path
+
Custom path
setCustomPath(e.target.value)}
{col} + Actions