mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Instead of forcing the per-file header open just to show the New file/Deleted badge (previous fix), keep the header collapsed when it would only repeat the card title, and show the badge in the diff card's title bar instead — both in the inline DiffMessage card and the expanded dialog. DIFF_TYPE_LABELS and the header-visibility check move into parseDiff.ts as shared helpers, and a new getDiffTitleBadge returns the badge label only for single-file diffs whose collapsed header has a notable change type — so the badge never renders in both places. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Matt Toohey <contact@matttoohey.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