cherry-studio/src/main
beyondkmp b1a39e9b38
feat: support custom minimize, maximize and close (#9847)
* feat: add window control functionality for Windows and Linux

- Introduced new IPC channels for window management: minimize, maximize, unmaximize, close, and check maximized state.
- Implemented window control buttons in the UI, allowing users to minimize, maximize, and close the application.
- Enhanced Navbar and TabContainer components to include window controls, improving user experience on non-Mac platforms.
- Styled window control buttons for better visual integration.

This update enhances the application's usability by providing essential window management features.

* add tooltip

* fix macos

* lint error

* update i18n

* lint

* fix: add WindowControls to MinApp popup and improve hover styles

- Add WindowControls component to MinappPopupContainer title bar for Windows/Linux
- Fix ButtonsGroup overlap with WindowControls by adding proper margin
- Improve WindowControls hover background visibility by using rgba(128,128,128,0.3)
- Ensure WindowControls is positioned at the right edge of title bar

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* lint

* add types

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-05 12:30:01 +08:00
..
configs fix[SelectionAssistant]: shift+click behavior in macOS and clipboard behavior in Windows (#8390) 2025-07-23 17:24:26 +08:00
integration feat: add cherryin provider (#9681) 2025-08-30 20:09:35 +08:00
knowledge fix: remove youtube render (#9920) 2025-09-05 11:15:26 +08:00
mcpServers fix: mcp-auto-install cannot start (#9015) 2025-08-27 22:46:42 +08:00
services feat: support custom minimize, maximize and close (#9847) 2025-09-05 12:30:01 +08:00
utils ci: auto i18n (#9889) 2025-09-04 19:51:15 +08:00
bootstrap.ts refactor: move initAppDataDir function to a new utils module (#8337) 2025-07-21 15:46:14 +08:00
config.ts feat: add cherryin provider (#9681) 2025-08-30 20:09:35 +08:00
constant.ts feat: support portable config dir (#5039) 2025-04-24 17:23:56 +08:00
electron.d.ts feat: add the ability to display the application in tray #297 2024-11-09 08:42:09 +08:00
env.d.ts feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
index.ts feat: enable additional GPU channel features and improve crash reportdetails in renderer (#8819) 2025-08-04 18:45:17 +08:00
ipc.ts feat: support custom minimize, maximize and close (#9847) 2025-09-05 12:30:01 +08:00