NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

Add settings to disable autoscroll during reply

Open movalex opened this issue 2 years ago • 13 comments

Regarding #3324 and #3780 Auto-scroll is enabled by default, but now you can disable scrolling during GPT reply.

Current behavior: scrolling always enabled, so on a small screen the text scrolls too fast to be readable. What's changed: With Autoscroll Message disabled, the generation would continue beyond the screen, while you can read and scroll the text as you'd like. Ideally would be better to stop the scrolling by dragging up/down. But I guess this also works.

Please also check the menu translation, I've just asked GPT to translate those.

Summary by CodeRabbit

  • New Features
    • Introduced a user-configurable setting to control auto-scroll behavior in the chat.
    • Added a new option in Settings to enable or disable automatic scrolling of messages during replies.
  • Localization
    • Added translations for the new auto-scroll setting across multiple languages, including Arabic, Bengali, Chinese (Simplified and Traditional), Czech, German, English, Spanish, French, Indonesian, Italian, Japanese, Korean, Norwegian, Portuguese, Russian, Slovak, Turkish, and Vietnamese.

movalex avatar Jan 10 '24 23:01 movalex

This behaviour persists in latest 2.10.3, mac m1 Sonoma 14.2.1

m0rg5 avatar Feb 07 '24 21:02 m0rg5

This behaviour persists in latest 2.10.3, mac m1 Sonoma 14.2.1

Yep, this will persist until this PR is merged or until the authors implement their own scroll controller. If you need that right now, feel free to try and test it in my fork. https://github.com/movalex/ChatGPT-Next-Web/tree/develop

movalex avatar Feb 07 '24 21:02 movalex

tbh this pretty useful but, I don't think so this pr will be merged, since the owner of this repository has changed.

H0llyW00dzZ avatar Feb 08 '24 06:02 H0llyW00dzZ

tbh this pretty useful but, I don't think so this pr will be merged, since the owner of this repository has changed.

Why does the owner change would prevent them from merging it?

movalex avatar Feb 08 '24 07:02 movalex

tbh this pretty useful but, I don't think so this pr will be merged, since the owner of this repository has changed.

Why does the owner change would prevent them from merging it?

I have no idea

H0llyW00dzZ avatar Feb 08 '24 09:02 H0llyW00dzZ

Btw you did a great work with your fork. I like the search bar in the chat list! I added a few changes to my repo recently too. I use Upstash to sync the chats, so I added a Force Push option to replace data on remote. https://github.com/movalex/ChatGPT-Next-Web/tree/feat/add-force-sync-Upstash-option

movalex avatar Feb 08 '24 11:02 movalex

Btw you did a great work with your fork. I like the search bar in the chat list! I added a few changes to my repo recently too. I use Upstash to sync the chats, so I added a Force Push option to replace data on remote. https://github.com/movalex/ChatGPT-Next-Web/tree/feat/add-force-sync-Upstash-option

it was created by Andision about search bar. Also, I might add my own chat synchronization feature later, which will be written in Go.

now still focusing to improve a local storage in browser

H0llyW00dzZ avatar Feb 08 '24 14:02 H0llyW00dzZ

This behaviour persists in latest 2.10.3, mac m1 Sonoma 14.2.1

Yep, this will persist until this PR is merged or until the authors implement their own scroll controller. If you need that right now, feel free to try and test it in my fork. https://github.com/movalex/ChatGPT-Next-Web/tree/develop

Thx! Can you clarify/link to how? Im asking CGPT and getting a bit lost

m0rg5 avatar Feb 08 '24 14:02 m0rg5

@movalex I've cherry-picked your PR into my fork. It's quite useful.

H0llyW00dzZ avatar Feb 10 '24 10:02 H0llyW00dzZ

Bot detected the issue body's language is not English, translate it automatically.


@movalex I've cherry-picked your PR into my fork. It's quite useful.

Issues-translate-bot avatar Feb 10 '24 10:02 Issues-translate-bot

@movalex is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 16 '24 10:02 vercel[bot]

Your build has completed!

Preview deployment

github-actions[bot] avatar Feb 16 '24 10:02 github-actions[bot]