From d573e7c9e1639d7c98c02f3face6f599464f8758 Mon Sep 17 00:00:00 2001
From: emozilla
Date: Thu, 18 Jun 2026 16:00:26 -0400
Subject: [PATCH] fix(dashboard): use DS Button prefix/size API instead of
inline icons
@nous-research/ui@0.18.2 Button is grid-based: size=xs is an
aspect-square icon-only box, and icons belong in prefix/suffix.
The dashboard used shadcn-style size=xs + inline text
children, which forced text buttons into broken tall squares
(Configure, Run setup, Select, Save keys) and split icon/label
across grid columns elsewhere (Schedule it, Prune/Delete actions).
Move leading icons to prefix and size text buttons as sm/default.
For the post-setup spinner, drive the spin from a button-level
[&_svg]:animate-spin selector since the prefix slot clones the
icon and overwrites its className.
- ToolsetConfigDrawer: Select, Save keys, Run setup
- SkillsPage: New skill, Configure
- AutomationBlueprints: Schedule it
- SessionsPage: Prune old sessions, Delete empty, Delete selected
---
web/src/components/AutomationBlueprints.tsx | 7 +++--
web/src/components/ToolsetConfigDrawer.tsx | 32 ++++++++++++---------
web/src/pages/SessionsPage.tsx | 7 ++---
web/src/pages/SkillsPage.tsx | 7 ++---
4 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/web/src/components/AutomationBlueprints.tsx b/web/src/components/AutomationBlueprints.tsx
index 10d1270fa05..209c75e0682 100644
--- a/web/src/components/AutomationBlueprints.tsx
+++ b/web/src/components/AutomationBlueprints.tsx
@@ -149,8 +149,11 @@ function BlueprintCard({