Repository navigation
Use content-based panel sizing and a compact mouse layout - #978
Merged
Merged
Conversation
enaboapps
marked this pull request as ready for review
October 5, 2026 08:37
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.
The mouse panel previously used the keyboard's fixed 1180 by 460 rectangle. It now uses a 568 by 392 Medium layout. One shared Small/Medium/Large setting scales mouse, keyboard, Home and action menus, with content-based bounds and consistent pointer avoidance.
Closes #977.
Settings default to Medium for old configurations. Scan order, directional alignment, prediction slots and input behavior are preserved. Added tests cover geometry, fractional DPI, small screens, settings compatibility, stable prediction bounds and live size changes.
Validation: Node 24 lint, 254 UI tests, 12 script tests, prediction-model verification and production build passed. Rust 1.97.1 formatting, warning-denied Clippy, 639 library tests plus 7 configuration tests passed. Three explicit opt-in tests remain ignored in the ordinary suite. Native Windows synthetic rendering was visually inspected; macOS visual inspection is unavailable locally. See docs/panel-sizing.md for the reproducible fixture command. Independent review of latest head bb03a0c found no remaining actionable findings after widening Position-page utility cells. The native Position-page fixture was also inspected. All required CI passed on this head: frontend, Windows, macOS, dependency audit and CodeQL. CI run: https://github.com/switchifyapp/switchify-pc/actions/runs/37287043143. Updated with the release-cache fix from main; independent re-review confirmed the panel changes are unchanged. The user authorized merging; no release is included.