fix(desktop): show statusbar by default

The whole-bar visibility atom defaulted to false (opt-in). Flip it to
true so the bar shows on first launch. The context-usage meter and
other diagnostic items remain hidden via STATUSBAR_HIDDEN_BY_DEFAULT,
so only the core status items (gateway health, model pill, command
center) appear out of the box. The toggle keybind and ⌘K row still
let users hide it.
This commit is contained in:
Brooklyn Nicholson 2026-08-13 13:49:26 -05:00 committed by brooklyn!
parent 4ef7ee9971
commit 120e465c97
1 changed files with 4 additions and 5 deletions

View File

@ -3,11 +3,10 @@ import { Codecs, persistentAtom } from '@/lib/persisted'
const STATUSBAR_HIDDEN_STORAGE_KEY = 'hermes.desktop.statusbarHidden'
const STATUSBAR_VISIBLE_STORAGE_KEY = 'hermes.desktop.statusbarVisible'
// Whole-bar visibility, VS Code's `workbench.statusBar.visible`. Off by default
// — the bar is opt-in. Hiding it unmounts the bar (its 15s status poll goes with
// it), so the way back is the `view.toggleStatusbar` keybind or the ⌘K row,
// never the bar itself.
export const $statusbarVisible = persistentAtom(STATUSBAR_VISIBLE_STORAGE_KEY, false, Codecs.bool)
// Whole-bar visibility, VS Code's `workbench.statusBar.visible`. On by default.
// Hiding it unmounts the bar (its 15s status poll goes with it), so the way back
// is the `view.toggleStatusbar` keybind or the ⌘K row, never the bar itself.
export const $statusbarVisible = persistentAtom(STATUSBAR_VISIBLE_STORAGE_KEY, true, Codecs.bool)
export function toggleStatusbarVisible() {
$statusbarVisible.set(!$statusbarVisible.get())