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

Feature/cycle popup v2 #1013

Closed

Conversation

alexisgaziello
Copy link

Option B, code is not ready to get merged, but behavior is ready to get tested

- Added the option to record a shortcut for "cycling over the selection
  on repeated press". Quick and easy way to iterate over common used
  paste options.
  - CycleSelection is where most of the logic is stored. We use CGEvent instead
    of NSEvent.addGlobalXMonitorForEvents because the latter doesn't allow
    taking over the event, which can lead to weird behavior. Note: right now
    this leads to a mix of NSEvent and CGEvent in the code which is not ideal.

- Added tests for new feature
- Split class MaccyUITests into BaseTest to re-use code
@alexisgaziello alexisgaziello force-pushed the feature/cycle-popup-v2 branch from 343c58b to 6e85319 Compare January 6, 2025 13:25
@alexisgaziello alexisgaziello force-pushed the feature/cycle-popup-v2 branch 2 times, most recently from 5e06f05 to b776c1e Compare January 6, 2025 23:39
@alexisgaziello alexisgaziello force-pushed the feature/cycle-popup-v2 branch from b776c1e to c238bf4 Compare January 7, 2025 21:08
@alexisgaziello
Copy link
Author

Closed in favor of: #1016

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