Add a scanned Home menu so switch users need not focus an app first - #967
Merged
Merged
Conversation
Select now opens Home when scanning starts afresh, offering Point, Mouse, Keyboard, Apps and windows, Editing, Browser, Media and Switchify. After an action, Select carries on in the same mode, so routine clicking costs no extra steps. Home actions need no chosen point, so Home follows whichever window is in front; commands return to Home and the keyboard opened from it closes back to it. Home is also a tile in the Point action menu and Mouse Actions. A new "Select starts" setting keeps the old last-mode behaviour available; saved settings without it open Home. Closes #966 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…to Home Next/Previous display rebuilt the session with Select, which now opens Home; it starts point scanning directly instead. A failed Point or Switchify request chosen in Home returns to Home rather than to an action menu with no chosen point. Refs #966 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Closes #966
What changes
Switch users were told to "Focus the application you want to use, then press Select". That step is outside switch control. Select now opens a scanned Home menu instead.
Home layout (3 × 3):
When Select opens Home:
resumeflag from the finished scan into the next one through a newAdapter::carry_overhook.Foreground handling:
Returning to Home:
Other changes:
startWithinpoint-scan.json. Saved settings without the field load as Home. This is covered by a compatibility test, and the protocol is untouched.docs/point-scan.md.Validation
Windows 11, Node 24.13.0, Rust 1.97.1:
npm run prediction-model✅npm run lint✅npm test: 253 passed ✅npm run build✅cargo fmt --check✅cargo clippy --all-targets -D warnings✅cargo test: 630 + 7 passed ✅New tests:
startWithround trip.startWith; the status text no longer asks the user to focus an app.Tests that exercise point flows from Select now use an explicit
LastModeconfig.Independent review
First review (head 512b9d7) found two problems, both fixed in e420998:
OpenPoint(newpoint_sessionhelper, with a test).leaving_home, with a test).Accepted deliberately: if settings are saved or the engine is otherwise rebuilt between scans, the next Select opens Home instead of resuming.
Re-review of head e420998: no actionable findings. 630 Rust tests and 253 UI tests pass.
Not yet done: a manual run on hardware (
npm run macos:runon macOS; an installed build on Windows for UIAccess) to confirm Home placement and that Switch app forward is not cancelled.🤖 Generated with Claude Code