Repository navigation
feat(gui): record custom shortcuts and edit actions ring slots inline - #2719
Open
lucas77778 wants to merge 11 commits into
Open
lucas77778 wants to merge 11 commits into
lucas77778 wants to merge 11 commits into
Conversation
Preserve modifier side in the key model and in platform key injection. Display Command on macOS while keeping saved shortcut names portable.
Ignore repeated key presses and complete a chord after its keys are released. Preserve the side of a modifier recorded on its own.
Feed native key transitions to the shared recorder. Handle macOS modifier flag changes and distinguish Windows AltGr from a physical Ctrl press.
Retire an active capture when its client cancels or a newer request arrives. Pin the request, recorded chord, and permission error to their wire encodings.
Keep a selected action in its slot before it has a value. Resolve its icon consistently in the editor and overlay, including the folder, type, and layers glyphs.
Group the five configurable actions under Shortcut and assign the chosen action immediately. Record keys or edit the selected value in place, with cancellation, conflict feedback, and localized prompts.
Confidence Score: 5/5
[High impact] The PR appears safe to merge; all previous findings are addressed and no new blocking issue was found.
|
This branch has not been deployed
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.
Summary
Record custom shortcuts on macOS and Windows and edit configurable Actions Ring slots in place.
Changes
openlogi-desktopandopenlogi-uigroup Custom Shortcut, Open Application or Folder, Type Text, Run AppleScript (macOS), and Run Shell Command under Shortcut. Selecting an action assigns it immediately. The list and ring show the same slot icon.openlogi-hook,openlogi-agent, andopenlogi-ipccapture keys for the inline recorder. Release all keys to save, or click × or move focus away to keep the previous binding.openlogi-core,openlogi-inject, andopenlogi-desktoppreserve the side of a standalone modifier and compare shortcuts by the keys they send. In the same enabled ring layout, an existingCmd+Kblocks a recorded⌘Kon macOS andCtrl+Kon Windows.Screenshots
Saved shortcut

Recording a shortcut on macOS

Testing
cargo clippy --workspace --all-targets -- -D warningscargo test --workspaceon macOS (4,946 passed, 5 ignored), including duplicate detection and preservation of the previous binding.cargo xtask ci clippy-windows(cross-checked from macOS).