Repository navigation
Read the visible row nearest the middle in the chat scroll test - #1784
Conversation
The tail reserve can leave the viewport's middle blank at the scroll end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
PR Summary by QodoSelect the nearest visible row in the chat scroll test
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can start a comment with 'qodo' or '@qodo' to chat about any finding |
Closes #1783 — AI-4150
What & why
Main's
Build and testis red on every OS:Scrolling_uneven_history_does_not_reverse_the_scrollbar(False, False)fails because the tail reserve leaves the viewport's middle blank at the scroll end, so the test finds no reading row. It now tracks the visible row nearest the middle, keeping the same jump and recycle assertion.Verification
--treenode-filter "/*/*/ChatTabViewSmokeTests/*"on macOS: 64 total, 0 failed (it failed with 4 content jumps before this change).🤖 Generated with Claude Code
Summary by CodeRabbit