feat(home): anchor the node card on rule targets

The card lists the groups rules point at and walks the picked one down to the node carrying its traffic.
This commit is contained in:
wonfen
2026-11-21 01:27:21 +08:00
parent 22188f98c9
commit e5e2cc8111
18 changed files with 325 additions and 203 deletions
+3
View File
@@ -82,6 +82,9 @@ export const translationKeys = [
'home.components.currentProxy.labels.directMode',
'home.components.currentProxy.labels.group',
'home.components.currentProxy.labels.proxy',
'home.components.currentProxy.labels.ruleTarget',
'home.components.currentProxy.labels.defaultRoute',
'home.components.currentProxy.labels.ruleCount',
'home.components.currentProxy.labels.noActiveNode',
'home.components.currentProxy.status.testing',
'home.components.currentProxy.status.untested',
+3
View File
@@ -69,11 +69,14 @@ export interface TranslationResources {
refreshDelay: string
}
labels: {
defaultRoute: string
directMode: string
globalMode: string
group: string
noActiveNode: string
proxy: string
ruleCount: string
ruleTarget: string
}
status: {
error: string