Files
buzz/desktop
Duncan 0f98440bea fix(sidebar): correct test bugs from consolidation pass
Six categories of test bugs introduced during the compression pass:

1. Unbound restore() in finally blocks (makeTimerBed pattern) — fixed
   to t.restore() in mergeLaneSync.shared.test.mjs.

2. Stale key-ID snapshot in mergeLaneHook v2 own-key test — writeOwnOutbox
   replaces the bootstrap key on click; test now enumerates current keys.

3. Missing assertionsAfterRestore in mergeLaneStorage destructuring — fixed.

4. Legacy-delete no-op: second readChannelStarsStore call moved from
   assertions (mock still active) to assertionsAfterRestore.

5. channelStarsSync / channelMutesSync writeOutbox arg order — production
   signature is (pubkey, store, relayUrl); args 2-3 were swapped.

6. cancelPendingPublish does not clear pendingStore (by design); removed
   incorrect getPendingStore() === null assertions in typed-API tests.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-31 15:29:24 -04: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