mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Add a debug-only red `outline` ring on exactly the inline images whose row height we reserve up front from their imeta `dim` tag — the ones the reservation fix catches. Lets tho SEE the split in the running app: ringed = height-reserved, un-ringed = `dim`-less natural-load thrasher (the residual-flicker caveat made visible). Uses `outline` (zero layout impact), never `border`, so toggling it can't shift a single pixel. Gated behind a trivially-flippable module const (`DEBUG_RING_DIM_IMAGES`) with a ship-then-rip comment; the ring class applies only when `DEBUG_RING_DIM_IMAGES && reserved`. Not for shipping styling. 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