mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The focus-in handler registers a composer as the active dictation target but never clears it on focus-out, so it stays active until unmount. Since AppShell dispatches the primary-D shortcut globally (outside settings), pressing ⌘D while focus is in quick search, a create-channel dialog, or any other mounted input could start mic capture and append transcript into the background composer's draft. Gate the shortcut on focus still being contained in the composer element at keydown time.
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