refactor(service)!: remove the development service channel workflow (#8727)

* perf(traffic): shorten sidebar graph animation

* refactor(service)!: remove the development service channel workflow

Delete the verge-dev/dev-sidecar features, the dev.mjs script family,
and the CLASH_VERGE_DEV_SERVICE_DIR staging chain. Debug builds keep
the isolated .dev application data directory and dev sidecar IPC names
through #[cfg(debug_assertions)] instead of the removed feature.

Point clash_verge_service_ipc at tag v2.8.2.

* chore(service): track the development-channel removal draft

Point clash_verge_service_ipc at the removal branch while its PR is
open; flip to tag v2.8.2 once the service side merges.

* chore(service): track the released service 2.8.2

The removal branch merged as clash-verge-rev/clash-verge-service-ipc#105
(with the digest opt-in from clash-verge-rev/clash-verge-service-ipc#106
and the 2.8.2 release bump on top), so track the service repository's
main directly instead of the draft branch.
This commit is contained in:
Tunglies
2026-11-24 06:23:53 +00:00
committed by GitHub
parent 09da5a6a69
commit 332de8a178
15 changed files with 55 additions and 1540 deletions
+3 -6
View File
@@ -13,7 +13,8 @@ const upLineWidth = 4
const downLineAlpha = 1
const downLineWidth = 4
const sampleIntervalMs = 1000
const animationDurationMs = sampleIntervalMs
const animationDurationMs = 150
const scrollTransform = `translateX(${-100 / (maxPoint + 1)}%)`
const zeroTraffic: Traffic = { up: 0, down: 0, upTotal: 0, downTotal: 0 }
const createDefaultList = () =>
@@ -203,12 +204,8 @@ export function TrafficGraph({ ref }: { ref?: Ref<TrafficRef> }) {
performance.now() - animationStartRef.current,
animationDurationMs,
)
const step = canvas.getBoundingClientRect().width / (maxPoint + 1)
animation = canvas.animate(
[
{ transform: 'translateX(0)' },
{ transform: `translateX(${-step}px)` },
],
[{ transform: 'translateX(0)' }, { transform: scrollTransform }],
{ duration: animationDurationMs, easing: 'linear', fill: 'forwards' },
)
animation.currentTime = elapsed