Skip to content

fix(settings): Shortcuts lists what official lists: hidden commands in, followers out - #290

Merged
Hona merged 2 commits into
devfrom
ws8/shortcuts-follows
Nov 20, 2026
Merged

Hona merged 2 commits into
devfrom
ws8/shortcuts-follows

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Follow-up to #279, from REFERENCE's re-check (+4,147 px on that screen's rows 4 to 9).

What official actually does: Settings > Shortcuts reads the persisted command catalog (command.tsx:367-376). The catalog keeps a command's follows but not its hidden flag, so keybinds.tsx:178's if (opt.hidden) continue never fires there, while its follower filter does. So official lists the updater's hidden "Check for Updates…" and leaves out the browser's "Close browser tab", which follows tab.close.

Ours, by the same mechanism:

  • Shortcuts: lists hidden commands again. It leaves out a command that follows another's keybind, unless the user has bound that one itself (Desktop's follower). The upstream quirk is stated in a comment where the rule lives, so the radar's row is easy to act on if upstream starts persisting hidden.
  • Contract: CommandSpec.follows (string?, documented since 1.7; WS-9 owns the 1.7 bump, open in feat(browser-engine): add verified MV3 extension host over private CDP pipe #274; until then the file still says 1.6). Generated files regenerated, and --check is clean.
  • Browser plugin: close sets follows = "tab.close", as Desktop's browser/renderer.tsx:362.
  • Saved data: nothing stored changes. The keys work as before; the palette still leaves hidden commands out.

Before (#279) | after (dark):

Checks: guardrails 5/5, check --workspace, web.ps1 -Check, opencode-plugin-spec --check, selene plugins/browser (0 errors).

Hona added 2 commits November 20, 2026 22:49
…n, followers out

Follow-up to #279, from REFERENCE's re-check: official's Settings > Shortcuts lists the updater's
hidden Check for Updates... and leaves out the browser's Close browser tab. Its list is read from
the persisted command catalog (command.tsx:367-376), which keeps a command's follows but not its
hidden flag, so keybinds.tsx:178's hidden filter never fires there and its follower filter does.

- Shortcuts now lists hidden commands again and leaves out a command that follows another's
  keybind, unless the user has bound it itself. The quirk is stated where the rule lives.
- Plugin commands can say follows (contract field, since 1.7): the browser's close follows
  tab.close, as Desktop's does.
- Nothing stored changes.
@Hona
Hona merged commit eb700d9 into dev Nov 20, 2026
3 checks passed
@Hona
Hona deleted the ws8/shortcuts-follows branch November 20, 2026 12:55
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

Hona added a commit that referenced this pull request Nov 20, 2026
…18..UP-122 (#295)

- Fold verified fleet PRs #278, #285, #287, #288, #289, #290, #291, and
  #293 (Rune dc8f7f72: #1301, #1302 focus rescue verified Send+Enter -> effort)
  into docs/upstream-sync/ledger.{json,md}
- Close UP-062 packaged-default regression (#278), UP-095-UI / UP-100 /
  UP-106 / UP-109 / UP-117 (#285, #289), and PRE-08 (#287); reassign
  UP-115, UP-116, UP-075 to BROWSER-UI
- Add separate Reviewed column for browser rows tracking retrospective
  security reviews on merged PRs (#245, #268, #272, #277, #288, #275, #287,
  #285, #289) and pre-merge holds (#274, #280, #281, #283, #286, #292, #294,
  and BROWSER-TOOLS PR 3+)
- Audit upstream anomalyco/opencode bfee96a859..2002222d13 (+6 commits:
  1 skipped, 5 added: UP-118..UP-122) and refine radar routing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant