mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Restores the old Agent Catalog layout (PersonaCatalogDialog, removed in
24ff2034) for the New agent starting-point step, replacing the flat grid
of cards with a sidebar list + detail preview.
- CreateAgentStartDialog.tsx: rebuilt on ChooserDialogContent (h-168 /
max-w-4xl, bg-sidebar header). The left sidebar keeps "Blank agent"
and "Import from file" as immediate actions with their existing
testids, above a Templates list; clicking a template now selects it
for preview instead of advancing straight to the form. The right pane
shows the selected template's avatar, name, the Type / Preferred
model / Preferred runtime meta group, and the system prompt rendered
as non-interactive Markdown, with a floating "Use template" confirm
button (create-agent-start-use-template) over a gradient that hands
the template to the details step. Selection defaults to the first
template on open, list/detail skeletons cover loading, and the
drag-and-drop import overlay + hidden file input carry over from the
grid version. Props are unchanged so AgentsView needed no edits.
Tailwind classes use the current v4 lint forms (h-168, bg-linear-to-t)
instead of the old catalog's literals
- agents.spec.ts: the two template-selection tests click the template
row and then the new confirm button; blank/import flows in the other
suites are unchanged (all four affected suites pass)
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition