feat(desktop): add and verify macOS keyboard shortcuts - #7
Merged
Conversation
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.
概要
⌘,设置、⌘F搜索、⌘R同步、⌘1返回论文流⌘K搜索和Esc关闭引用菜单补充测试⌘Q/⌘W后后台服务未退出的问题原因与影响
桌面端原先没有接入 macOS 最经典的设置快捷键,部分常用操作也缺少原生菜单入口。现在这些操作可通过标准 macOS 快捷键使用,并能在菜单中发现。退出或关闭应用时,本地 sidecar 会一并停止,避免残留进程占用端口影响下次启动。
验证
npm test -- --run:26 项测试通过npm run lint:通过npm run build:通过cargo fmt -- --check:通过cargo check:通过cargo test:通过uv run pytest tests -q:447 项测试通过