Slinetrac
a981be80ef
refactor(base): expand barrel exports and standardize imports
2026-01-06 15:02:10 +08:00
Sline
65b4d8713d
refactor: windows autostart ( #5941 )
...
* refactor(windows-autostart): switch to scheduled tasks with user/admin split
* fix(schtasks): decode stdout/stderr using Windows OEM/ANSI code pages
* refactor(ui): remove admin auto-launch warning and clean i18n
* feat(windows): user-level auto-launch via task XML
* docs: Changelog.md
2025-12-26 14:42:21 +08:00
Slinetrac
bae65a523a
chore: rename files to kebab-case and update imports
2025-12-09 13:52:42 +08:00
Sline
c8aa72186e
chore: i18n ( #5276 )
...
* chore: notice i18n
* feat: add script to clean up unused i18n keys
* chore: cleanup i18n keys
* refactor(i18n/proxies): migrate proxies UI to structured locale keys
* chore: i18n for rule module
* chore: i18n for profile module
* chore: i18n for connections module
* chore: i18n for settings module
* chore: i18n for verge settings
* chore: i18n for theme settings
* chore: i18n for theme
* chore(i18n): components.home.*
* chore(i18n): remove unused i18n keys
* chore(i18n): components.profile.*
* chore(i18n): components.connection
* chore(i18n): pages.logs.*
* chore(i18n): pages.*.provider
* chore(i18n): components.settings.externalCors.*
* chore(i18n): components.settings.clash.*
* chore(i18n): components.settings.liteMode.*
* chore(i18n): components.settings.backup.*
* chore(i18n): components.settings.clash.port.*
* chore(i18n): components.settings.misc.*
* chore(i18n): components.settings.update.*
* chore(i18n): components.settings.sysproxy.*
* chore(i18n): components.settings.sysproxy.*
* chore(i18n): pages.profiles.notices/components.providers.notices
* refactor(notice): unify showNotice usage
* refactor(notice): add typed showNotice shortcuts, centralize defaults, and simplify subscriptions
* refactor: unify showNotice usage
* refactor(notice): unify showNotice API
* refactor(notice): unify showNotice usage
* chore(i18n): components.test.*
* chore(i18n): components.settings.dns.*
* chore(i18n): components.home.clashInfo.*
* chore(i18n): components.home.systemInfo.*
* chore(i18n): components.home.ipInfo/traffic.*
* chore(i18n): navigation.*
* refactor(i18n): remove pages.* namespace and migrate route texts under module-level page keys
* chore(i18n): common.*
* chore(i18n): common.*
* fix: change error handling in patch_profiles_config to return false when a switch is in progress
* fix: improve error handling in patch_profiles_config to prevent requests during profile switching
* fix: change error handling in patch_profiles_config to return false when a switch is in progress
fix: ensure CURRENT_SWITCHING_PROFILE is reset after config updates in perform_config_update and patch_profiles_config
* chore(i18n): restructure root-level locale keys into namespaces
* chore(i18n): add missing i18n keys
* docs: i18n guide
* chore: adjust i18n
* refactor(i18n): align UI actions and status labels with common keys
* refactor(i18n): unify two-name locale namespaces
* refactor(i18n/components): unify locale keys and update component references
* chore(i18n): add shared and entities namespaces to all locale files
* refactor(i18n): consolidate shared and entity namespaces across features
* chore(deps): update npm dependencies to ^7.3.5 (#5310 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* refactor(i18n): migrate shared editor modes and consolidate entities namespaces
* tmp
* refactor(i18n): flatten locales and move theme/validation strings
* docs: CONTRIBUTING_i18n.md
* refactor(i18n): restructure feedback and profile namespaces for better organization
* refactor(i18n): unify settings locale structure and update references
* refactor(i18n): reorganize locale keys for home, proxies, rules, connections, logs, unlock, and tests
* refactor(i18n/feedback/layout): unify shared toasts & normalize layout namespace
* refactor(i18n): centralize common UI strings in shared
* refactor(i18n): flatten headers and unify locale schema
* refactor(i18n): consolidate duplicate per-feature translations into shared namespace
* refactor(i18n): split locales into per-namespace files
* style: lint
* refactor(i18n): unify unlock UI translations under tests namespace
* feat(i18n): add type-checked translation keys
* style: eslint import order
* feat(i18n): replace ad-hoc loader with rust-i18n backend bundles
* chore(prebuild): remove locale-copy step
* fix(i18n, notice): propagate runtime params and update cleanup script path
* fix(i18n,notice): make locale formatting idempotent and guard early notice translations
* fix(i18n): resolve locale aliases and match OS codes correctly
* fix(unlock): use i18next-compatible double-brace interpolation in failure notice
* fix(i18n): route unlock error notices through translation keys
* fix(i18n): i18n types
* feat(i18n): localize upgrade notice for Clash core viewer
* fix(notice): ensure runtime overrides apply to prefix translations
* chore(i18n): replace literal notices with translation keys
* chore(i18n): types
* chore(i18n): regen typings before formatting to keep keys in sync
* chore(i18n): simply labels
* chore(i18n): adjust translation
* chore: remove eslint-plugin-i18next
* chore(i18n): add/refine Korean translations across frontend scopes and Rust backend (#5341 )
* chore(i18n): translate settings.json (missed in previous pass) (#5343 )
* chore(i18n): add/refine Korean translations across frontend scopes and Rust backend
* chore(i18n): add/refine Korean translations across frontend scopes and Rust backend
* fix(i18n-tauri): quote placeholder-leading value in ko.yml to prevent rust_i18n parse panic
* chore(i18n): translate settings.json (forgot to include previously)
---------
Co-authored-by: rozan <34974262+thelojan@users.noreply.github.com>
2025-11-08 19:40:38 +08:00
Tunglies
e414b49879
Refactor imports across multiple components for consistency and clarity
...
- Reorganized import statements in various components to ensure consistent ordering and grouping.
- Removed unnecessary imports and added missing ones where applicable.
- Improved readability and maintainability of the codebase by standardizing import styles.
2025-09-19 00:01:04 +08:00
Tunglies
627119bb22
Refactor imports and improve code organization across multiple components and hooks
...
- Consolidated and reordered imports in various files for better readability and maintainability.
- Removed unused imports and ensured consistent import styles.
- Enhanced the structure of components by grouping related imports together.
- Updated the layout and organization of hooks to streamline functionality.
- Improved the overall code quality by following best practices in import management.
2025-09-18 23:34:38 +08:00
wonfen
2080dbdc0f
refactor: proxy control component and system settings UI
...
fix: handle tun toggle state after service uninstall
2025-08-29 20:46:45 +08:00
Tunglies
3f5cd6c26a
fix: resolve system proxy status detection and display inconsistency
...
- Fixed getSystemProxyActualState logic to properly check actual system status
- Unified system proxy state display across all components
- Replaced systemProxyIndicator with actualState for consistent UI display
- Updated components: setting-system, ProxyControlSwitches, proxy-tun-card
- Added entry to v2.4.0 changelog
2025-08-07 02:18:50 +08:00
wonfen
d5a174c71b
perf: improve proxy status indicator and toggle responsiveness
2025-06-23 12:59:24 +08:00
wonfen
628de70e89
chore: remove unused imports
2025-06-23 00:09:17 +08:00
Tunglies
cc39b2734e
fix: enhance system proxy toggle logic to account for autoproxy and sysproxy states
2025-06-12 22:42:33 +08:00
rebecca554owen
4f474e1098
feat: add proxy auto scroll toggle setting ( #3674 )
...
* feat: add proxy auto scroll toggle setting
* refactor: rename enable_proxy_auto_scroll to enable_hover_jump_navigator
* 参考 Unified Delay 调整式样
2025-06-11 13:21:24 +08:00
Tunglies
32ee1b36d2
refactor: replace isServiceAvailable with getRunningMode for service status checks
2025-05-26 16:08:16 +08:00
wonfen
e1d6c74e4f
refactor: extract service installation logic to custom hook and optimize related component handling
2025-05-17 19:11:17 +08:00
wonfen
d1a2bd78d7
perf: improve install status detection to ensure frontend consistency
2025-05-13 23:34:30 +08:00
Tunglies
1ddbe7c2cc
feat: add service uninstall functionality and improve service operation flow
2025-05-13 01:56:19 +08:00
Tunglies
6578cd8c51
fix: TUN switch button logical bug
2025-05-13 01:11:20 +08:00
Tunglies
5b6c9be99f
feat: better service status and TUN mode usable checks in Setting Page
2025-05-12 19:04:21 +08:00
wonfen
8296675574
refactor: notification system
2025-05-04 22:17:08 +08:00
wonfen
05b910dc17
feat: close all connections when disable sysporxy
2025-04-19 15:10:49 +08:00
wonfen
c718ef3058
chore: disable admin mode autolaunch limitation
2025-04-19 12:37:01 +08:00
wonfen
c53514e060
feat: unify runtime mode detection; support TUN and service installation in admin mode
2025-03-31 08:16:14 +08:00
wonfen
52a15bb281
feat: detect admin mode and warn about auto-start unavailability
2025-03-31 03:22:24 +08:00
wonfen
daad623855
fix: resolve toggle flicker for "Auto Start" and "DNS Override"
2025-03-27 12:30:15 +08:00
Tunglies
ff4101fa47
Revert "feat: front-end use RunningMode enum instead of string literals"
...
This reverts commit 72806357412d5ac5ce052be573713f26505b4f8f.
2025-03-26 22:17:29 +08:00
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 481e473b604da37e8b7cbe2c929dc12ba5b6c120.
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