Release Tokcat 0.1.28#14
Merged
Merged
Conversation
Register a global Ctrl+Cmd+T shortcut in Rust to toggle the popover from anywhere. Route every explicit dismiss (Ctrl+Cmd+T, tray-click toggle, and the frontend's hide_popover command for Cmd+W / Esc) through a shared helper that calls NSApp hide, so keyboard focus returns to the previously frontmost app instead of stranding the accessory app with no key window. The blur-hide path is left untouched since focus has already moved to whatever stole it.
Cmd-only, cmd-exclusive shortcuts for settings, refresh, direct/prev/next tab switching, the 2D/3D toggle, and update checks. Plus three affordances: a translucent hint pin on each control while Cmd is held, a spinning refresh icon while a manual refresh is in flight, and Cmd+W (like Esc) closing an open settings/about modal before it falls through to hiding the popover.
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.
Tokcat 0.1.28
Keyboard shortcuts
Ctrl+Cmd+Ttoggles the popover from anywhere (registered natively in Rust)Cmd+,settings ·Cmd+Rrefresh ·Cmd+W/Escclose ·Cmd+Qquit ·Cmd+1–9jump to tab ·Cmd+[/Cmd+]prev/next tab ·Cmd+G2D/3D ·Cmd+UupdatesCmdto reveal translucent shortcut-hint pins on each controlPolish
Ctrl+Cmd+T/ tray /Cmd+W/Esc) returns focus to the previously frontmost appCmd+W/Esccloses an open settings/about modal before it falls through to hiding the popoverVerified:
tscclean,cargo checkclean, in-browser checks for the spin and modal-awareCmd+W.