From c1ab210095c723b8ae5c6cb88cf5f62867a6e84e Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Wed, 1 Apr 2026 16:14:16 -0400 Subject: [PATCH] feat(codex-dashboard): refine control center boundary card --- .../codex-control-center-tab.tsx | 77 +++++++++++++------ 1 file changed, 55 insertions(+), 22 deletions(-) diff --git a/ui/src/components/compatible-cli/codex-control-center-tab.tsx b/ui/src/components/compatible-cli/codex-control-center-tab.tsx index 9b701521..727a6e8d 100644 --- a/ui/src/components/compatible-cli/codex-control-center-tab.tsx +++ b/ui/src/components/compatible-cli/codex-control-center-tab.tsx @@ -1,11 +1,10 @@ -import { Route } from 'lucide-react'; +import { FileCode2, History, PenLine, Settings2 } from 'lucide-react'; import { CodexFeaturesCard } from '@/components/compatible-cli/codex-features-card'; import { CodexMcpServersCard } from '@/components/compatible-cli/codex-mcp-servers-card'; import { CodexModelProvidersCard } from '@/components/compatible-cli/codex-model-providers-card'; import { CodexProfilesCard } from '@/components/compatible-cli/codex-profiles-card'; import { CodexProjectTrustCard } from '@/components/compatible-cli/codex-project-trust-card'; import { CodexTopLevelControlsCard } from '@/components/compatible-cli/codex-top-level-controls-card'; -import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { ScrollArea } from '@/components/ui/scroll-area'; import type { CodexConfigPatchInput, @@ -54,26 +53,60 @@ export function CodexControlCenterTab({ }: CodexControlCenterTabProps) { return ( -
- - - - - Structured controls boundary - - - -

- Guided controls write only the user-layer config.toml. They do not model - the full effective Codex runtime once trusted repo layers and CCS transient{' '} - -c overrides are involved. -

-

- Structured saves normalize TOML formatting and strip comments. Use the raw editor on - the right when exact layout matters. -

-
-
+
+
+
+ +
+
+
+
+ +
+
+

+ Structured controls boundary +

+
+
+ +
    +
  • + + + Writes exclusively to user-layer{' '} + + config.toml + + +
  • +
  • + + + Does not reflect repo trust layers or CLI overrides + +
  • +
+
+ +
+
+
+ +
+

+ Formatting Note +

+

+ Saves normalize TOML formatting and strip comments. Switch to the raw editor + if exact layout matters. +

+
+
+
+
+
+