This is an automated email from the ASF dual-hosted git repository. wu-sheng pushed a commit to branch feat/template-modes-env-config in repository https://gitbox.apache.org/repos/asf/skywalking-horizon-ui.git
commit 032adb5fc54a9e90e192b9d1bea1c80a6bb260a0 Author: Wu Sheng <[email protected]> AuthorDate: Fri Jun 26 09:04:56 2026 +0800 refactor(cluster): fold the Env var column into the Gates description Drop the standalone Env var column; the selector now reads as an 'Enable on OAP: SW_X=default' line under each feature's Gates description. Four columns (Feature / State / Probe path / Gates) read cleaner now that reachability — not the selector — is the verdict. --- .../features/operate/cluster/ClusterStatusView.vue | 23 +++++++++++++++------- apps/ui/src/i18n/locales/de.json | 3 ++- apps/ui/src/i18n/locales/en.json | 3 ++- apps/ui/src/i18n/locales/es.json | 3 ++- apps/ui/src/i18n/locales/fr.json | 3 ++- apps/ui/src/i18n/locales/ja.json | 3 ++- apps/ui/src/i18n/locales/ko.json | 3 ++- apps/ui/src/i18n/locales/pt.json | 3 ++- apps/ui/src/i18n/locales/zh-CN.json | 3 ++- 9 files changed, 32 insertions(+), 15 deletions(-) diff --git a/apps/ui/src/features/operate/cluster/ClusterStatusView.vue b/apps/ui/src/features/operate/cluster/ClusterStatusView.vue index 45ed9ba..05431b2 100644 --- a/apps/ui/src/features/operate/cluster/ClusterStatusView.vue +++ b/apps/ui/src/features/operate/cluster/ClusterStatusView.vue @@ -233,7 +233,6 @@ function refreshAll(): void { <th>{{ t('Feature') }}</th> <th>{{ t('State') }}</th> <th>{{ t('Probe path') }}</th> - <th>{{ t('Env var') }}</th> <th>{{ t('Gates') }}</th> </tr> </thead> @@ -252,8 +251,10 @@ function refreshAll(): void { </div> </td> <td class="modpath"><code>{{ m.probePath }}</code></td> - <td class="modenv"><code>{{ m.envVar }}</code></td> - <td class="modaffects">{{ t(m.affects) }}</td> + <td class="modaffects"> + {{ t(m.affects) }} + <span class="env-ref">{{ t('Enable on OAP:') }} <code>{{ m.envVar }}=default</code></span> + </td> </tr> </tbody> </table> @@ -520,16 +521,24 @@ function refreshAll(): void { .mod-table tbody tr:last-child td { border-bottom: none; } -.mod-table tr.off .modname code, -.mod-table tr.off .modenv code { +.mod-table tr.off .modname code { color: var(--sw-fg-2); } -.modname code, -.modenv code { +.modname code { font-family: var(--sw-mono); font-size: var(--sw-fs-sm); color: var(--sw-fg-0); } +.env-ref { + display: block; + margin-top: 4px; + font-size: var(--sw-fs-xs); + color: var(--sw-fg-3); +} +.env-ref code { + font-family: var(--sw-mono); + color: var(--sw-fg-2); +} .modaffects { line-height: var(--sw-lh-relaxed); color: var(--sw-fg-2); diff --git a/apps/ui/src/i18n/locales/de.json b/apps/ui/src/i18n/locales/de.json index 3da9721..fe09296 100644 --- a/apps/ui/src/i18n/locales/de.json +++ b/apps/ui/src/i18n/locales/de.json @@ -1547,5 +1547,6 @@ "selector not detected": "Selektor nicht erkannt", "all reachable": "alle erreichbar", "{n} unreachable": "{n} nicht erreichbar", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Erreichbarkeit jeder Admin-Funktion — der BFF sendet ein GET an den relativen REST-Pfad, den die Funktion tatsächlich aufruft, und meldet, ob er [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Erreichbarkeit jeder Admin-Funktion — der BFF sendet ein GET an den relativen REST-Pfad, den die Funktion tatsächlich aufruft, und meldet, ob er [...] + "Enable on OAP:": "Auf OAP aktivieren:" } diff --git a/apps/ui/src/i18n/locales/en.json b/apps/ui/src/i18n/locales/en.json index cdb5e69..63f9e62 100644 --- a/apps/ui/src/i18n/locales/en.json +++ b/apps/ui/src/i18n/locales/en.json @@ -1547,5 +1547,6 @@ "selector not detected": "selector not detected", "all reachable": "all reachable", "{n} unreachable": "{n} unreachable", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is th [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is th [...] + "Enable on OAP:": "Enable on OAP:" } diff --git a/apps/ui/src/i18n/locales/es.json b/apps/ui/src/i18n/locales/es.json index 8ac4dfb..292b594 100644 --- a/apps/ui/src/i18n/locales/es.json +++ b/apps/ui/src/i18n/locales/es.json @@ -1547,5 +1547,6 @@ "selector not detected": "selector no detectado", "all reachable": "todos accesibles", "{n} unreachable": "{n} inaccesible(s)", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Accesibilidad de cada función de administración: el BFF hace un GET a la ruta REST relativa que la función realmente llama e informa si responde. [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Accesibilidad de cada función de administración: el BFF hace un GET a la ruta REST relativa que la función realmente llama e informa si responde. [...] + "Enable on OAP:": "Activar en OAP:" } diff --git a/apps/ui/src/i18n/locales/fr.json b/apps/ui/src/i18n/locales/fr.json index 690208d..5a93b26 100644 --- a/apps/ui/src/i18n/locales/fr.json +++ b/apps/ui/src/i18n/locales/fr.json @@ -1547,5 +1547,6 @@ "selector not detected": "sélecteur non détecté", "all reachable": "tous accessibles", "{n} unreachable": "{n} inaccessible(s)", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Accessibilité de chaque fonctionnalité d'administration — le BFF envoie un GET sur le chemin REST relatif que la fonctionnalité appelle réellemen [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Accessibilité de chaque fonctionnalité d'administration — le BFF envoie un GET sur le chemin REST relatif que la fonctionnalité appelle réellemen [...] + "Enable on OAP:": "Activer sur OAP :" } diff --git a/apps/ui/src/i18n/locales/ja.json b/apps/ui/src/i18n/locales/ja.json index 55ed2db..6dd4723 100644 --- a/apps/ui/src/i18n/locales/ja.json +++ b/apps/ui/src/i18n/locales/ja.json @@ -1547,5 +1547,6 @@ "selector not detected": "selector を検出せず", "all reachable": "すべて到達可能", "{n} unreachable": "{n} 件が到達不可", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "各管理機能の到達可能性 —— BFF は機能が実際に呼び出す相対 REST パスへ GET し、応答するかどうかを報告します。健全性は設定の有無ではなくライブプローブで判定されます。404 を返すパス(selector が無効、リネーム、またはフォークで欠落)は到達不可とみなされます。下の [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "各管理機能の到達可能性 —— BFF は機能が実際に呼び出す相対 REST パスへ GET し、応答するかどうかを報告します。健全性は設定の有無ではなくライブプローブで判定されます。404 を返すパス(selector が無効、リネーム、またはフォークで欠落)は到達不可とみなされます。下の [...] + "Enable on OAP:": "OAP で有効化:" } diff --git a/apps/ui/src/i18n/locales/ko.json b/apps/ui/src/i18n/locales/ko.json index 3f6dd9a..7909e29 100644 --- a/apps/ui/src/i18n/locales/ko.json +++ b/apps/ui/src/i18n/locales/ko.json @@ -1547,5 +1547,6 @@ "selector not detected": "selector 감지 안 됨", "all reachable": "모두 도달 가능", "{n} unreachable": "{n}개 도달 불가", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "각 관리 기능의 도달 가능성 — BFF가 해당 기능이 실제로 호출하는 상대 REST 경로로 GET 요청을 보내 응답 여부를 보고합니다. 상태는 설정 존재 여부가 아니라 실시간 프로브로 판단합니다. 404를 반환하는 경로(selector 꺼짐, 이름 변경 또는 [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "각 관리 기능의 도달 가능성 — BFF가 해당 기능이 실제로 호출하는 상대 REST 경로로 GET 요청을 보내 응답 여부를 보고합니다. 상태는 설정 존재 여부가 아니라 실시간 프로브로 판단합니다. 404를 반환하는 경로(selector 꺼짐, 이름 변경 또는 [...] + "Enable on OAP:": "OAP에서 활성화:" } diff --git a/apps/ui/src/i18n/locales/pt.json b/apps/ui/src/i18n/locales/pt.json index 5dc1edb..ad09cda 100644 --- a/apps/ui/src/i18n/locales/pt.json +++ b/apps/ui/src/i18n/locales/pt.json @@ -1547,5 +1547,6 @@ "selector not detected": "selector não detectado", "all reachable": "todos acessíveis", "{n} unreachable": "{n} inacessível(is)", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Acessibilidade de cada recurso de administração: o BFF faz um GET no caminho REST relativo que o recurso realmente chama e informa se ele respond [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "Acessibilidade de cada recurso de administração: o BFF faz um GET no caminho REST relativo que o recurso realmente chama e informa se ele respond [...] + "Enable on OAP:": "Ativar no OAP:" } diff --git a/apps/ui/src/i18n/locales/zh-CN.json b/apps/ui/src/i18n/locales/zh-CN.json index 03e6f6d..a884228 100644 --- a/apps/ui/src/i18n/locales/zh-CN.json +++ b/apps/ui/src/i18n/locales/zh-CN.json @@ -1547,5 +1547,6 @@ "selector not detected": "未检测到 selector", "all reachable": "全部可达", "{n} unreachable": "{n} 个不可达", - "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "每个管理功能的可达性 —— BFF 会向该功能实际调用的相对 REST 路径发起 GET,并报告其是否响应。健康状态取决于实时探测,而非配置存在性:返回 404 的路径(selector 关闭、被重命名或在 fork 版本中缺失)将被视为不可达。下方的“检测到 selector”仅为上游发 [...] + "Reachability of each admin feature — the BFF GETs the relative REST path the feature actually calls and reports whether it responds. Health is the live probe, not config-presence: a path that 404s (selector off, renamed, or absent in a fork) reads as unreachable. 'selector detected' below is only an upstream-release hint, not the verdict.": "每个管理功能的可达性 —— BFF 会向该功能实际调用的相对 REST 路径发起 GET,并报告其是否响应。健康状态取决于实时探测,而非配置存在性:返回 404 的路径(selector 关闭、被重命名或在 fork 版本中缺失)将被视为不可达。下方的“检测到 selector”仅为上游发 [...] + "Enable on OAP:": "在 OAP 上启用:" }
