mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Conflict resolution in mediaUrl.ts unifies both sides under one canonical origin rule: main's canonicalOrigin() (lowercased scheme/host, default port dropped) is now the only representation the cached relay origin ever holds, so both rewriteRelayUrl and isRelayDownloadable (which compares URL.origin === relayOrigin) inherit case-insensitive matching. Dawn's retried, deadline-bounded poll loop and useSyncExternalStore origin store are kept; the two generation counters (main's cacheGeneration, the lane's relayOriginGeneration) are collapsed into one cacheGeneration guarding both the port cache and origin publication. Both sides' tests retained. The app_state.rs size override is bumped to the union of the two independently approved additions (media-fetch client builder + profile-reconcile flag). 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