From 63bdc3ae3990472d91c190bd29ee95c5181e4d12 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Thu, 18 Dec 2025 01:38:02 -0500 Subject: [PATCH] fix(copilot): widen sidebar and balance split-view layout - Increase sidebar width from w-64 to w-80 (320px) - Increase model name truncation from 100px to 160px - Balance config form split-view to 50%/50% --- ui/src/components/copilot/copilot-config-form.tsx | 8 ++++---- ui/src/pages/copilot.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/components/copilot/copilot-config-form.tsx b/ui/src/components/copilot/copilot-config-form.tsx index cb9a37e3..1df9a38d 100644 --- a/ui/src/components/copilot/copilot-config-form.tsx +++ b/ui/src/components/copilot/copilot-config-form.tsx @@ -3,8 +3,8 @@ * * Form for configuring GitHub Copilot integration settings. * Split-view layout matching CLIProxy provider editor: - * - Left: Friendly UI with model mapping selectors - * - Right: Raw JSON editor for copilot.settings.json + * - Left (50%): Friendly UI with model mapping selectors + * - Right (50%): Raw JSON editor for copilot.settings.json */ import { useState, useMemo, useCallback, lazy, Suspense } from 'react'; @@ -637,8 +637,8 @@ export function CopilotConfigForm() { - {/* Split Layout (40% Left / 60% Right) */} -
+ {/* Split Layout (50% Left / 50% Right) */} +
{/* Left Column: Friendly UI */}
{renderFriendlyUI()}
diff --git a/ui/src/pages/copilot.tsx b/ui/src/pages/copilot.tsx index 57c81ad2..fd9eef3c 100644 --- a/ui/src/pages/copilot.tsx +++ b/ui/src/pages/copilot.tsx @@ -113,7 +113,7 @@ export function CopilotPage() { return (
{/* Left Sidebar - Status Overview */} -
+
{/* Header */}
@@ -229,7 +229,7 @@ export function CopilotPage() {
Model - + {status?.model ?? 'N/A'}