Skip to content

Restore the inline catch-up row at the end of the timeline - #5078

Merged
ymichael merged 1 commit into
mainfrom
bb/loading-message-position-thr_rt6sjvdp3f
Oct 7, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/loading-message-position-thr_rt6sjvdp3f

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

#5068 fixed when "Loading latest messages…" shows and hides, but it also moved the indicator. The row at the end of the timeline became a sticky pill, fixed 8px below the top of the scroll area against the right edge of the reading column. Because it floated over the column with no reserved space, it covered message text in the middle of the pane. The move was unintentional.

What changed

  • ThreadTimelineSurface.tsx: removes the sticky overlay wrapper. The indicator is again a shimmering TimelineStatusIndicator row inside a HeightTransition, after the timeline rows and before the working indicator.
  • Fix false timeline catch-up indicators and scroll shifts #5068's show/hide behavior is unchanged. The flag is still based on comparing event sequences. The row appears only after the timeline has been behind for one second and disappears as soon as it catches up. The timer restarts when you switch threads or a new catch-up begins.
  • docs/timeline-pagination.md: the catch-up paragraph now describes a row at the end of the timeline instead of an overlay.

Tradeoff: since it's a row again, removing it can shift the messages, which #5068 avoided. The one-second delay means this only happens on slow catch-ups.

How you verified

  • pnpm exec turbo run typecheck lint --filter=@bb/app passed; the existing lint warnings are unchanged.
  • ThreadTimelineSurface.test.tsx (4 tests, including the reveal delay, immediate hide, and per-thread timer reset) passed through Turbo.
  • In the thread/timeline/Catch-up indicator Ladle story with "Catching up" on, the row renders under the last reply, above the composer and aligned with the message text. It no longer overlaps the conversation.

AGENT GENERATED

🤖 Generated with Claude Code

#5068 moved "Loading latest messages…" into a sticky overlay pinned to the
top-right of the reading column, where it covered message text. Render it
in its original row again, keeping the one-second reveal and immediate hide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ymichael
ymichael merged commit 030e2ce into main Oct 7, 2026
48 checks passed
@ymichael
ymichael deleted the bb/loading-message-position-thr_rt6sjvdp3f branch October 7, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant