Window long-session message rendering#1666
Closed
Michaelyklam wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Closed by the v0.51.1 release in PR #1681 (merged at e23ba59). Massive thanks @Michaelyklam — this is now 19 merged PRs across the v0.50.292–v0.51.1 release window, an extraordinary contribution rate. Each PR was per-claim-vs-diff verified against your description and every security-relevant code path checked under independent review (Opus advisor, 6/6 questions clean). Your Live on production: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.1 🚀 |
nesquena-hermes
pushed a commit
to Michaelyklam/hermes-webui
that referenced
this pull request
May 5, 2026
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.
Thinking Path
Closes #734.
What Changed
renderMessages().Load earlier messages (N hidden)chip above the rendered transcript window.scrollHeightbefore/after inserting older messages._loadOlderMessages()path when the current in-memory session is already fully rendered but older server-paginated messages still exist.docs/pr-media/734/message-window-top.png.Why It Matters
UI media
Synthetic 121-message browser validation, showing the windowed transcript starting at message 21 with 21 earlier messages hidden:
Verification
node --check static/ui.jsnode --check static/sessions.js/home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/test_issue734_message_windowing.py tests/test_auto_compression_card.py tests/test_1325_user_fenced_code.py tests/test_ui_tool_call_cleanup.py tests/test_turn_duration_display.py tests/test_parallel_session_switch.py -q->79 passedgit diff --check127.0.0.1:18734) with synthetic 121-message session:70, latest raw index119, andLoad earlier messages (70 hidden)20, latest raw index119, and scroll restoration matched the height delta21, and rendered the live assistant turn at raw index120docs/pr-media/734/message-window-top.png; raw GitHub URL verified200 46119env -u HERMES_CONFIG_PATH /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/ -qinitially failed after 6m32s with unrelated harness/state failures plus source-string drift that this PR then fixed.env -u HERMES_CONFIG_PATH HERMES_HOME=/tmp/hermes-webui-kanban/t_c2343b16/full-test-home HERMES_BASE_HOME=/tmp/hermes-webui-kanban/t_c2343b16/full-test-home /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/ -qran after fixes and failed after 6m28s with test-server/HERMES_HOME mismatch and connection-refused failures in login/media/session harness tests; targeted affected suites above are green.Risks / Follow-ups
S.messages, and the user opts into rendering earlier pages with the chip.Model Used