1478 Commits

Author SHA1 Message Date
Slinetrac
fbe6cefbdb
fix: hover jump navigator 2025-10-19 16:00:45 +08:00
Tunglies
385ffafc67
fix: WindowProvider awful performance (#5119) 2025-10-18 22:49:55 +08:00
oomeow
96ce529b16
refactor: react router (#5073)
* refactor: react router

* chore: update

* fix: router

* refactor: generate router children by navItems

* chore: set start page when create window

* docs: update UPDATELOG.md
2025-10-18 20:25:31 +08:00
Tunglies
c2d7bf296a
feat: add allow auto update option for profiles and update UI components 2025-10-18 17:04:03 +08:00
Slinetrac
98725bbecf
fix: TS errors 2025-10-18 16:11:42 +08:00
Sline
c465000178
fix: update fallback (#5115)
* fix: update fallback

* test: introduce Vitest and add semver helper tests

* chore: merge vitest config into vite
2025-10-18 15:51:34 +08:00
Tunglies
28bcdc3706
feat: enhance ProxyControlSwitches with Tun Mode functionality and state management 2025-10-18 00:00:20 +08:00
wonfen
859d09ff8c
fix: undefined is not an object on connection table 2025-10-17 21:48:58 +08:00
Tunglies
bccde5ef6d
feat(locales): add "App Log Max Size" and "App Log Max Count" entries to English and Chinese localization files 2025-10-17 19:20:51 +08:00
Slinetrac
215ba4da63
perf(delay): cache latency updates and smooth proxy list refresh
- track delay as structured updates with TTL-backed cache
- batch listener notifications to avoid render storms during checks
- surface cached latency in proxy items for quicker, steadier UI feedback
2025-10-17 18:27:21 +08:00
Slinetrac
886d1a551a
refactor: useLayoutEffect 2025-10-17 15:11:36 +08:00
Slinetrac
d05bcc17f7
fix: untested and testing sort 2025-10-17 15:01:38 +08:00
Slinetrac
c63584daca
fix: timeout sort 2025-10-17 14:51:33 +08:00
Slinetrac
67d254236d
fix(profile): verify saved proxy exists before activation
- check selector-like groups’ all list before applying saved nodes
- warn and fall back when a stored proxy disappeared from the group
- keep existing auto-switch flow for matching nodes to avoid regressions
2025-10-16 19:29:19 +08:00
Slinetrac
fd5bddeb80
fix(backup): prevent immediate deletion before confirmation dialog 2025-10-16 16:54:25 +08:00
Slinetrac
88cde5d99d
fix(proxy): place timeout nodes at the end when sorting by latency 2025-10-16 11:51:57 +08:00
Slinetrac
41bc0e62a1
fix(home): scope cached proxy selection to active profile to prevent fallback reset on profile switch
Previously, Home card used global localStorage keys for selected proxy/group
(`clash-verge-selected-proxy(-group)`), causing cached selections from other
profiles to override the current one and reset the fallback to Direct when switching.

Now the cache keys are namespaced per profile, with migration of legacy values
and unified helpers (src/components/home/current-proxy-card.tsx:110–147),
ensuring each profile restores its own proxy state independently.
2025-10-16 09:39:57 +08:00
oomeow
592e7f846d
fix: incorrect delay status 2025-10-15 23:44:38 +08:00
Sline
0b4403b67b
refactor: frontend (#5068)
* refactor: setting components

* refactor: frontend

* fix: settings router
2025-10-15 18:57:44 +08:00
Slinetrac
ef9ccafe61
refactor: proxy components 2025-10-15 09:00:03 +08:00
Tunglies
7fab8eeaf6
feat: add "Prefer System Titlebar" localization to English and Chinese JSON files 2025-10-15 07:24:36 +08:00
Slinetrac
4f2633a62b
refactor: profile components 2025-10-14 23:45:12 +08:00
Slinetrac
5d114806f7
refactor: layout and log components 2025-10-14 22:13:14 +08:00
Slinetrac
06dc7a6ef4
refactor: home components 2025-10-14 21:57:33 +08:00
Slinetrac
8dbe3f8c48
refactor: connection components 2025-10-14 21:33:36 +08:00
Slinetrac
778d506be7
refactor: common components 2025-10-14 21:22:48 +08:00
Slinetrac
65cf6c387b
refactor: base components 2025-10-14 21:13:10 +08:00
Slinetrac
2e3174baa7
feat(proxy-groups, current-proxy-card): auto-refresh delay sorting
- proxy-groups: recalculate active group head and reapply delay sort after tests so list reorders automatically when "按延迟排序" is active.
- current-proxy-card: add delaySortRefresh trigger after auto/manual latency checks to immediately refresh selector and proxy list ordering.
- current-proxy-card: listen for delaySortRefresh to keep displayed delay chips and option ordering aligned with latest measurements.
2025-10-14 20:25:52 +08:00
Slinetrac
8760ed17dc
feat(current-proxy-card): add toggle for automatic delay detection 2025-10-14 19:27:41 +08:00
Sline
f541464ff4
feat: tray enhance (#5058)
* feat: proxy group sorting for tray

* feat(tray): add inline proxy groups toggle
2025-10-14 17:03:37 +08:00
Slinetrac
98527d5038
feat: import profiles with enter 2025-10-14 15:54:26 +08:00
Sline
51b08be87e
feat: local backup (#5054)
* feat: local backup

* refactor(backup): make local backup helpers synchronous and clean up redundant checks

- Converted local backup helpers to synchronous functions to remove unused async warnings and align command signatures.
- Updated list/delete/export commands to call the sync feature functions directly without awaits while preserving behavior.
- Simplified destination directory creation to always ensure parent folders exist without redundant checks, satisfying Clippy.
2025-10-14 14:52:04 +08:00
Slinetrac
db091f5d2e
feat(current-proxy-card): add automatic delay checks 2025-10-14 12:27:12 +08:00
Slinetrac
baebce4aad
fix(connection-table): patch DataGrid event handling to prevent Safari crash
- Ensure api.publishEvent is patched only once, retrying until the API is ready.
- Normalize missing event objects for Safari to avoid crashes.
- Restore the original handler and clear timers on unmount to keep the grid stable.
2025-10-14 11:52:51 +08:00
Slinetrac
1d725b8bde
feat: add claude, spotify and tiktok into unlock checker 2025-10-13 23:55:40 +08:00
Moon
15a0c30ccb
fix: linux border render (#5046) 2025-10-13 22:42:25 +08:00
Slinetrac
537a3000b6
chore: rm success notice 2025-10-13 19:04:40 +08:00
Sline
19246ac616
fix(profile): fix false failure notice after successful import (#5038)
- normalize profile urls so matching ignores casing/trailing slashes
- capture baseline profile state and confirm landing before showing success
- reuse shared success handler for normal and clash proxy retries
2025-10-12 23:21:32 +08:00
oomeow
1875e1b513
fix: incorrect maximize status on custom windows controller (#5033)
* fix: windows controller

* chore: update style

* chore: update style
2025-10-12 20:51:25 +08:00
oomeow
85f4afe2a1
perf: reduce reset scroller position 2025-10-12 15:09:20 +08:00
oomeow
5ce95d74a9
chore: cleanup 2025-10-12 13:03:42 +08:00
Tunglies
d531432f4a
fix: improve Service connection method and permissions for Windows and Unix 2025-10-11 23:41:24 +08:00
Tunglies
4f1d61a56e
Revert "fix: improve Service connection method and permissions for Windows and Unix"
This reverts commit 601e99f0b5046b50acd26afd2558c8270a85cac0.

Revert "refactor: clash-verge-rev-service-ipc (#4841)"

This reverts commit 5370bd45eda1086dae968535a159dadcecfe4de5.
2025-10-11 21:21:23 +08:00
Tunglies
5370bd45ed
refactor: clash-verge-rev-service-ipc (#4841)
* feat: update service installation scripts and IPC integration

- Updated `Cargo.toml` to use version 2.0.8 of `clash_verge_service_ipc` with "client" feature.
- Renamed service installation and uninstallation scripts in `post-install.sh` and `pre-remove.sh`.
- Removed `service_ipc` module and refactored IPC handling in `service.rs` to use the new `clash_verge_service_ipc` directly.
- Adjusted service version checking and core management to align with the new IPC structure.
- Simplified directory checks in `dirs.rs` and updated logging configurations in `init.rs`.
- Updated Linux configuration file to reflect new script names.
- Enhanced service installer hook to manage state more effectively.

* refactor: simplify ClashConfig instantiation and remove unused service log file function

* feat: update clash_verge_service_ipc to version 2.0.9 and enhance service initialization logging

* chore: update clash_verge_service_ipc to version 2.0.10 and refactor async service manager initialization

* fix: update clash_verge_service_ipc to version 2.0.11 and improve service manager initialization

* fix: increase sleep duration for socket readiness check to improve stability

* fix: update clash_verge_service_ipc to version 2.0.12 and kode-bridge to version 0.3.4; refactor service management and IPC path checks

* fix: update clash_verge_service_ipc to version 2.0.13; refactor service connection and initialization logic
2025-10-11 15:35:26 +08:00
Slinetrac
e4f1bab8fb
Reapply "fix: windows title bar only"
This reverts commit 7e05b8f13b24784b44268be07f3cc59faaa53dfe.
2025-10-10 08:25:08 +08:00
Tunglies
7e05b8f13b
Revert "fix: windows title bar and refactor old code (#4988)" this breaks UI page switch function
This reverts commit 03ab2410cc2ebdd1f70e9ce883d1b572fb58ff12.
2025-10-10 07:38:52 +08:00
Sline
e3cd16189b
fix: linux app theme (#4997) 2025-10-09 16:03:28 +08:00
Sline
bd9db1b4f7
fix: linux webkit error (#4995)
* fix: linux webkit error

* docs: UPDATELOG.md
2025-10-09 15:44:11 +08:00
renovate[bot]
a9d91a09c4
chore(deps): update dependency eslint-plugin-react-hooks to v7 (#4987)
* chore(deps): update dependency eslint-plugin-react-hooks to v7

* style: format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2025-10-09 12:58:14 +08:00
Slinetrac
d18b98304b
fix: windows title bar only 2025-10-09 12:34:36 +08:00