Put YOLO in ⌘K and show each toggle's live state - #74674
Merged
Merged
Conversation
YOLO had a status-bar zap and a slash command but was never registered as a palette contribution, so ⌘K couldn't reach it. Adding it exposed the wider gap: "Toggle status bar" doesn't say which way it will go. Rows already carry a muted `detail` slot, so paletteToggle fills it with on/off — no new chrome, and the verb stays. Status bar, logs, and layout edit mode go through the same helper.
The sidebar rail, project disclosures, and the toolset switch now read "Show" or "Hide" from what's actually on screen, and a failed write says which direction failed instead of "Failed to toggle". All five locales.
toggleSkill(name, enabled) is a setter wearing a toggle's name. A toggle takes no argument; anything handed an explicit value is a set.
OutThisLife
force-pushed
the
bb/yolo-palette
branch
from
July 30, 2026 07:42
98647a7 to
3198ed7
Compare
Group order is the only tiebreaker rankGroups has (stable sort), and ties are the common case: "yolo" matches both "Toggle YOLO" and a worktree named bb/yolo-palette as a whole word. Branch rows sat second and won, burying the command under a list that grows with whatever's checked out. The order now reads as the priority: where you're going, what you can do, what you can configure, then the typed-only lists, and branches last. Also pulls the muted detail back to ~4px — it reads as a suffix of the label, not another flex item at the row's icon-to-label gap.
OutThisLife
force-pushed
the
bb/yolo-palette
branch
2 times, most recently
from
July 30, 2026 08:13
1b66d92 to
1b8f6ca
Compare
…ariant A toggle's on/off isn't a passive fact like a version string — the row is about to change it. It keeps the label's color so the two read as one phrase, and earns its separation from a faint underline instead of going muted. Both variants live in floating-hud.ts beside the other shared HUD chrome. That underline needs room to exist: flex items are blockified, so the note's truncate/overflow-hidden bites, and the app's global 0.25rem offset sits at the bottom edge of a text-xs line box. The state variant drops truncate (one word, nothing to clip) and pulls the offset to 2px. Flipping a setting isn't navigation either, so toggles keep the palette open the way the theme and color-mode rows already do, and selecting a keepOpen row bumps a counter that rebuilds the groups so the note can't report the state it left. Also: yolo is lowercase, and logs gets its own icon instead of borrowing the YOLO bolt.
OutThisLife
force-pushed
the
bb/yolo-palette
branch
from
July 30, 2026 08:18
1b8f6ca to
129b4e7
Compare
# Conflicts: # apps/desktop/src/app/command-palette/index.tsx
Contributor
૮ >ﻌ< ა ci reviewran on 7996ec6 ℹ️ InfoDesktop E2E visual evidence · View test artifacts · View job1 visual diff. inline evidence is publishing... |
…nder These assert the accessible name, and the name now states the action rather than the word toggle: an enabled toolset offers "Turn X toolset off", a collapsed project offers "Show X sessions".
OutThisLife
enabled auto-merge
July 30, 2026 09:21
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
Put YOLO in ⌘K and show each toggle's live state
33hodl
pushed a commit
to 33hodl/hermes-agent
that referenced
this pull request
Aug 12, 2026
Put YOLO in ⌘K and show each toggle's live state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
YOLO had a status-bar zap and a slash command but was never registered as a palette contribution, so ⌘K couldn't reach it. Adding it turned up three things worth fixing around it.
The rows didn't say where they stood. "Toggle status bar" tells you what the row does but not which way it will go. Palette rows already carry a
detailslot for trailing notes, sopaletteTogglefills it with the liveon/off. A toggle's note isn't a passive fact like a version string though — the row is about to change it — so it keeps the label's color and separates with a faint underline instead of going muted. Both variants live infloating-hud.tsbeside the other shared HUD chrome. Status bar, logs, and layout edit mode go through the same helper, and flipping one no longer closes the palette, matching what the theme rows already did.Branch rows outranked everything. Group order is the only tiebreaker
rankGroupshas (stable sort), and ties are the common case —yolomatches both "Toggle YOLO" and a worktree namedbb/yolo-paletteas a whole word. The branch group sat second and won, burying the command under a list that grows with whatever's checked out. The order now reads as the priority it always was: where you're going, what you can do, what you can configure, then the typed-only lists, and branches last.Labels that describe live state now name the direction. The sidebar rail and project disclosures read "Show" or "Hide" from what's actually on screen, and a failed write says which direction failed instead of "Failed to toggle". All five locales.
The last commit is naming only:
toggleSkill(name, enabled)is a setter wearing a toggle's name. A toggle takes no argument; anything handed an explicit value is aset.Test plan
off; run it — the palette stays open and the note flips toon, and the status-bar zap agreesyoloputs Toggle yolo above the branch rows