mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
L6 finding: WorkflowsView's allWorkflowsQuery issued one get_channel_workflows relay POST per member channel (Promise.all fanout) — N round-trips scaling with channel count on the Workflows overview. A nostr #h filter matches ANY listed value, so one query with all channel ids returns the identical set. Added get_channels_workflows(channel_ids) which queries once; each WorkflowWire already carries its own channel_id (from the event h tag), so WorkflowsView groups results client-side via a channelId->name map. Neither the per-channel nor the batched command sets a limit, so batching does not change result completeness (review-bar #3: no shared-limit truncation). e2eBridge gains a matching get_channels_workflows mock so overview e2e still resolves. Single-channel get_channel_workflows stays for useChannelWorkflowsQuery. Co-authored-by: Tyler Longwell <tlongwell@block.xyz> Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
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