mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
connected state is now authoritative for recovery UI — a stale query error no longer pins the reconnect card while the relay is healthy. - useSidebarRelayConnectionCard: gate hasActiveRelayUnreachableError on !isRelayConnectionConnected so connected state clears the card even when channelsQuery.error has not yet been cleared - ConnectionBanner: add state !== connected guard to hasCollapsedRelayError for the same reason - RelayAutoHealScheduler: expand constructor parameter properties to explicit field declarations so node --experimental-strip-types can load the class in tests; initialize lastHealAt to -Infinity so the first recovery is never rate-limited - Add useRelayAutoHeal.test.mjs covering all scheduler state transitions Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@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