mirror of
https://github.com/block/buzz.git
synced 2026-12-01 05:32:24 +00:00
Out-of-band merges (thread ancestors fetched by id, thread-panel reply subtrees) splice old events into the timeline cache marked nonContiguous. The pager already ignores them when anchoring its cursor, but the render path did not: an island painted the start of an old day immediately, while the middle and end of that day only arrived when contiguous paging caught up — so they visibly popped in above the reader. Hide marked events from the main timeline until paging heals them: - TimelineMessage carries the nonContiguous mark through formatTimelineMessages, - buildMainTimelineEntries skips marked entries (the single seam both ChannelPane and TimelineMessageList render through); island replies still count toward their visible parent's thread summary, - countTopLevelTimelineRows mirrors the filter so the pager's row floor counts only rows that actually render, - the channel unread marker skips hidden islands so the pill and New divider never anchor on an invisible row. Healing is unchanged: when contiguous paging reaches an island the unmarked copy wins the merge and the whole day appears in one commit, in order. Thread panels are unaffected — they derive from the full cache, not the main-timeline entries. Reported by Tyler while hammering #1483: scrolling up sometimes loaded the beginning of a day before its end, then the rest popped in. 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