Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a localized mobile scrolling bug fix that adds end-state tracking and near-end follow handling, with focused tests covering button visibility and follow transitions. Its runtime impact is limited to the thread feed’s scroll control and live-follow behavior, with no schema, infrastructure, security, billing, or static-analysis changes. You can add or adjust custom eligibility rules. Learn more. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThread feed live-follow logic now tracks exact-end and near-end positions. ChangesThread feed end-follow behavior
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Android scroll-to-end control is expected to stay hidden at the live edge and appear when scrolling away. No actionable merge-blocking risk is established. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
|
@macroscope-app review |
|
|
Sorry, I'm unable to act on this request because you do not have permissions within this repository. |
|
@coderabbitai review |
|
@macroscope-app review |
|
Sorry, I'm unable to act on this request because you do not have permissions within this repository. |
|
@coderabbitai review |
|
@macroscope-app review |
Rate Limit Exceeded
|
|
Sorry, I'm unable to act on this request because you do not have permissions within this repository. |
Rate Limit Exceeded
|
|
@coderabbitai review |
|
|
@coderabbitai review |
|
Show the floating scroll-to-end pill only when live-follow is paused and the list is actually away from the end. Re-arm follow inside LegendList's maintain-at-end tolerance so a swipe that rests a few pixels short, or streamed auto-scroll, does not leave the control up. Fixes pingdotgg#12754
CodeRabbit docstring coverage is scoped to functions this diff touches and was 0%. Add one-line TSDoc on the named live-follow helpers and extract named function declarations so coverage can clear the 80% threshold.
CodeRabbit's docstring check only counts comments immediately before function declarations. Lift the screen components out of memo() and attach TSDoc to the scroll-session helpers the diff already touches.
Extract the new visibility cases into documented function declarations so CodeRabbit counts them, and document the empty-feed placeholder.
CodeRabbit coverage includes functions adjacent to the scroll-to-end diff hunks. Document ThreadFeedPlaceholder so it is not an uncovered miss.
CodeRabbit only credits docstring coverage on statement-level function declarations. Move scroll-session and disclosure-settle logic next to the other live-follow helpers so the check can see the comments.
e7a1af7 to
537291c
Compare
What
Why
Fixes #12754
Dragging/overscrolling while already at the bottom was flashing the pill because live-follow paused without checking
isAtEnd.UI
Android thread feed: scroll-to-bottom arrow stays hidden when already at the end; still appears when the user scrolls up away from the live edge.
Checklist
Summary by CodeRabbit