Repository navigation
fix: MCP apps stay in a thin strip when expanded - #193069
Merged
Merged
Conversation
Let the existing stylesheet own inline and fullscreen display layout. Add Chromium/WebKit transcript flow coverage for app-requested expansion, viewport resize, and inline restoration; provision WebKit for its CI shard. The 140-line test allocation covers the nested-frame browser boundary that component tests miss. Independent review findings addressed: register WebKit provisioning and reject stale overflowing resize geometry.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
Patrick-Erichsen
enabled auto-merge (squash)
November 5, 2026 00:07
Patrick-Erichsen
disabled auto-merge
November 5, 2026 00:18
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 5, 2026
Let the existing stylesheet own inline and fullscreen display layout. Add Chromium/WebKit transcript flow coverage for app-requested expansion, viewport resize, and inline restoration; provision WebKit for its CI shard. The 140-line test allocation covers the nested-frame browser boundary that component tests miss. Independent review findings addressed: register WebKit provisioning and reject stale overflowing resize geometry.
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 MCP apps such as Excalidraw remaining in a thin top strip after clicking Edit to expand the transcript app.
User Impact
Expanded apps fill the available editor height, follow viewport resizing, and still return to their original inline height when closed. No configuration changes are required.
Why This Change Was Made
The transcript adapter forced
display: blockinline, overriding the existing fullscreen flex layout. Remove that redundant override so the stylesheet remains the single layout owner; inlinedisplay: blockand the existing minimum height stay intact. No sandbox, CSP, permission, or transport policy changes.Evidence
Same browser flow through the real Control UI transcript host, sandbox, and MCP bridge fails before the fix in Chromium and WebKit: an 800px fullscreen host contains a 150px app frame. After the fix, both engines give the app 708px of usable height. Viewport resize and Close back to 450px inline also pass.
The fixture is a synthetic MCP app with an Edit button and diagram, not the upstream Excalidraw frontend. The Gateway methods are mocked; this proves the production host-layout boundary, not a live-provider or deployed-Gateway result.
Focused browser regression: 2 tests passed, 5.53s test time / 19.11s wall time including the isolated UI build. Exact-head CI build and the selected UI E2E job also passed.
Formatting, diff whitespace, assertion-safety and line-cap ratchets pass. Local lint is blocked before analysis because the task checkout links another checkout's dependencies, which the physical dependency-boundary policy rejects. The completed CI attempt reported no lint error in a changed file; inherited failures are recorded below. No guard was bypassed.
Regression adds 140 test lines for the real nested-frame browser boundary, with its own test-line allocation. Production delta is one replaced line; no new runtime machinery.
Independent source review confirmed the production fix and found two test issues, now addressed: register this suite for CI WebKit provisioning and verify resized geometry shrinks without viewport overflow.
Workflow static validation passes (
zizmor, Git-owned workflow checks, and composite interpolation check). The requested workflow guard corpus exceeded the 180s local command deadline before completion; no failing assertion was observed. The exact-head CI attempt is now complete; its inherited failures are recorded below.Local ClawSweeper completed the full committed range
943904e8c4cae76b64bf83b1b53a8c230122fb9b..aa435a560e087fa457654d29518031d818330e9ewith high reasoning effort and P2 triage coverage. No actionable correctness or security findings; no remaining review findings. This was source-only review, not an additional runtime replay.Completed CI and inherited-failure exception
CI run 41938414952, attempt 1 finished with failed CI, not a green result. Build artifacts, the selected UI E2E job, and independent security-fast passed. The two root failures are unrelated to this patch:
checks-ui (2/3): the unchanged Markdown-table test expectsCopied!, but the unchanged English translation isCopied. That fixture does not instantiate the MCP App host.check-lint-core-2: existing max-lines violations in ten untouched source/test files. Every failed input blob is identical between the protected CI baseline and the actual CI merge.The aggregate CI gate failed downstream of those jobs. The actual checkout was
1a5b837e56afc23174031148bf49b81c0853a57e(parents0af3fea539816c517ec8e595905ba1991dee6407,aa435a560e087fa457654d29518031d818330e9e). Scoped attribution and exact-head evidence are retained for the supported pre-existing-failure landing route; no security, review, or product finding is waived.Before (WebKit, synthetic MCP fixture)
After (same flow and viewport)