From 2fac2ca4bbac7240d9b7beb1d80cfbe9c419115f Mon Sep 17 00:00:00 2001 From: DhanushSantosh Date: Mon, 19 Jan 2026 19:58:10 +0530 Subject: [PATCH] Fix opencode auth error mapping and perf containment --- .../views/settings-view/providers/opencode-settings-tab.tsx | 1 + apps/ui/src/styles/global.css | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/ui/src/components/views/settings-view/providers/opencode-settings-tab.tsx b/apps/ui/src/components/views/settings-view/providers/opencode-settings-tab.tsx index f56e9a64..4321b6d8 100644 --- a/apps/ui/src/components/views/settings-view/providers/opencode-settings-tab.tsx +++ b/apps/ui/src/components/views/settings-view/providers/opencode-settings-tab.tsx @@ -60,6 +60,7 @@ export function OpencodeSettingsTab() { hasApiKey: cliStatusData.auth.hasApiKey, hasEnvApiKey: cliStatusData.auth.hasEnvApiKey, hasOAuthToken: cliStatusData.auth.hasOAuthToken, + error: cliStatusData.auth.error, }; }, [cliStatusData]); diff --git a/apps/ui/src/styles/global.css b/apps/ui/src/styles/global.css index 3e2ae46d..6e942b88 100644 --- a/apps/ui/src/styles/global.css +++ b/apps/ui/src/styles/global.css @@ -132,6 +132,7 @@ :root { /* Default to light mode */ --radius: 0.625rem; + --perf-contain-intrinsic-size: 500px; --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); --card: oklch(1 0 0); @@ -1124,4 +1125,5 @@ .perf-contain { contain: layout paint; content-visibility: auto; + contain-intrinsic-size: auto var(--perf-contain-intrinsic-size); }