mirror of
https://github.com/block/buzz.git
synced 2026-11-13 04:41:12 +00:00
create_channel and update_channel POST the kind:39000 metadata event, then immediately re-query the relay for it. The relay's read-side index is eventually-consistent, so that read-back could outrun indexing and return empty — tripping the "metadata not yet available" error even though the write succeeded (the channel then appeared on a later refresh). Wrap the read-back in a bounded poll (poll_channel_metadata) that retries on a short backoff before reporting the metadata missing. The modal already behaved correctly: it surfaced the transient error loudly; the command was the thing false-erroring. Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@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