Skip to content
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

[UX] Scrolling or not, users choice #1283

Open
laz-001 opened this issue Feb 13, 2025 · 4 comments · May be fixed by #1284
Open

[UX] Scrolling or not, users choice #1283

laz-001 opened this issue Feb 13, 2025 · 4 comments · May be fixed by #1284
Labels
enhancement New feature or request

Comments

@laz-001
Copy link

laz-001 commented Feb 13, 2025

Idea

Current Workflow

I scroll through endless comments/code etc. to reach the chat end. Usually I don't read much of it.

Expected

Chat scrolls by itself.

Possible solution

  • page-up/down, home/end keys work as usual
  • an option/check-box to 'auto-scroll' (possibly right to "open preview browser")
@laz-001 laz-001 added the enhancement New feature or request label Feb 13, 2025
@theskcd
Copy link
Contributor

theskcd commented Feb 13, 2025

ACK, on it!

@theskcd
Copy link
Contributor

theskcd commented Feb 13, 2025

I've implemented the auto-scroll feature for the chat view as requested in issue #1283.

  • Added: Configuration option chat.autoScroll.enabled that controls whether chat automatically scrolls to the end when new content is added
  • Modified: ChatWidget and ChatViewPane to respect the new configuration setting, with appropriate UI handling for both auto-scroll and manual scrolling
  • Improved: User experience by allowing page-up/down and home/end keys to work as expected when auto-scroll is disabled

Changes include configuration registration, reactive updates via event listeners, and graceful fallback to previous behavior when the setting isn't specified. Your feedback on this implementation is welcome!

@laz-001

This comment has been minimized.

@laz-001
Copy link
Author

laz-001 commented Feb 13, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants