mirror of
https://github.com/block/buzz.git
synced 2026-11-29 20:52:25 +00:00
Finding [L4] MessageRow channelNames (Tier 3): every row ran `channels.filter(non-dm).map(name)` in its own useMemo, so the identical derivation was recomputed once per mounted row and re-ran whenever the channel list changed. Compute it once in `ChannelNavigationProvider` as `nonDmChannelNames` (memoised on `[channels]`) and have rows read it directly. Additive to the context value — `channels` is unchanged, so other consumers are unaffected. 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