mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
Clicking an inbox row, desktop notification, search hit, or buzz:// link that targets a top-level message (channel or DM) used to force-open the reply panel for that root, showing an empty "No replies in this branch yet" pane instead of the message in its own context. The route-target logic is now an exported pure function, getRouteTargetPanelAction: - top-level target without an explicit threadRootId -> main-timeline scroll + highlight only, no thread panel - top-level target with an explicit threadRootId (inbox "Open full thread", channel-activity rows, thread-draft auto-send) -> panel opens at that root, unchanged - reply target -> panel opens at the thread head scrolled to the reply, unchanged targetThreadRootId is plumbed from the route search params through ChannelRouteScreen/ChannelScreen into the hook. Unit tests cover the new function; the two e2e tests from #1092 are rewritten to the new contract and the deep-link reload test now re-issues the link cold since a consumed messageId no longer pins a thread param. Co-authored-by: morgmart <98432065+morgmart@users.noreply.github.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.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