Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor key-bindings and pointer event handlers and fixed meta pressed on macos #233

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

lamba92
Copy link
Collaborator

@lamba92 lamba92 commented Oct 31, 2023

Key-bindings and pointer event handlers in SelectableLazyColumn and related tree views have been refactored for improved clarity and usability. This includes changes in default keybindings for selectable columns and adjustments in the hierarchical structure of key event handling for better organization and logic flow. Pivotal changes were made in the naming and function calls related to multi-selection and contiguous selection key events.

@lamba92 lamba92 requested review from rock3r and fscarponi October 31, 2023 17:51
@lamba92 lamba92 self-assigned this Oct 31, 2023
@rock3r rock3r enabled auto-merge (squash) October 31, 2023 18:53
@rock3r rock3r removed the request for review from fscarponi October 31, 2023 19:05
@rock3r rock3r disabled auto-merge October 31, 2023 19:05
@rock3r rock3r enabled auto-merge (squash) October 31, 2023 19:06
…ed on macos.

Key-bindings and pointer event handlers in SelectableLazyColumn and related tree views have been refactored for improved clarity and usability. This includes changes in default keybindings for selectable columns and adjustments in the hierarchical structure of key event handling for better organization and logic flow. Pivotal changes were made in the naming and function calls related to multi-selection and contiguous selection key events.
This commit refactor methods related to KeyEvent in different classes to properties. Operator functions for key event handling were replaced with their equivalent properties, for better clarity and readability. This includes alterations in naming conventions like 'selectParent()' to 'isSelectParent' which are more expressive and intuitive to understand their underlying functionality.
Updated KeyBindingActions interface to KeyActions and renamed methods to properties for improved clarity. This change better conveys what these properties are doing and makes their functionality more intuitive to understand. This encompasses modifications in method names such as 'selectParent()' to 'isSelectParent'.
@rock3r rock3r force-pushed the lamberto.basti/meta-pressed-macos branch from 56b30ab to 3a9eab0 Compare October 31, 2023 19:06
@rock3r rock3r merged commit 59ff624 into main Oct 31, 2023
11 checks passed
@rock3r rock3r deleted the lamberto.basti/meta-pressed-macos branch October 31, 2023 19:14
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.

2 participants