From 3635ab15ff47f07be1dcf0fb0e546855adfd1ddf Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Thu, 10 Sep 2026 22:17:56 +0800 Subject: [PATCH] Standardize icon for maximise in editor panel (#50210) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Context Just a tiny UI nit to standardise the maximise icon in Editor Panel, matching that of the Assistant Panel image image ## Summary by CodeRabbit - **Style** - Updated the maximize control icon for a clearer visual representation. - **Accessibility** - Updated the control label and tooltip to say “Open in SQL editor” for improved clarity. --- apps/studio/components/ui/EditorPanel/EditorPanel.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx index afa5bb51574..65314d8200e 100644 --- a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx +++ b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx @@ -9,7 +9,7 @@ import { CheckCircle2, FolderOpen, Loader2, - Maximize2, + Maximize, PlusIcon, X, } from 'lucide-react' @@ -461,12 +461,12 @@ export const EditorPanel = () => { } - aria-label={isExplorerEnabled ? 'Open in Explorer' : 'Expand to SQL editor'} + icon={} + aria-label={isExplorerEnabled ? 'Open in Explorer' : 'Open in SQL editor'} tooltip={{ content: { side: 'bottom', - text: isExplorerEnabled ? 'Open in Explorer' : 'Expand to SQL editor', + text: isExplorerEnabled ? 'Open in Explorer' : 'Open in SQL editor', }, }} onClick={handleExpand}