feat(dashboard): add sensitive data toggle to flow chart

Add an eye toggle in the flow section header that masks sensitive node
labels (users, tokens, nodes, groups, channels) in the Sankey while keeping
model names visible. Masking only rewrites display text; nodes stay distinct
via their key so graph structure, links, and highlighting are unaffected.
This commit is contained in:
CaIon
2026-06-20 22:09:04 +08:00
parent 8ad83bf62f
commit 5e86644649
10 changed files with 119 additions and 9 deletions
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "Hidden — verify to reveal",
"Hide": "Hide",
"Hide API key": "Hide API key",
"Hide sensitive data": "Hide sensitive data",
"Hide setup guide": "Hide setup guide",
"High Performance": "High Performance",
"High-risk operation confirmation": "High-risk Operation Confirmation",
@@ -3870,6 +3871,7 @@
"Shorten": "Shorten",
"Show": "Show",
"Show All": "Show All",
"Show sensitive data": "Show sensitive data",
"Show all providers including unbound": "Show all providers including unbound",
"Show only bound providers": "Show only bound providers",
"Show or hide flow columns": "Show or hide flow columns",
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "Masqué — vérifiez pour révéler",
"Hide": "Masquer",
"Hide API key": "Masquer la clé API",
"Hide sensitive data": "Masquer les données sensibles",
"Hide setup guide": "Masquer le guide de configuration",
"High Performance": "Hautes performances",
"High-risk operation confirmation": "Confirmation d'opération à haut risque",
@@ -3870,6 +3871,7 @@
"Shorten": "Raccourcir",
"Show": "Afficher",
"Show All": "Tout afficher",
"Show sensitive data": "Afficher les données sensibles",
"Show all providers including unbound": "Afficher tous les fournisseurs (y compris non liés)",
"Show only bound providers": "Afficher uniquement les fournisseurs liés",
"Show or hide flow columns": "Afficher ou masquer les colonnes du flux",
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "非表示 — 確認して表示",
"Hide": "非表示にする",
"Hide API key": "APIキーを非表示",
"Hide sensitive data": "機密データを非表示",
"Hide setup guide": "セットアップガイドを非表示",
"High Performance": "高パフォーマンス",
"High-risk operation confirmation": "高リスク操作の確認",
@@ -3870,6 +3871,7 @@
"Shorten": "短縮",
"Show": "表示",
"Show All": "すべて表示",
"Show sensitive data": "機密データを表示",
"Show all providers including unbound": "未バインドを含むすべてのプロバイダーを表示",
"Show only bound providers": "バインド済みのプロバイダーのみ表示",
"Show or hide flow columns": "フロー列の表示・非表示",
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "Скрыто — подтвердите, чтобы показать",
"Hide": "Скрыть",
"Hide API key": "Скрыть API ключ",
"Hide sensitive data": "Скрыть конфиденциальные данные",
"Hide setup guide": "Скрыть руководство по настройке",
"High Performance": "Высокая производительность",
"High-risk operation confirmation": "Подтверждение высокорисковой операции",
@@ -3870,6 +3871,7 @@
"Shorten": "Сократить",
"Show": "Показать",
"Show All": "Показать все",
"Show sensitive data": "Показать конфиденциальные данные",
"Show all providers including unbound": "Показать всех провайдеров (включая непривязанные)",
"Show only bound providers": "Показать только привязанных провайдеров",
"Show or hide flow columns": "Показать или скрыть столбцы потока",
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "Ẩn — xác minh để hiển thị",
"Hide": "Ẩn",
"Hide API key": "Ẩn khóa API",
"Hide sensitive data": "Ẩn dữ liệu nhạy cảm",
"Hide setup guide": "Ẩn hướng dẫn thiết lập",
"High Performance": "Hiệu suất cao",
"High-risk operation confirmation": "Xác nhận thao tác rủi ro cao",
@@ -3870,6 +3871,7 @@
"Shorten": "Rút gọn",
"Show": "Hiển thị",
"Show All": "Hiển thị tất cả",
"Show sensitive data": "Hiển thị dữ liệu nhạy cảm",
"Show all providers including unbound": "Hiển thị tất cả nhà cung cấp (bao gồm chưa liên kết)",
"Show only bound providers": "Chỉ hiển thị nhà cung cấp đã liên kết",
"Show or hide flow columns": "Hiện hoặc ẩn các cột luồng",
+2
View File
@@ -2051,6 +2051,7 @@
"Hidden — verify to reveal": "隐藏 — 验证以显示",
"Hide": "隐藏",
"Hide API key": "隐藏 API 密钥",
"Hide sensitive data": "隐藏敏感数据",
"Hide setup guide": "隐藏设置引导",
"High Performance": "高性能",
"High-risk operation confirmation": "高危操作确认",
@@ -3870,6 +3871,7 @@
"Shorten": "缩词",
"Show": "显示",
"Show All": "显示全部",
"Show sensitive data": "显示敏感数据",
"Show all providers including unbound": "显示所有提供商(包括未绑定)",
"Show only bound providers": "仅显示已绑定的提供商",
"Show or hide flow columns": "显示或隐藏分流列",