Commit Graph

4 Commits

Author SHA1 Message Date
gsxdsm
28ba1bce85 FN-6784: keep Command Center numbers on one line
Command Center token totals now shrink to fit instead of wrapping digit groups.

- Add inline-size containers around stat cards and live metrics for container-query scaling.
- Replace digit wrapping with nowrap overflow clipping and clamp-based numeric font sizes.
- Strengthen Command Center tests for exact live metric values and CSS no-wrap shrink contracts.

Files changed:
 .../app/components/command-center/CommandCenter.css   | 17 ++++++++++++-----
 .../command-center/__tests__/CommandCenter.test.tsx   |  3 ++-
 .../CommandCenter.token-validity.css.test.ts          | 19 +++++++++++++++----
 3 files changed, 29 insertions(+), 10 deletions(-)

Fusion-Task-Id: FN-6784

Fusion-Task-Lineage: dfe165f4-7304-49eb-b46b-83c0a9e2c4a3
2026-06-19 22:31:57 -07:00
gsxdsm
8927173ae0 FN-6726: prevent Command Center token totals from overflowing
Contain Command Center token totals so large formatted values stay inside their stat surfaces.

- Add shrink and wrap containment to stat and live metric value styles.
- Cover large comma-grouped token totals across Overview, Tokens, and Team surfaces.
- Guard the emitted CSS declarations and quarantine an unrelated WorkflowNodeEditor flake observed during verification.

Files changed:
 .../components/command-center/CommandCenter.css    | 10 +++++
 .../__tests__/CommandCenter.test.tsx               |  9 ++++
 .../CommandCenter.token-validity.css.test.ts       | 21 ++++++++++
 .../command-center/areas/__tests__/areas.test.tsx  | 48 ++++++++++++++++++----
 packages/dashboard/vitest.config.ts                |  5 +++
 scripts/lib/test-quarantine.json                   |  5 +++
 6 files changed, 89 insertions(+), 9 deletions(-)

Fusion-Task-Id: FN-6726

Fusion-Task-Lineage: 8a26ca5c-fdbe-4e68-a9d2-ae93340fe685
2026-06-19 16:47:33 -07:00
gsxdsm
0ba4bbebf4 FN-6700: reduce Command Center card gradients
Tone down the Command Center main overview card accents while keeping layered surfaces intact.

- Lower live-strip gradient, glow, and sweep accent intensity.
- Lower overview chart-card gradient, glow, and sheen accent intensity.
- Add CSS regression coverage for capped accent color-mix values and preserved surface layers.

Files changed:
 .../components/command-center/CommandCenter.css    | 20 +++++---
 .../CommandCenter.token-validity.css.test.ts       | 57 ++++++++++++++++++++++
 2 files changed, 70 insertions(+), 7 deletions(-)

Fusion-Task-Id: FN-6700

Fusion-Task-Lineage: de49162b-3c1d-4f2a-8824-f6adcb125fc6
2026-06-19 06:46:43 -07:00
gsxdsm
4711e875e5 Command Center fixes 2026-06-19 04:37:04 -07:00