Skip to content

Commit 2327959

Browse files
committed
fix: add chat to all mode visibleViews — accessible from classic and TUI modes
1 parent 4e97ac6 commit 2327959

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/mode-registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const MODE_REGISTRY: Record<AppMode, ModeSpec> = {
2525
id: 'classic',
2626
label: 'Classic',
2727
description: 'Traditional editor — no chat, files open',
28-
visibleViews: ['editor', 'preview', 'git', 'skills'],
28+
visibleViews: ['chat', 'editor', 'preview', 'git', 'skills'],
2929
defaultView: 'editor',
3030
autoExpandEditor: true,
3131
accent: '#d2a34f',
@@ -61,7 +61,7 @@ export const MODE_REGISTRY: Record<AppMode, ModeSpec> = {
6161
id: 'tui',
6262
label: 'TUI',
6363
description: 'Terminal-first — editor available on demand',
64-
visibleViews: ['editor', 'git', 'skills'],
64+
visibleViews: ['chat', 'editor', 'git', 'skills'],
6565
defaultView: 'editor',
6666
terminalCenter: true,
6767
hideTabs: true,

0 commit comments

Comments
 (0)