From d878c339ca76b2236e9b3f217a762d7e2878d7f6 Mon Sep 17 00:00:00 2001 From: yangyue_1228 Date: Fri, 23 Jan 2026 11:28:35 +0800 Subject: [PATCH 1/2] ui update --- .../src/components/editor/chrome/types.ts | 56 +++++++++---------- .../editor/chrome/wrapper/sidebar.tsx | 4 +- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/frontend/src/components/editor/chrome/types.ts b/frontend/src/components/editor/chrome/types.ts index 678cc0d7da7..18153e6950b 100644 --- a/frontend/src/components/editor/chrome/types.ts +++ b/frontend/src/components/editor/chrome/types.ts @@ -88,34 +88,34 @@ export const PANELS: PanelDescriptor[] = [ tooltip: "Manage packages", defaultSection: "sidebar", }, - { - type: "ai", - Icon: BotIcon, - label: "AI", - tooltip: "Chat & Agents", - defaultSection: "sidebar", - }, - { - type: "outline", - Icon: ScrollTextIcon, - label: "Outline", - tooltip: "View outline", - defaultSection: "sidebar", - }, - { - type: "documentation", - Icon: TextSearchIcon, - label: "Docs", - tooltip: "View live docs", - defaultSection: "sidebar", - }, - { - type: "dependencies", - Icon: NetworkIcon, - label: "Dependencies", - tooltip: "Explore dependencies", - defaultSection: "sidebar", - }, + // { + // type: "ai", + // Icon: BotIcon, + // label: "AI", + // tooltip: "Chat & Agents", + // defaultSection: "sidebar", + // }, + // { + // type: "outline", + // Icon: ScrollTextIcon, + // label: "Outline", + // tooltip: "View outline", + // defaultSection: "sidebar", + // }, + // { + // type: "documentation", + // Icon: TextSearchIcon, + // label: "Docs", + // tooltip: "View live docs", + // defaultSection: "sidebar", + // }, + // { + // type: "dependencies", + // Icon: NetworkIcon, + // label: "Dependencies", + // tooltip: "Explore dependencies", + // defaultSection: "sidebar", + // }, // Developer panel defaults { type: "errors", diff --git a/frontend/src/components/editor/chrome/wrapper/sidebar.tsx b/frontend/src/components/editor/chrome/wrapper/sidebar.tsx index c8dde2d089a..040db5fa56c 100644 --- a/frontend/src/components/editor/chrome/wrapper/sidebar.tsx +++ b/frontend/src/components/editor/chrome/wrapper/sidebar.tsx @@ -149,11 +149,11 @@ export const Sidebar: React.FC = () => { )} /> - + {/* - + */}
From 5f36f1863cf050dd582ee1a59cdfea7ea0881c1f Mon Sep 17 00:00:00 2001 From: yangyue_1228 Date: Fri, 23 Jan 2026 11:37:14 +0800 Subject: [PATCH 2/2] hide control buttons --- frontend/src/components/editor/controls/Controls.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/editor/controls/Controls.tsx b/frontend/src/components/editor/controls/Controls.tsx index 18beddd3b8f..2d6f866651a 100644 --- a/frontend/src/components/editor/controls/Controls.tsx +++ b/frontend/src/components/editor/controls/Controls.tsx @@ -88,11 +88,11 @@ export const Controls = ({ {!closed && (
{presenting && } - - + */} - + {/* */}