Merge pull request #75547 from NousResearch/bb/statusbar-off-default

Statusbar off by default
This commit is contained in:
brooklyn! 2026-07-31 12:18:33 -05:00 committed by GitHub
commit 8f8bee94f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,10 +3,11 @@ 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`. 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)
// 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)
export function toggleStatusbarVisible() {
$statusbarVisible.set(!$statusbarVisible.get())