Skip to content

feat: auto-scroll output window to show latest output during task execution#186

Merged
subsy merged 2 commits intomainfrom
feat/auto-scroll-output-window
Jan 22, 2026
Merged

feat: auto-scroll output window to show latest output during task execution#186
subsy merged 2 commits intomainfrom
feat/auto-scroll-output-window

Conversation

@subsy
Copy link
Owner

@subsy subsy commented Jan 22, 2026

Summary

  • Enables sticky scroll on the TaskOutputView scrollbox so new output automatically scrolls into view while a task is running
  • Uses the same stickyScroll={true} stickyStart="bottom" pattern already established in ChatView
  • Improves UX by eliminating the need to manually scroll to see latest task output

Test plan

  • Run a task and verify output automatically scrolls to show new content
  • Verify manual scrolling up to review earlier output still works
  • Confirm scrolling behavior matches ChatView experience

Summary by CodeRabbit

  • New Features
    • Task output now automatically scrolls to keep the latest entries visible, eliminating the need for manual scrolling to view current results.

✏️ Tip: You can customize this high-level summary in your review settings.

…cution

Enable sticky scroll on the TaskOutputView scrollbox so that new output
automatically scrolls into view while a task is running. Uses the same
pattern already established in ChatView.
@vercel
Copy link

vercel bot commented Jan 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ralph-tui Ready Ready Preview, Comment Jan 22, 2026 9:22am

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

Walkthrough

A sticky scrolling behaviour has been applied to the TaskOutputView scrollbox in the RightPanel component. The output area now automatically scrolls to keep the bottom visible as new content is added, achieved via the stickyScroll and stickyStart properties.

Changes

Cohort / File(s) Summary
UI Enhancement
src/tui/components/RightPanel.tsx
Added stickyScroll={true} and stickyStart="bottom" to TaskOutputView scrollbox to enable automatic sticky bottom scrolling behaviour for task output display.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A scroll that sticks to the bottom so tight,
When output flows in, it stays in sight,
No chasing text that dances away,
Just sticky scrolls to save the day! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: enabling auto-scroll functionality in the output window to display the latest task execution output.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.09%. Comparing base (4a57852) to head (8d8d96d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #186   +/-   ##
=======================================
  Coverage   44.09%   44.09%           
=======================================
  Files          76       76           
  Lines       21991    21991           
=======================================
  Hits         9696     9696           
  Misses      12295    12295           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@subsy subsy merged commit 1294e0c into main Jan 22, 2026
9 checks passed
sakaman pushed a commit to sakaman/ralph-tui that referenced this pull request Feb 15, 2026
feat: auto-scroll output window to show latest output during task execution
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

Comments