mirror of
https://github.com/block/buzz.git
synced 2026-11-06 09:21:45 +00:00
B1: Remove needless borrow in description_from_request_permission call. The function accepts `&serde_json::Value`; `msg` is already that type — `&msg` was a double-reference that Clippy correctly flagged. B2: Add three missing inputs to the MessageRow memo comparator that are consumed by selectPermissionRequest: message.signerPubkey, message.preEditBody, and channelId. Without these, a memo-cached row retains stale authorization state across prop changes — a trusted→forged signer flip keeps the card rendered, and a channelId change keeps stale card routing. Two new integrated rerender regressions in MessageRowProseGate.test.mjs: - test_trusted_to_forged_signer_rerender_restores_prose: mutation dropping signerPubkey comparison → test fails (nonce absent after rerender). - test_null_channelid_rerender_removes_card_restores_prose: mutation dropping channelId comparison → test fails (nonce absent after rerender). MessageRow split-count held at 1000 (three comment lines collapsed to recover headroom for the three new comparator lines). Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@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