mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Merge pull request #75547 from NousResearch/bb/statusbar-off-default
Statusbar off by default
This commit is contained in:
commit
8f8bee94f7
1 changed files with 5 additions and 4 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue