Files
buzz/desktop
npub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 66733800aa fix(dictation): block restart while prior session is still transcribing
Codex P2 on useLocalDictation.ts: the startRecording guard only checked
isStarting/isRecording, so a new session could start during the previous
session's isTranscribing window — after stopRecording() clears isRecording
but before the native stopped event delivers the final transcript. The new
start unlistens the old session's handlers before its last words arrive,
dropping them on a quick re-press of the mic / hold of Cmd+D.

Add isTranscribing to the start guard (and to the useCallback deps) so a
restart waits for the prior session to fully stop. This is the canonical
guard, so it covers every entry point (toggle button, Cmd+D push-to-talk,
useDictation).
2026-07-11 16:20:31 +01: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