Files
buzz/desktop
klopez4212andnpub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 87492aab89 fix(dictation): guard cross-composer cancel, stop engine on unmount, await flush before stop
Addresses 3 new review comments:

1. **Avoid cancelling another composer's dictation** — the draftKey effect
   now checks isRecordingRef before calling cancelRecording(), so switching
   channels in one composer won't kill a recording in another.

2. **Stop native dictation on unmount** — cleanup() now calls
   invoke('stop_dictation') so the native SttEngine doesn't linger when
   the hook unmounts mid-recording (navigation, composer close).

3. **Await final audio flush before stopping STT** — stopRecording() and
   cleanup() now await the flushAudioBatch() promise before invoking
   stop_dictation, ensuring the last batch of audio arrives at the native
   engine before it shuts down and flushes its speech buffer.
2026-07-11 16:19:19 +01:00
..
2026-06-11 15:06:24 +00:00

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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