[PR #2336] [MERGED] Make streaming behavior more natural #3956

Closed
opened 2026-02-22 18:34:50 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2336
Author: @shatfield4
Created: 9/20/2024
Status: Merged
Merged: 9/23/2024
Merged by: @timothycarambat

Base: masterHead: 2253-feat-ability-to-scroll-up-and-read-while-the-response-is-streaming


📝 Commits (4)

  • 8f74040 fix scrolling behavior + add cursor to streaming chats
  • 5d884e6 lint
  • 5a3a6b7 linting
  • 693384f Merge branch 'master' into 2253-feat-ability-to-scroll-up-and-read-while-the-response-is-streaming

📊 Changes

1 file changed (+37 additions, -22 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx (+37 -22)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2253

What is in this change?

  • Modify scroll behavior to act more like ChatGPT/Claude UI
  • If user scrolls up during message streaming, auto scroll stops unless user scrolls back down to bottom
  • Added as a cursor to the end of messages that are streaming to feel more natural

Additional Information

  • Tested with agents to make sure it does not interfere

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2336 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 9/20/2024 **Status:** ✅ Merged **Merged:** 9/23/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2253-feat-ability-to-scroll-up-and-read-while-the-response-is-streaming` --- ### 📝 Commits (4) - [`8f74040`](https://github.com/Mintplex-Labs/anything-llm/commit/8f740404b09ef08c7f32aa2aac313a101280a1c3) fix scrolling behavior + add cursor to streaming chats - [`5d884e6`](https://github.com/Mintplex-Labs/anything-llm/commit/5d884e617e3bb2a306d87e09d51a554845a31485) lint - [`5a3a6b7`](https://github.com/Mintplex-Labs/anything-llm/commit/5a3a6b7966cae2e1f3c7fb2bad7bdd3655628afd) linting - [`693384f`](https://github.com/Mintplex-Labs/anything-llm/commit/693384fe88de464a099e7fcf9421d6d959976e4e) Merge branch 'master' into 2253-feat-ability-to-scroll-up-and-read-while-the-response-is-streaming ### 📊 Changes **1 file changed** (+37 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx` (+37 -22) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2253 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Modify scroll behavior to act more like ChatGPT/Claude UI - If user scrolls up during message streaming, auto scroll stops unless user scrolls back down to bottom - Added `█` as a cursor to the end of messages that are streaming to feel more natural ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> - Tested with agents to make sure it does not interfere ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:50 -05:00
yindo closed this issue 2026-02-22 18:34:50 -05:00
yindo changed title from [PR #2336] Make streaming behavior more natural to [PR #2336] [MERGED] Make streaming behavior more natural 2026-06-05 15:16:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3956