Repository navigation
Conversation
…, and add unit tests - Split grid layout engine, state machine, views, panel, and controller into modular files and add SquirrelTests XCTest target - Harden candidate cache invalidation, preedit caret right-arrow passthrough, chord_typing space passthrough, label/hotkey parity, dynamic appearance color blending, above-cursor shrink/flipped-side transitions, and continuous trackpad scrolling - Default -/= to single-row stepping matching Up/Down arrows and add grid_paging_mode (row | page) while keeping PageUp/PageDown full-screen - Add SquirrelInputPositionTracker to compensate for stale IMKClient cursor coordinates when dragging host windows
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.
Ref #844
Adds a macOS native-style expandable multi-row candidate grid for linear + horizontal layouts (opt-in via style/expandable_grid: true, default false to preserve existing behavior):
Single-line collapsed bar with fixed width (style/grid_width, defaulting to 9 single-char CJK candidates) and inline expand chevron.
Expands via Down / Page_Down / = / chevron click into a uniform equal-slot multi-row grid with lazy librime candidate fetching (candidate_list_from_index).
Active-row-only selection labels (1-9, 0 for 10th) and configurable row/background styles (grid_row_style: native | border, grid_background_style: auto | glass | blur | solid).
Smooth GPU-accelerated CoreAnimation transitions and pill-masked text color inversion (grid_animation: true).
Documented options in data/squirrel.yaml.
squirrel_expandable_grid_demo.mp4