Commit Graph

367 Commits

Author SHA1 Message Date
zhom ecafb5e1c0 refactor: cleanup 2026-05-29 06:31:42 +04:00
andy 072cb24e5b Merge pull request #391 from huy97/feature/close-confirm-tray-dialog
feat: confirm minimize-to-tray or quit when closing the window
2026-05-28 17:54:09 -07:00
JockLee f730fd958d fix: improve macOS permission grant feedback 2026-05-29 05:09:56 +07:00
Huy Le Tien fdecf445ec feat: confirm minimize-to-tray or quit when closing the window
Intercept the main window CloseRequested event so the user can choose
between minimizing the app to the system tray and quitting, instead of
the close button immediately tearing the process down.

- Add an on_window_event handler that prevents close, emits
  close-confirm-requested, and lets the next CloseRequested through
  once confirm_quit flips a QUIT_CONFIRMED flag.
- Add a TrayIconBuilder in the main process with Show / Quit menu items
  and a left-click handler that restores the window. Tray icon is
  decoded via the image crate so the donut glyph renders on every
  platform.
- Add hide_to_tray command used by the dialog's Minimize action.
- New CloseConfirmDialog React component mounted in app/page.tsx.
- Enable Tauri features tray-icon and image-png.
- Add closeConfirm strings across all eight locale files.

The existing standalone donut-daemon tray binary is left untouched.
2026-05-29 00:10:48 +07:00
JockLee d5f260bd7e fix: open cloud login in external browser 2026-05-27 20:09:00 +07:00
zhom 9236ad38c8 refactor: cleanup 2026-05-25 02:19:20 +04:00
zhom 69da467ce0 refactor: cleanup, korean translation 2026-05-23 14:22:45 +04:00
zhom 36263eac04 feat: add shortcuts 2026-05-17 21:02:11 +04:00
zhom c84d547a8c feat: more mcp integrations 2026-05-15 19:59:44 +04:00
zhom c8a43b43f1 refactor: ui cleanup 2026-05-15 15:44:20 +04:00
zhom 56b0da990b refactor: cleanup 2026-05-14 20:04:19 +04:00
zhom f02397dba9 refactor: creation button disaster recovery 2026-05-12 20:50:29 +04:00
zhom 405d7c5716 fix: pass correct parameter for dns list selection 2026-05-12 13:17:29 +04:00
zhom 2633e2ba09 refactor: better error handling and prevention of creating ephemeral password protected profiles 2026-05-12 13:03:34 +04:00
zhom 9c1cb011a5 refactor: ui cleanup 2026-05-12 01:22:04 +04:00
zhom ed3c209f35 feat: full ui refresh 2026-05-11 23:13:03 +04:00
zhom bc3c2c8cca chore: copy 2026-05-10 04:45:46 +04:00
zhom b4a8fd04d8 feat: password protected profiles 2026-05-10 04:32:59 +04:00
zhom 34450ad06b refactor: cleanup 2026-05-05 22:34:56 +04:00
zhom 904dda2bad chore: copy 2026-05-05 22:34:56 +04:00
zhom 57167b979f chore: copy 2026-04-30 00:23:20 +04:00
zhom f8ce56481f chore: i18n 2026-04-28 23:50:56 +04:00
zhom 18b28ce0cb fix: link proper wayfern tos 2026-04-27 00:26:22 +04:00
zhom ce76c1381f refactor: vpn refresh and remove openvpn support 2026-04-27 00:26:22 +04:00
zhom a322c97d64 refactor: auth and wayfern 2026-04-25 16:30:59 +04:00
zhom 3152e0de59 feat: shadowsocks 2026-04-19 19:40:55 +04:00
zhom e293c36b97 refactor: cleanup 2026-04-16 08:15:58 +04:00
zhom cb5b667ef9 style: button should not become bigger on hover 2026-04-12 13:54:50 +04:00
zhom 7cb541b6c7 style: scrollbars 2026-04-12 13:54:50 +04:00
zhom feb7afaf30 refactor: x64 performance 2026-04-12 13:54:50 +04:00
zhom c62ac6288e refactor: save port 2026-04-11 18:54:26 +04:00
zhom cff3f521c1 style: copy 2026-04-11 17:12:21 +04:00
zhom 3f1f11001e refactor: cleanup 2026-04-08 12:48:42 +04:00
zhom 7d03968123 refactor: dynamic proxy 2026-04-08 10:37:43 +04:00
zhom 214e558a4c refactor: linux auto updates 2026-04-04 03:16:29 +04:00
zhom 48883ddd03 refactor: more robust vpn handling 2026-04-04 03:16:04 +04:00
zhom 088f36e38f feat: captcha on email input 2026-04-02 06:19:55 +04:00
zhom c8c2419ff1 chore: copy and backlink 2026-03-31 14:43:52 +04:00
zhom 35723de96a feat: dns block lists 2026-03-31 14:21:31 +04:00
zhom e388e2e85a refactor: don't allow portable build to be set as the default browser 2026-03-29 15:47:53 +04:00
zhom decfdfcfc7 chore: linting 2026-03-29 15:01:26 +04:00
zhom c516999f7a feat: portable build 2026-03-29 14:55:20 +04:00
zhom a3514df0d4 refactor: show app version in settings 2026-03-29 13:02:41 +04:00
zhom 612c6610ce chore: linting 2026-03-28 23:31:20 +04:00
zhom ba750a3401 chore: linting 2026-03-28 20:59:00 +04:00
zhom d0e3e15fd3 chore: linting 2026-03-28 20:55:10 +04:00
zhom ad18966294 refactor: better claude integration 2026-03-24 09:05:52 +04:00
zhom 888631bc48 refactor: anyone can use e2ee except non-owner team members 2026-03-24 00:55:51 +04:00
zhom cd5fd2c970 refactor: remove executable_path 2026-03-24 00:07:50 +04:00
zhom 7092f2155b refactor: make sync more robust 2026-03-24 00:07:50 +04:00