You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat UI virtualization (perf on large conversations) #860
P1Urgent regression or broken agent/channel workflow affecting real users now.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 26, 2026, 2:40 PM ET / 18:40 UTC.
Summary
Keep open: current main still renders the native chat timeline by constructing rows for every entry inside a ScrollView/VStack path, and I did not find a chat-specific virtualized list implementation or a merged replacement. The broader chat UX tracking issue at #839 remains open and lists this as child work.
Reproducibility: not applicable. as a feature/performance backlog item. Source inspection shows the current native timeline constructs an element per entry inside a ScrollView/VStack path, but the report does not provide a runtime perf threshold or trace.
Ways to help us reproduce this
Add a screenshot or short recording showing the behavior.
Add expected vs actual behavior.
Next step
This is a focused chat UI performance feature with clear likely files, but it is medium complexity and needs real scroll-performance validation.
Review details
Best possible solution:
Add chat-specific virtualization in OpenClawChatTimeline, likely through an ItemsRepeater-backed or FunctionalUI virtualized list host, while preserving the existing chat interaction and scroll semantics.
Do we have a high-confidence way to reproduce the issue?
Not applicable as a feature/performance backlog item. Source inspection shows the current native timeline constructs an element per entry inside a ScrollView/VStack path, but the report does not provide a runtime perf threshold or trace.
Is this the best way to solve the issue?
Yes, virtualizing the native chat timeline is the right maintainable direction for this request. The existing A2UI ItemsRepeater virtualization is separate and does not solve the OpenClawChatTimeline renderer used by the chat page.
AGENTS.md: found, but no applicable review policy affected this item.
Remaining risk / open question:
The issue does not include a concrete conversation size, scroll FPS target, or runtime trace, so the implementation should add measurable before/after proof rather than only changing the control tree.
Virtualizing this renderer must preserve existing scroll-to-bottom, scroll offset restore, tool-call nesting, hover actions, text selection, thinking indicator placement, and history replay behavior.
Codex review notes: model internal, reasoning high; reviewed against 1c377cb64b65.
Label changes
Label changes:
add P2: Large chat history performance is a normal-priority user-facing improvement with a limited chat UI blast radius.
add impact:other: The issue is about chat UI performance and smooth scrolling, which is maintainer-visible but outside the more specific owned impact labels.
add issue-rating: 🌊 off-meta tidepool: Current issue advisory state selects this label.
Label justifications:
P2: Large chat history performance is a normal-priority user-facing improvement with a limited chat UI blast radius.
impact:other: The issue is about chat UI performance and smooth scrolling, which is maintainer-visible but outside the more specific owned impact labels.
Evidence reviewed
Acceptance criteria:
./build.ps1
dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore
dotnet test ./tests/OpenClaw.Tray.UITests/OpenClaw.Tray.UITests.csproj --no-restore
What I checked:
Repository policy read: AGENTS.md was present and read fully; its required validation guidance applies to future changes, but no files were changed during this read-only review. (AGENTS.md:1, 1c377cb64b65)
Current chat root passes all timeline entries: OpenClawChatRoot reads timeline.Entries and passes that list directly into OpenClawChatTimeline; it also currently disables the timeline's HasMoreHistory/OnLoadMoreHistory hooks at the call site. (src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs:475, 1c377cb64b65)
Current timeline constructs an element per entry: OpenClawChatTimeline allocates renderedEntries using Props.Entries.Count and loops over orderedIdx to render each entry before composing the final rows. (src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs:2141, 1c377cb64b65)
Related tracking issue is open: The open tracking issue at 🦞 Tracking: Chat & everyday UX feel great #839 lists this chat virtualization work under the chat and everyday UX epic, so this is not an orphaned request.
Likely related people:
kenehong: The chat timeline history shows a large run of chat UI commits from kenehong, including tool card layout, bubble alignment, and nested tool burst rendering in the same renderer path. (role: feature-history owner; confidence: high; commits: 1287011c9f56, 4c522a3252e0, 6301d78b6bea; files: src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs)
RBrid: Régis Brid introduced the native FunctionalUI chat experience and recently changed the chat timeline/root/data-provider path for inline exec approvals. (role: introduced behavior and recent area contributor; confidence: high; commits: 08cab69a038c, 4e7982bafb86, 7d9152f427a3; files: src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs, src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs, src/OpenClaw.Tray.WinUI/Chat/OpenClawChatDataProvider.cs)
christineyan4: Christine Yan authored prior chat UI polish and performance/scroll-preservation work and appears repeatedly in the chat timeline history. (role: adjacent chat performance contributor; confidence: medium; commits: 488f26509ced, 9478e953dc38, a482ca9e1713; files: src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs, src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
P1Urgent regression or broken agent/channel workflow affecting real users now.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.
Activity
clawsweeper commentedon Jun 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 26, 2026, 2:40 PM ET / 18:40 UTC.
Summary
Keep open: current main still renders the native chat timeline by constructing rows for every entry inside a ScrollView/VStack path, and I did not find a chat-specific virtualized list implementation or a merged replacement. The broader chat UX tracking issue at #839 remains open and lists this as child work.
Reproducibility: not applicable. as a feature/performance backlog item. Source inspection shows the current native timeline constructs an element per entry inside a ScrollView/VStack path, but the report does not provide a runtime perf threshold or trace.
Ways to help us reproduce this
Next step
This is a focused chat UI performance feature with clear likely files, but it is medium complexity and needs real scroll-performance validation.
Review details
Best possible solution:
Add chat-specific virtualization in OpenClawChatTimeline, likely through an ItemsRepeater-backed or FunctionalUI virtualized list host, while preserving the existing chat interaction and scroll semantics.
Do we have a high-confidence way to reproduce the issue?
Not applicable as a feature/performance backlog item. Source inspection shows the current native timeline constructs an element per entry inside a ScrollView/VStack path, but the report does not provide a runtime perf threshold or trace.
Is this the best way to solve the issue?
Yes, virtualizing the native chat timeline is the right maintainable direction for this request. The existing A2UI ItemsRepeater virtualization is separate and does not solve the OpenClawChatTimeline renderer used by the chat page.
AGENTS.md: found, but no applicable review policy affected this item.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 1c377cb64b65.
Label changes
Label changes:
P2: Large chat history performance is a normal-priority user-facing improvement with a limited chat UI blast radius.impact:other: The issue is about chat UI performance and smooth scrolling, which is maintainer-visible but outside the more specific owned impact labels.issue-rating: 🌊 off-meta tidepool: Current issue advisory state selects this label.Label justifications:
P2: Large chat history performance is a normal-priority user-facing improvement with a limited chat UI blast radius.impact:other: The issue is about chat UI performance and smooth scrolling, which is maintainer-visible but outside the more specific owned impact labels.Evidence reviewed
Acceptance criteria:
What I checked:
AGENTS.md:1, 1c377cb64b65)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs:475, 1c377cb64b65)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs:2141, 1c377cb64b65)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs:2453, 1c377cb64b65)src/OpenClaw.Tray.WinUI/A2UI/Rendering/Renderers/ContainerRenderers.cs:68, 1c377cb64b65)Likely related people:
src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs,src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs,src/OpenClaw.Tray.WinUI/Chat/OpenClawChatDataProvider.cs)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatTimeline.cs,src/OpenClaw.Tray.WinUI/Chat/OpenClawChatRoot.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.clawsweeper commentedon Jun 26, 2026
🦞⚠️
Automatic implementation stopped before completion.
Reason: The automatic implementation worker stopped before all deterministic gates completed. Open the workflow run for the exact blocker.
Worker: https://github.com/openclaw/clawsweeper/actions/runs/28265737565