Skip to content

feat: only autoscroll Continue console when focused on last element #5702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented May 16, 2025

Description

While the Continue console is adding content during an LLM response, it's impossible to scroll back up because scrolling is locked to the last item. This PR allows the user to scroll back up, which automatically suspends autoscroll. It resumes when scrolling back to the last item

cc @owtaylor

Checklist

  • I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screenshots

smarter-console-autoscroll.mp4

Tests

Manual testing (see video)


Summary by mrge

The Continue console now only autoscrolls when you are focused on the last item, letting you scroll up and pause autoscroll during LLM responses.

  • New Features
    • Autoscroll suspends when you scroll up and resumes when you return to the bottom.

@fbricon fbricon requested a review from a team as a code owner May 16, 2025 12:36
@fbricon fbricon removed the request for review from a team May 16, 2025 12:36
@fbricon fbricon requested a review from tomasz-stefaniak May 16, 2025 12:36
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 16, 2025
Copy link

netlify bot commented May 16, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 40390f5
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/68273137a7da20000875ae62

Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix for console scrolling

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs May 16, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 16, 2025
@RomneyDa RomneyDa closed this May 19, 2025
@RomneyDa RomneyDa reopened this May 19, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs May 19, 2025
@github-project-automation github-project-automation bot moved this from Done to In Progress in Issues and PRs May 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2025
@RomneyDa RomneyDa merged commit b32d967 into continuedev:main May 19, 2025
61 of 64 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs May 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants