Repository navigation
fix(ui): keep ad hoc visualizations inline and readable - #126729
Merged
steipete merged 2 commits intoAug 20, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 20, 2026 16:05
steipete
force-pushed
the
steipete/visualization-display-and-dashboard-bugs-10bea5
branch
from
August 20, 2026 16:24
cc37d0e to
d52a06f
Compare
steipete
force-pushed
the
steipete/visualization-display-and-dashboard-bugs-10bea5
branch
from
August 20, 2026 16:34
d52a06f to
2603a40
Compare
Contributor
Author
|
Land-ready verification for head
Proof run:
Visual proof:
Known proof gap: this is deterministic mocked-Gateway Chromium proof rather than a pre-merge deployment to team.openclaw.ai. The browser test deliberately pauses The latest ClawSweeper comments are review-start placeholders and contain no published |
steipete
deleted the
steipete/visualization-display-and-dashboard-bugs-10bea5
branch
August 20, 2026 17:05
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 21, 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.
What Problem This Solves
Fixes three related Control UI problems with ad hoc visualizations:
Why This Change Was Made
Expanded work now becomes separate virtual transcript rows instead of growing inside the already-measured summary row. Canvas and attachment groups are treated as persistent visible outcomes that stop the rollup boundary, for both assistant- and tool-shaped messages. The widget and dashboard tool descriptions now put the inline-first threshold before the deferred tool-directory truncation point, while preserving the existing board-only fallback and runtime defaults.
The Web “Worked for” product contract remains intact; this repairs its ownership boundary rather than deleting the rollup.
User Impact
Single visualizations remain visible inline, completed work can be expanded without covering the answer, and dashboards are reserved for explicit dashboard requests or responses with multiple non-code visualizations.
Evidence
Before
The final reply shares the stale virtual-row position with expanded work:
After
The visualization remains visible before the rollup, and expanded work occupies independent rows without overlap:
The browser regression deliberately pauses
ResizeObserverafter initial layout, proving correctness does not depend on the observer racing the next paint.Validation:
node scripts/check-changed.mjspnpm test:changed— 9,851 tests passed across the selected shards; the first run hit an unrelated jsdom focus-matching flake inconfig-form-collection-defaults.browser.test.ts, which passed in isolation and on the complete rerunnode scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-worked-for-visualization.e2e.test.tspnpm buildpnpm ui:buildon the current-main Node 24 tree: 336.4 KiB startup gzip (339.9 KiB limit)The first exact-head CI runs exposed a startup bundle overage in their advancing merge trees. The transcript projection was compressed, the branch was rebased to current
main, and the budget was not raised; the current-main Node 24 build now passes with 3.5 KiB of gzip headroom.Production LOC: +33/-29 (net +4) | Tests: +255/-7
AI-assisted: yes. The implementation and tests were reviewed against the affected source, the TanStack virtualizer measurement contract, the existing Web rollup product issue, and current dashboard documentation.