Skip to content

fix(dashboard): use DS Button prefix/size API instead of inline icons - #48615

Merged
jquesnelle merged 1 commit into
mainfrom
fix/dashboard-ds-button-api
Jun 19, 2026
Merged

fix(dashboard): use DS Button prefix/size API instead of inline icons#48615
jquesnelle merged 1 commit into
mainfrom
fix/dashboard-ds-button-api

Conversation

@jquesnelle

Copy link
Copy Markdown
Collaborator

@nous-research/ui@0.18.2's 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 <Icon/> 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

@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 <Icon/> 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
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: fix/dashboard-ds-button-api vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 11025 on HEAD, 11025 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 5776 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/bug Something isn't working comp/gateway Gateway runner, session dispatch, delivery javascript P3 Low — cosmetic, nice to have labels Jun 18, 2026
@jquesnelle
jquesnelle requested a review from austinpickett June 18, 2026 20:28
@jquesnelle
jquesnelle merged commit 28d887c into main Jun 19, 2026
35 checks passed
@jquesnelle
jquesnelle deleted the fix/dashboard-ds-button-api branch June 19, 2026 02:52
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
…-ds-button-api

fix(dashboard): use DS Button prefix/size API instead of inline icons
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
…-ds-button-api

fix(dashboard): use DS Button prefix/size API instead of inline icons
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
…-ds-button-api

fix(dashboard): use DS Button prefix/size API instead of inline icons
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
…-ds-button-api

fix(dashboard): use DS Button prefix/size API instead of inline icons
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
…-ds-button-api

fix(dashboard): use DS Button prefix/size API instead of inline icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants