feat(hub): show key/trend/roll counts on monitor cards

Add per-card strategy stats chips for breakout, fib, and watch key levels plus trend and roll plan counts when non-zero.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-03 23:25:43 +08:00
parent 7957a62c65
commit 98038b1945
3 changed files with 102 additions and 2 deletions
+33
View File
@@ -1280,6 +1280,39 @@ body.market-chart-fs-open {
border-bottom: 1px dashed var(--border-soft);
}
.card-strategy-stats {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 10px 0 4px;
padding-top: 8px;
border-top: 1px dashed var(--border-soft);
}
.card-stat-chip {
display: inline-flex;
align-items: center;
padding: 3px 8px;
border-radius: 6px;
font-size: 11px;
line-height: 1.3;
color: var(--accent);
background: var(--accent-dim);
border: 1px solid var(--border-soft);
}
.hub-tile .card-strategy-stats {
margin: 4px 0 0;
padding-top: 6px;
border-top: none;
gap: 4px;
}
.hub-tile .card-stat-chip {
font-size: 10px;
padding: 2px 6px;
}
.pos-action-group {
display: inline-flex;
flex-direction: row;