Skip to content

feat(desktop): add and verify macOS keyboard shortcuts - #7

Merged
SepineTam merged 9 commits into
masterfrom
codex/macos-shortcuts
Jul 14, 2026
Merged

feat(desktop): add and verify macOS keyboard shortcuts#7
SepineTam merged 9 commits into
masterfrom
codex/macos-shortcuts

Conversation

@SepineTam

Copy link
Copy Markdown
Owner

概要

  • 增加 macOS 原生菜单快捷键:⌘, 设置、⌘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 项测试通过
  • macOS 调试应用实机验证:设置、搜索、同步、论文流、编辑、全屏、隐藏、关闭和退出行为通过

@SepineTam
SepineTam merged commit 8e4f58d into master Jul 14, 2026
6 checks passed
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