From c9889a4aabf37c993665b7006e063492a696b86e Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Mon, 6 Jul 2026 21:52:48 +0800 Subject: [PATCH] refactor: simplify rule card UI - hide metric/condition/unit - Replace editable name/metric/condition/unit with plain text in card header - Card header shows: [type] [metric label] [condition label] [threshold][unit] \u2192 \u5c01\u53f7 - Type change auto-updates metric/condition/unit via typeDefaults mapping - Card body only shows: threshold, applicable, description - Fix edit title to show site name instead of raw siteType - Remove unused styles and functions --- web/src/views/RiskRules.vue | 72 ++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index fdad20b..61d2131 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -31,7 +31,7 @@