Registry Mirror
Skip to content

Conversation

@Yash-Singh1

Copy link
Copy Markdown
Collaborator

On reload, the sync label could mount the virtualized timeline before any messages arrived. Draw the label in the timeline's existing end padding so it still scrolls with the messages. While the timeline is empty, draw it in the existing loading placeholder.

Verified cold and cached reloads in Chromium. At desktop and narrow viewport widths, the label moved with the timeline when scrolling, and the transcript, composer, and scroll offset stayed fixed when sync completed. vp run check:changed passed.

Before After
Sync label at the end of the timeline before the fix Sync label at the end of the timeline after the fix

The clip holds sync open long enough to scroll up and back down.

thread-sync-scroll.mp4

GPT 6.2 Sol via Codex

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Dec 3, 2026
@macroscopeapp

macroscopeapp Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at f3a9c81

Macroscope's review found this PR approvable — The sync label is overlaid within existing timeline spacing so its appearance does not shift messages. The changes are presentation-only and preserve status labels and accessibility roles.

You can add or adjust custom eligibility rules. Learn more.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The timeline now overlays status content and supports empty-state rendering while status content is present. The empty state uses a shared centered container for loading and placeholder states. ThreadSyncStatus renders its status line directly in the timeline.

Changes: Timeline status layout

Layer / File(s) Summary
Status and empty-state rendering
apps/web/src/components/chat/ThreadNow.tsx, apps/web/src/components/chat/MessagesTimeline.tsx
ThreadSyncStatus renders its status line directly. The timeline positions status content as an overlay and renders its empty state when status content is present. The empty-state container handles both hidden-placeholder and visible-placeholder cases.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: rgodha24

Merge Risk: Minimal · up to f3a9c

This change moves the "Syncing messages..." label into the timeline's existing padding so it no longer shifts the layout on reload. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(web): keep the sync label from shifting the timeline" matches the main change. The raw summary shows the sync status moved into the timeline's end padding and the empty-state container,…
Description check Passed The description follows the template's main sections and gives a clear problem, a short change summary, verification steps in Chromium at two viewport widths, and before/after screenshots with a recor…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(web): keep the sync label from shifting the timeline" matches the main change. The raw summary shows the sync status moved into the timeline's end padding and the empty-state container, and the objectives say the change prevents the "Syncing messages..." label from shifting the virtualized timeline on reload. It is a conventional commit title in plain language.

Full details: Description check

Explanation

The description follows the template's main sections and gives a clear problem, a short change summary, verification steps in Chromium at two viewport widths, and before/after screenshots with a recording. Two sections are weak. The Scope section does not link an issue or say why no issue is needed, and the Problem section does not give explicit reproduction steps. The template also asks for the model and harness used, and the author did name them (GPT 6.2 Sol via Codex). The description is mostly complete, so the check passes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1b9b0eb and f3a9c81.

Files selected for processing: 2

  • apps/web/src/components/chat/MessagesTimeline.tsx
  • apps/web/src/components/chat/ThreadNow.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@Yash-Singh1
Yash-Singh1 merged commit caadd9d into main Dec 3, 2026
38 checks passed
@Yash-Singh1
Yash-Singh1 deleted the t3/prevent-syncing-message-shift branch December 3, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant