Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(ui): add gallery page for UI component showcase

Steven Enamakel756173f84a3e
diff --git a/app/src/pages/dev/UiGallery.tsx b/app/src/pages/dev/UiGallery.tsx
index ea0fa95cad..07cd200ecf 100644
--- a/app/src/pages/dev/UiGallery.tsx
+++ b/app/src/pages/dev/UiGallery.tsx
@@ -27,8 +27,6 @@ import {
AvatarRoot,
Badge,
Button,
- ButtonGroupItem,
- ButtonGroupRoot,
Card,
Checkbox,
CollapsibleContent,
@@ -44,9 +42,6 @@ import {
DropdownMenuTrigger,
EmptyState,
Field,
- HoverCardContent,
- HoverCardRoot,
- HoverCardTrigger,
Input,
InputGroupAddon,
InputGroupButton,
@@ -634,25 +629,6 @@ export default function UiGallery() {
</p>
</Section>
- <Section title="Button group">
- <ButtonGroupRoot aria-label="Document actions">
- <ButtonGroupItem>Save</ButtonGroupItem>
- <ButtonGroupItem>Save as…</ButtonGroupItem>
- <ButtonGroupItem>Export</ButtonGroupItem>
- </ButtonGroupRoot>
- <ButtonGroupRoot variant="primary" size="sm" aria-label="Primary actions">
- <ButtonGroupItem>Run</ButtonGroupItem>
- <ButtonGroupItem iconOnly aria-label="More run options">
- ▾
- </ButtonGroupItem>
- </ButtonGroupRoot>
- <ButtonGroupRoot orientation="vertical" className="w-40" aria-label="Vertical actions">
- <ButtonGroupItem>Top</ButtonGroupItem>
- <ButtonGroupItem>Middle</ButtonGroupItem>
- <ButtonGroupItem tone="danger">Delete</ButtonGroupItem>
- </ButtonGroupRoot>
- </Section>
-
<Section title="Input group">
<InputGroupRoot>
<InputGroupAddon>https://</InputGroupAddon>
@@ -669,32 +645,6 @@ export default function UiGallery() {
</InputGroupRoot>
</Section>
- <Section title="Hover card">
- <div className="flex flex-wrap items-center gap-2">
- <HoverCardRoot>
- <HoverCardTrigger asChild>
- <Button variant="tertiary">Preview a person</Button>
- </HoverCardTrigger>
- <HoverCardContent>
- <div className="flex items-center gap-3">
- <AvatarRoot>
- <AvatarFallback>ab</AvatarFallback>
- </AvatarRoot>
- <div>
- <p className="text-sm font-medium text-content">Ada Byron</p>
- <p className="text-xs text-content-muted">
- Rich, optional preview — not a label.
- </p>
- </div>
- </div>
- </HoverCardContent>
- </HoverCardRoot>
- <span className="text-xs text-content-muted">
- A label for an icon button belongs in Tooltip; this is for previews worth reading.
- </span>
- </div>
- </Section>
-
<Section title="Sidebar">
<SidebarProvider
open={sidebarOpen}