Commit Graph

48 Commits

Author SHA1 Message Date
Tunglies
7280635741 feat: front-end use RunningMode enum instead of string literals 2025-03-26 22:10:42 +08:00
Tunglies
7ede91599c fix: standardize RunningMode handling between frontend and backend
This commit improves the type consistency between the Rust backend and TypeScript frontend by:

1. Modifying the Rust `get_running_mode()` command to return a String instead of RunningMode enum directly
2. Removing the RunningMode enum and IRunningMode interface from TypeScript types
3. Using string literals for mode comparison in frontend components
4. Standardizing on capitalized mode names (e.g., "Sidecar" instead of "sidecar")

These changes ensure proper serialization/deserialization between backend and frontend,
making the code more maintainable and reducing potential inconsistencies.
2025-03-26 22:04:16 +08:00
Tunglies
98d3a48710 refactor: replace println with logging in core validation and tray quit function 2025-03-26 04:31:38 +08:00
wonfen
530669d288 fix: auto launch 2025-03-17 13:51:52 +08:00
wonfen
6239f81f36 feat: sync auto-start status 2025-03-17 09:48:44 +08:00
wonfen
44ca513241 fix: sync system proxy status indicator with hotkey 2025-03-04 06:57:42 +08:00
wonfen
07bdc108ed feat: show service mode installation prompts in user mode 2025-03-03 14:42:31 +08:00
wonfen
f00a5af6c9 feat: Add system proxy status indicators 2025-02-19 13:56:22 +08:00
huzibaca
52899d4def chore: remove unused code 2024-11-21 11:13:11 +08:00
wonfen
03eedf6175 chore: update info & i18n 2024-11-14 03:01:37 +08:00
huzibaca
9b2b447b8b feat: Modify startup logic and install services by default 2024-10-10 00:34:36 +08:00
huzibaca
c5eacd1627 chore: revert 2024-10-06 01:09:59 +08:00
huzibaca
5fdb52d8d0 refactor: tun mode is turned on and off, does not depend on services, and does not affect other configurations 2024-10-05 22:45:59 +08:00
wonfen
32b16790d3 chore: add service mode info 2024-09-30 01:04:15 +08:00
MystiPanda
b09d5ff3c9 fix: unified switch style 2024-07-15 20:42:00 +08:00
MystiPanda
43fc97137e feat: optimize the service mode interaction logic. 2024-07-15 20:02:05 +08:00
MystiPanda
d9d9ca67cd chore: unified icon style 2024-07-13 19:01:16 +08:00
dongchengjie
c89ccf7185 refactor: extract tooltip icon as component 2024-06-26 08:10:18 +08:00
dongchengjie
753395965a chore: tooltips and locales 2024-06-26 05:33:06 +08:00
MystiPanda
9a04208a11 Revert "feat: disable running with admin permission and check service mode"
This reverts commit 481e473b60.
2024-06-16 12:06:23 +08:00
MystiPanda
481e473b60 feat: disable running with admin permission and check service mode 2024-06-14 23:15:49 +08:00
wonfen
6c6ccda6b3 Style: modify proxy pages 2024-06-07 10:32:27 +08:00
dongchengjie
16b11fee31 chore: text overflow word-wrap & cleanup 2024-05-20 12:38:41 +08:00
MystiPanda
e95808e6be feat: Try support service mode for MacOS 2024-03-31 23:16:47 +08:00
HZ is not Chatty
b0f1ce1fa0 feat: Service Mode for Linux (#804) 2024-03-31 16:16:23 +08:00
Amnesiash
3a0429d049 refactor: Upgrade to the new UI (#521)
Co-authored-by: MystiPanda <mystipanda@proton.me>
2024-03-09 21:37:21 +08:00
MystiPanda
7551b45da2 feat: Support Tun Config (#416) 2024-02-20 23:27:03 +08:00
MystiPanda
a62dd4c020 chore: add tooltip for tun mode 2024-02-19 18:10:10 +08:00
GyDi
cb48545600 fix: adjust service mode ui 2022-11-23 17:45:22 +08:00
GyDi
b4bc4f5ddc fix: service ref error 2022-11-21 22:33:06 +08:00
GyDi
32b72f0ef6 refactor: adjust setting dialog component 2022-11-20 21:48:39 +08:00
GyDi
3dbc54c8ae fix: use verge hook 2022-11-20 20:12:58 +08:00
GyDi
5fb1afc681 chore: adjust type 2022-11-19 17:22:29 +08:00
GyDi
04f4934adb fix: style 2022-09-11 18:38:51 +08:00
GyDi
b254ad177a feat: system proxy setting 2022-09-07 01:51:43 +08:00
GyDi
e8a2b9446d feat: adjust runtime config 2022-08-15 01:30:37 +08:00
GyDi
2b0880af80 feat: adjust setting page style 2022-08-06 03:48:03 +08:00
GyDi
786ea17f95 refactor: ts path alias 2022-08-06 02:35:11 +08:00
GyDi
c699bae99c fix: icon style 2022-08-06 01:44:33 +08:00
GyDi
1e7a86b7c0 feat: runtime config viewer 2022-07-25 01:20:13 +08:00
GyDi
d45ad76fbc feat: windows service mode ui 2022-04-25 16:12:04 +08:00
GyDi
7b7e6555c1 feat: supports silent start 2022-03-26 18:56:16 +08:00
GyDi
97254a1e3a feat: i18n supports 2022-03-12 23:07:45 +08:00
GyDi
acb5fc6393 feat: clash tun mode supports 2022-02-25 02:09:39 +08:00
GyDi
961ed728a1 feat: use enhanced guard-state 2022-02-25 01:22:33 +08:00
GyDi
bf15580081 feat: system proxy guard 2022-02-20 18:53:21 +08:00
GyDi
b7bad0f585 feat: edit system proxy bypass 2022-02-14 01:26:24 +08:00
GyDi
7038776ec5 feat: adjust setting typography 2022-01-17 02:42:52 +08:00