fix(helpdesk): replace cryptic net flow label with arrow indicator
Show ↑3 (growing) or ↓2 (shrinking) instead of '+3 net' / '-2 net'. Same visual language as the team dashboard trend arrows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -103,7 +103,8 @@ if (container) {
|
||||
|
||||
if (kpis.net_flow !== 0) {
|
||||
const flowM = h('span', 'helpdesk-risk-card-metric');
|
||||
flowM.textContent = (kpis.net_flow > 0 ? '+' : '') + kpis.net_flow + ' ' + d('labelNet', 'net');
|
||||
const arrow = kpis.net_flow > 0 ? '↑' : '↓';
|
||||
flowM.textContent = arrow + Math.abs(kpis.net_flow);
|
||||
if (kpis.net_flow > 0) flowM.classList.add('helpdesk-risk-card-metric-warn');
|
||||
metrics.appendChild(flowM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user