Skip to content

Move focus with the arrow keys in the remaining tab and radio groups. - #1277

Open
calledtoconstruct wants to merge 1 commit into
MyOwnDataCenter:mainfrom
calledtoconstruct:fix/roving-groups
Open

calledtoconstruct wants to merge 1 commit into
MyOwnDataCenter:mainfrom
calledtoconstruct:fix/roving-groups

Conversation

@calledtoconstruct

@calledtoconstruct calledtoconstruct commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

Arrow keys, Home, and End move focus through the tabs and radio choices that previously stayed put: display scale, input mode, screen layout and shape, terminal tabs, backup shares, characters, app categories, workspaces, orchestrator tabs, machine sections, hardware choices, wallpapers, and which operating system the other computer runs. Tab still lands on the selected item only. Enter or Space still makes the choice.

How you tested it

  • npm run typecheck, npm run build and npm test pass
  • Tried on a real Omarchy machine or VM (say which), if it touches install.sh, the helper, apps, machines or storage

From /tmp/os-513: node --experimental-strip-types --import ./test/retry-rm.mjs --test --test-concurrency=1 test/roving-keys.test.mjs passed, and npx tsc --noEmit -p web passed. npm run typecheck, npm run build, and the full npm test were not run.

Anything to know

The version number and What's New are unchanged. Moving focus does not select, so arrowing through a group does not open a section, apply a wallpaper, or change a setting until Enter or Space.


Note

Low Risk
Accessibility-focused focus management only; selection still requires explicit activation and behavior matches existing roving usage elsewhere.

Overview
Extends the shared roving keyboard helper to tab lists and radio groups that previously had no arrow-key focus behavior, so keyboard users can move between choices consistently across the app.

Console (display scale and touch/mouse mode), LayoutPicker (screen layout and desktop shape cards), terminal tabs, NAS share pick in backups, assistant character grid, desktop app category tabs, Hyprland workspace pills, orchestrator and machine tabs (replacing custom tab keyboard code in MachineTabs), hardware choice radios, assistant wallpaper rows, and swarm OS chips now use rovingKeyDown with rovingTabIndex so Tab stops only on the selected item (or the first when none is selected), while Arrow keys, Home, and End move focus without changing the selection until Enter or Space.

A new roving-keys.test.mjs case asserts these files wire the same patterns as earlier adopters.

Reviewed by Cursor Bugbot for commit 0d8597a. Bugbot is set up for automated code reviews on this repo. Configure here.

Arrow keys, Home, and End move through display scale, input mode, layouts, terminal tabs, backup shares, characters, app categories, workspaces, orchestrator tabs, machine sections, hardware choices, wallpapers, and the other computer's operating system. Tab still stops on the selected item only. Enter or Space still chooses.

Fixes MyOwnDataCenter#513.
Co-Authored-By: Grok 4.7 <grok@x.ai>
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