gsxdsm
5c0ed62001
FN-7681: Fix undefined --space-2xs token references in dashboard component CSS
Replaces undefined --space-2xs CSS custom property references with the smallest defined spacing token, --space-xs, across several dashboard component stylesheets, and hardens the regression test that guards against reintroducing --space-2xs by scanning components recursively.
- Replace var(--space-2xs) with var(--space-xs) in NewTaskModal.css, QuickEntryBox.css, TaskReviewTab.css, and McpServersCard.css
- Update QuickEntryBox.test.tsx assertion to expect --space-xs instead of --space-2xs
- Make space-token-defined.test.ts recursively walk components directory (previously only scanned the top level, missing nested files like settings/sections/McpServersCard.css)
- Add FNXC:DashboardTokens comments documenting the --space-2xs is-intentionally-undefined decision (FN-5934) and the recursive-scan fix rationale (FN-7681)
Files changed:
.../app/__tests__/space-token-defined.test.ts | 33 ++++++++++++++++++----
packages/dashboard/app/components/NewTaskModal.css | 2 +-
.../dashboard/app/components/QuickEntryBox.css | 18 ++++++++----
.../dashboard/app/components/TaskReviewTab.css | 2 +-
.../components/__tests__/QuickEntryBox.test.tsx | 2 +-
.../settings/sections/McpServersCard.css | 4 +--
6 files changed, 44 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-7681
Fusion-Task-Lineage: 59850d5c-09cc-4178-ac45-9792fa9aca59
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-08 09:19:42 -07:00
..
2026-07-08 08:09:53 -07:00
2026-07-05 19:57:09 -07:00
2026-07-08 08:16:30 -07:00
2026-07-08 09:19:42 -07:00
2026-07-07 22:06:16 -07:00
2026-07-05 19:57:09 -07:00
2026-07-08 09:14:14 -07:00
2026-07-08 00:50:11 -07:00
2026-07-05 19:57:09 -07:00
2026-07-05 19:57:09 -07:00
2026-06-08 15:19:27 -07:00
2026-07-05 19:57:09 -07:00