Skip to content

fix(tray): hide app to tray from tray menu#1404

Merged
kaizhou-lab merged 1 commit intoiOfficeAI:mainfrom
cdxiaodong:fix/tray-hide-to-tray
Mar 19, 2026
Merged

fix(tray): hide app to tray from tray menu#1404
kaizhou-lab merged 1 commit intoiOfficeAI:mainfrom
cdxiaodong:fix/tray-hide-to-tray

Conversation

@cdxiaodong
Copy link
Copy Markdown
Member

Summary

  • change the tray menu item from a close-to-tray toggle into a direct hide-to-tray action
  • hide the macOS dock when the app is hidden from the tray and restore it when showing the window again
  • update tray unit tests and tray menu translations to match the new behavior

Testing

  • bun run test tests/unit/tray.test.ts
  • node scripts/check-i18n.js
  • bunx tsc --noEmit (fails in current env: missing @sentry/vite-plugin and @sentry/electron before install)
  • manual tray verification on macOS

@kaizhou-lab kaizhou-lab merged commit a434a2f into iOfficeAI:main Mar 19, 2026
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.

2 participants