Skip to content

Commit 54db5f7

Browse files
MarkoVcodeclaude
andcommitted
Set sidebar and bottom panel collapsed by default on load
Changes initial state to provide a clean, minimal workspace on page load. Both sidebar and bottom panel now start collapsed, showing only the editor area with the empty state message. Changes: - Set sidebarCollapsed initial state to true (was false) - Set bottomPanelCollapsed initial state to true (was false) - Users can still open panels using toggle buttons in topbar - Provides cleaner, more focused initial experience - Editor area shows "No Instrument Selected" empty state on load Users can easily open the sidebar or bottom panel at any time using the panel toggle controls in the top-right of the topbar. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 72e2f95 commit 54db5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmesh-serial-service/frontend/src/ui/workbench/WorkbenchLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export const WorkbenchLayout: React.FC<WorkbenchLayoutProps> = ({
6363
onSwitchToClassic,
6464
isElectron
6565
}) => {
66-
const [sidebarCollapsed, setSidebarCollapsed] = useState(false);
67-
const [bottomPanelCollapsed, setBottomPanelCollapsed] = useState(false);
66+
const [sidebarCollapsed, setSidebarCollapsed] = useState(true);
67+
const [bottomPanelCollapsed, setBottomPanelCollapsed] = useState(true);
6868
const [rightPanelCollapsed, setRightPanelCollapsed] = useState(true); // Right panel not yet implemented
6969
const [activeView, setActiveView] = useState<ViewType>('instruments');
7070
const [activeInstruments, setActiveInstruments] = useState<string[]>([]);

0 commit comments

Comments
 (0)