Repository navigation
fix(chat): show history after quiet routines - #95
Closed
afeefuddin wants to merge 1 commit into
Closed
afeefuddin wants to merge 1 commit into
afeefuddin wants to merge 1 commit into
Conversation
afeefuddin
marked this pull request as ready for review
November 18, 2026 23:29
Contributor
|
Thanks @afeefuddin, great catch and a clear write-up. Merged into dev as 7e42f25 with you as the author; it ships in the next release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A chat could open blank after several quiet routines. The initial window counted stored entries before the renderer hid routine prompts and tool activity. Those entries could fill the window and push the last visible reply out of view until the user scrolled up.
The chat now extends its initial window to include the newest visible message. If the loaded history contains only hidden entries, it requests earlier pages until it finds a visible row or reaches the start of the thread. A stalled or failed request for the same cursor does not repeat automatically.
How it was checked
devbaseline and the patched renderer. Opened the same synthetic chat in two isolated fixtures. Before, 173 hidden entries left the chat blank until scrolling up. After, the older reply appeared on open.pnpm lintand the frontend typecheck (pnpm exec tsc -b) passed.pnpm typecheckreported the same five errors on the patch and its unchangeddevbase. The fullpnpm testrun was stopped after server and driver tests timed out.Watch the before-and-after recording (MP4)
pnpm typecheck,pnpm lintandpnpm testpass