Uh oh!
There was an error while loading. Please reload this page.
fix(snapshot): stop markdown preview auto-scroll during patch streams + snapshot styling - #4333
Conversation
… streams fix(snapshot): use surface-4 background for input/output code blocks in light mode
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryCursor Bugbot is generating a summary for commit f3d3921. Configure here. |
Greptile SummaryThis PR fixes two unrelated UI bugs: (1) the markdown preview pane in the file viewer was auto-scrolling to the bottom on every streaming chunk even when Confidence Score: 5/5This PR is safe to merge — both fixes are minimal, targeted, and logically correct. All changes are narrow and correct: the auto-scroll gate mirrors the existing Monaco pattern, the surface color swap is a straightforward light/dark mode fix, and the generated-file cleanup is semantically a no-op. No regressions are introduced. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[TextEditor] -->|"isStreaming\ndisableStreamingAutoScroll"| B[PreviewPanel]
B -->|"isStreaming\ndisableAutoScroll"| C[MarkdownPreview]
C -->|"isStreaming && !disableAutoScroll"| D[useAutoScroll]
D -->|"active"| E[Auto-scroll enabled]
D -->|"inactive"| F[Auto-scroll disabled]
style E fill:#d4edda
style F fill:#f8d7da
Reviews (2): Last reviewed commit: "fix(files): separate auto-scroll gate fr..." | Re-trigger Greptile |
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Apr 29, 2026
waleedlatif1
commented
Apr 29, 2026
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 91ac4cc. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Type of Change
Testing
Tested manually
Checklist