From 89aca5836482c85c5d30cc779488274c21ebe101 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Mon, 30 Nov 2026 22:38:31 +0100 Subject: [PATCH] feat(web): open the side pane on Preview Files was the first tab and the one selected when the pane opened. The preview is what a room looks at while the agent works, so it comes first and is selected on open. Files is second and Terminal last. The panel order in the body follows the tabs, so the tablist, the DOM order, and arrow-key navigation stay in step. --- web/app/components/RightPane.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/app/components/RightPane.vue b/web/app/components/RightPane.vue index d3f9f8d..80d5fcd 100644 --- a/web/app/components/RightPane.vue +++ b/web/app/components/RightPane.vue @@ -8,11 +8,11 @@ type Tab = 'terminal' | 'preview' | 'files' defineProps<{ roomId: string; roomName: string; preview: PreviewTarget | null }>() const emit = defineEmits<{ close: [] }>() -const tab = ref('files') +const tab = ref('preview') const tabs: Array<{ id: Tab; label: string; icon: typeof Terminal }> = [ - { id: 'terminal', label: 'Terminal', icon: Terminal }, { id: 'preview', label: 'Preview', icon: Eye }, { id: 'files', label: 'Files', icon: FolderTree }, + { id: 'terminal', label: 'Terminal', icon: Terminal }, ] @@ -48,9 +48,9 @@ const tabs: Array<{ id: Tab; label: string; icon: typeof Terminal }> = [
- - - + + +