[PR #1106] [CLOSED] web: follow streaming Thinking and preserve reading position #3029

Closed
opened 2026-11-04 02:05:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1106
Author: @medking82
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: codex/fix-thinking-scroll-new-main-20261006


📝 Commits (1)

  • 2aeb31c web: follow streaming Thinking and preserve reading position

📊 Changes

2 files changed (+168 additions, -7 deletions)

View changed files

📝 serve/web/app.js (+11 -7)
➕ tools/test_chat_scroll.cjs (+157 -0)

📄 Description

Streaming reasoning can fill the capped Thinking pane while its scrollbar stays at the old position. A large answer delta can also move a chat that was following the bottom outside the follow threshold before the old check runs.

Capture scroll intent before updating either pane, follow Thinking independently, and preserve manual scroll-up and disclosure choices. Apply the same behavior to the final unpainted chunk; explicit tool-disclosure repaints keep the user's reading position.

Replacement for #1075 after the upstream history rewrite, based on new main 82f46a8c8f475f001ad76d92f58f4a4f8ffb0253. Contains one fix commit and only serve/web/app.js plus its regression tests.

Validation:

  • node --test tools/test_chat_scroll.cjs: 10/10 pass. Five of the original nine checks fail on unchanged new main; the additional tool-disclosure check was also reproduced failing before its correction.
  • node --check serve/web/app.js and git diff --check origin/main: pass.
  • Nine browser interaction checks pass using the actual renderer, scroll functions, click/toggle handlers and CSS with synthetic content in an isolated loopback fixture. No GPU or model inference was exercised.

🔄 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/Niko1221/Strata/pull/1106 **Author:** [@medking82](https://github.com/medking82) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/fix-thinking-scroll-new-main-20261006` --- ### 📝 Commits (1) - [`2aeb31c`](https://github.com/Niko1221/Strata/commit/2aeb31cced46d6063d27feec66578ebcc0963123) web: follow streaming Thinking and preserve reading position ### 📊 Changes **2 files changed** (+168 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `serve/web/app.js` (+11 -7) ➕ `tools/test_chat_scroll.cjs` (+157 -0) </details> ### 📄 Description Streaming reasoning can fill the capped Thinking pane while its scrollbar stays at the old position. A large answer delta can also move a chat that was following the bottom outside the follow threshold before the old check runs. Capture scroll intent before updating either pane, follow Thinking independently, and preserve manual scroll-up and disclosure choices. Apply the same behavior to the final unpainted chunk; explicit tool-disclosure repaints keep the user's reading position. Replacement for #1075 after the upstream history rewrite, based on new main `82f46a8c8f475f001ad76d92f58f4a4f8ffb0253`. Contains one fix commit and only `serve/web/app.js` plus its regression tests. Validation: - `node --test tools/test_chat_scroll.cjs`: 10/10 pass. Five of the original nine checks fail on unchanged new main; the additional tool-disclosure check was also reproduced failing before its correction. - `node --check serve/web/app.js` and `git diff --check origin/main`: pass. - Nine browser interaction checks pass using the actual renderer, scroll functions, click/toggle handlers and CSS with synthetic content in an isolated loopback fixture. No GPU or model inference was exercised. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:05:04 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3029
No description provided.