Commit Graph
37 Commits
Author SHA1 Message Date
wonfen 304f5bade9 perf(proxy): consolidate proxy data into a single IPC (#7542)
* feat(proxy): build deterministic proxy view

* feat(proxy): expose ordered proxy view command

* feat(proxy): add proxy view client contract

* fix(lint): allow Node test files

* feat(proxy): switch UI to ordered proxy view

* fix(proxy): harden ordered proxy view consumers

* fix(proxy): compare chain duplicates by current id

* fix(proxy): release mihomo guard after fetch

* fix(proxy): preserve semantic selections across refresh

* fix(proxy): block global chain without GLOBAL

* fix(proxy): handle proxy view edge states
2026-07-21 00:11:59 +08:00
oomeowandTunglies 562828e14d fix: provider proxy delay check (#7456)
* refactor(proxy): support delay testing for provider-based proxies

* style: remove debug console logs

* docs: update changelog

* feat(services): merge provider nodes into records in calcuProxies

---------

Co-authored-by: Tunglies <tunglies.dev@outlook.com>
2026-07-11 05:24:41 +00:00
Tunglies b1eb011050 refactor(ui): extract useProxyDelayState hook and tighten types
- Extract shared delay state logic from ProxyItem and ProxyItemMini
  into `useProxyDelayState` hook (src/hooks/use-proxy-delay-state.ts);
  JSX display thresholds preserved per-component.
- Deduplicate rAF/setTimeout/Promise scheduling in DelayManager via
  a private `scheduleOnNextFrame` helper.
- Drop no-op `useMemo(() => MODES, [])` in proxies page.
- Replace `any` on `setClashLog` prev params and layout-traffic sx
  objects with proper types (`pre!`, `Pick<BoxProps|...>`).
2026-04-19 17:25:57 +08:00
Tunglies 0e6d1d2476 fix(ui): unify delay color handling in ProxyItem and TestItem components #6829 2026-04-17 21:29:35 +08:00
Slinetrac c672a6fef3 refactor: lint (#6511)
* refactor: lint

* chore: remove eslint-plugin/config-prettier
2026-03-15 07:40:11 +00: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 ef9ccafe61 refactor: proxy components 2025-10-15 09:00:03 +08:00
Sukka 0c88568cd7 chore: make eslint happy (part 1) (#4890) 2025-09-30 14:19:49 +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
Chenx Dust aef96f0d27 feat: support mptcp and smux display (#1995)
Corresponding pull request in mihomo: https://github.com/MetaCubeX/mihomo/pull/1646
2024-11-16 01:35:22 +08:00
huzibaca 27a78af269 fix: syntax issues caused by upgrading mui5 2024-11-12 20:05:28 +08:00
MystiPanda 8bd8e149cf chore: hide delay for preset outbound 2024-06-21 00:16:41 +08:00
dongchengjie 4f7e8116cb feat: url-test支持手动选择、节点组fixed节点使用角标展示 (#840)
* feat: allow manual selection of url-test group

* feat: fixed proxy indicator

* fix: try to fix traffic websocket no longer updating

* fixup: group delay test use defined url
2024-04-09 13:15:45 +08:00
MystiPanda c65b280020 chore: Adjust styles 2024-03-10 13:24:38 +08:00
MystiPanda c69978c9fd fix: fontSize and some styles 2024-03-10 00:22:22 +08:00
AmnesiashandMystiPanda 3a0429d049 refactor: Upgrade to the new UI (#521)
Co-authored-by: MystiPanda <mystipanda@proton.me>
2024-03-09 21:37:21 +08:00
MystiPanda c309410965 chore: change style 2024-02-24 15:39:29 +08:00
MystiPanda 8619bd5be3 feat: Show current proxy for group node
#444
2024-02-24 13:09:53 +08:00
MystiPanda d1d9620a61 feat: Support custom delay timeout (#397) 2024-02-18 11:11:22 +08:00
MystiPanda cbccdf5d93 feat: Support hide group
#214
2024-01-11 12:34:05 +08:00
GyDi fbf230cd01 feat: adjust the delay display interval and color, close #836 2023-10-29 23:01:05 +08:00
GyDi 65769c7766 feat: display proxy group type 2022-11-23 18:27:57 +08:00
GyDi dace993c21 refactor: adjust base components export 2022-11-20 22:03:55 +08:00
GyDi 9dd3b8fd68 feat: optimize proxy page ui 2022-11-20 19:46:16 +08:00
GyDi 5fb1afc681 chore: adjust type 2022-11-19 17:22:29 +08:00
GyDi 97dfa18b9b fix: provider proxy sort by delay 2022-11-11 01:21:23 +08:00
GyDi 14f627d0d3 feat: display delay check result timely 2022-10-26 01:11:02 +08:00
GyDi 005c6bb9f1 feat: add proxy item check loading 2022-09-04 23:53:48 +08:00
GyDi 59c856fc0e feat: compatible with proxy providers health check 2022-09-04 22:55:54 +08:00
GyDi 786ea17f95 refactor: ts path alias 2022-08-06 02:35:11 +08:00
GyDi 11e4dfe940 fix: check button hover style 2022-04-10 03:33:17 +08:00
GyDi e7804d39b3 feat: optimize delay checker concurrency strategy 2022-04-10 02:58:48 +08:00
GyDi 357a0db03e fix: component warning 2022-03-05 15:48:39 +08:00
GyDi 40fc2b78d3 feat: filter proxy and display type 2022-02-27 00:58:14 +08:00
GyDi 678cf8a341 feat: support check delay 2022-02-16 02:22:01 +08:00
GyDi 3a0f1f6197 fix: import error 2022-02-15 01:36:19 +08:00
GyDi aeece6c201 chore: adjust files 2022-02-13 19:27:24 +08:00