feat(ui): adopt shared StatCard tone, OverflowActions, PageHeader long-title guard #267
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-267-shared-ui-primitives"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reduce inline UI duplication by leaning on the existing shared primitives so layout stays consistent and mobile-safe.
StatCard gains a
StatCardTone(Accent/Warning/Danger) that drives both the icon circle background and thecurrentColorthe icon inherits, so a semantic stat no longer strands a red glyph inside an accent-tinted container. The dashboard now passes uncolored icons and tags the SLA Breached card as Danger, giving every stat a consistent, tone-correct icon container.The project detail header's View Tasks / Add Task / Edit / Delete cluster is wrapped in
OverflowActionsso it collapses into a single...menu on narrow screens instead of overflowing the header row, matching the KB article detail pattern.PageHeader's action container gets
shrink-0so a long dynamic title (alreadymin-w-0+sm:truncate) is what gives way on a tight row, instead of the buttons collapsing into or colliding with the title.#MAPPS-267