Repository navigation
fix(ui): let focused dashboard widgets fill the task area - #154440
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. Reviewed September 21, 2026, 3:08 AM ET / 07:08 UTC (Revision 3). ClawSweeper reviewWhat this changesMakes focused dashboard widgets fill the task area and sizes embedded MCP apps from their rendered containers, with documentation and regression coverage. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 2 items remain The layout fix remains useful and has convincing visual evidence, but the previously reported load-error visibility defect remains in the current head and verified test merge. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI dashboard renders session widgets inside a resizable task panel. Its layout determines the space available to embedded MCP apps and reports those dimensions through the existing app bridge. flowchart TD
A[Session dashboard] --> B[Focused or split task layout]
B --> C[Widget container]
C --> D[MCP app view]
D --> E[Measured dimensions]
E --> F[Embedded app bridge]
D --> G[Visible app or load error]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +97, Docs +2. Total +99 across 10 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain container-based sizing for mounted apps while collapsing an empty mount so load failures remain immediately visible. Do we have a high-confidence way to reproduce the issue? Yes, from source: reject mcp.app.view for a container-sized dashboard app; the empty full-height mount places the error below the visible area. This review did not execute that scenario. Is this the best way to solve the issue? Yes, measuring the existing container is the narrowest sizing fix, but its empty/error state must retain the previous visible failure behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f6f59497b50f. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Retire automatic follow before a new remote typing row renders. Preserve queued and active reader commands through retargets, and release completed end intent using the existing geometry boundary. Fixes the current-main race exposed by PR #154440 CI run 35563116798. Deterministic owner regressions fail before the repair; component coverage, changed checks, and two-profile real Gateway proof pass with zero drift across all 16 checkpoints.
Use the rendered container for embedded MCP app sizing instead of estimating iframe height from saved grid rows. Preserve widget state across fullscreen, resizing, and split view.
Initialize the synthetic MCP app so failed geometry checks retain their real diagnostic, and check host dimensions across focus, resize, and split.
be37c8a to
06a4d1a
Compare
|
Merged via squash.
|
…question-layout-restart-recovery-20260921 * 'main' of https://github.com/openclaw/openclaw: (110 commits) perf(infra): collect and retire idle worker heaps (openclaw#154408) perf(sessions): hand shared history to the final reader (openclaw#154552) fix: clarify Codex onboarding migration scope (openclaw#151383) fix: recover conflicted PRs after accepted auto-merge perf(update): defer Gateway maintenance during candidate validation (openclaw#154548) perf(test): advance llama.cpp reload deadlines virtually (openclaw#154536) refactor(skills): prepare pinned library resources off-thread (openclaw#148560) fix(tooling): preserve Node compiler policy in script subprocesses (openclaw#154509) ci: select supported Node and cover packaged Node 26 (openclaw#154298) fix(release): preserve Telegram rerun evidence (openclaw#154561) docs: follow pending PR merges through completion fix(gateway): avoid stuck shutdowns after lifecycle errors (openclaw#145241) fix(ui): let focused dashboard widgets fill the task area (openclaw#154440) feat(release): add non-Latest extended-stable releases (openclaw#154515) fix(release): project 7.35 package Telegram config (openclaw#154546) refactor(config): derive host contracts from schemas (openclaw#153936) fix(ui): remove finished subagents from inline activity (openclaw#154469) refactor(config): derive core channel contracts from schemas (openclaw#153935) refactor(config): derive boundary contracts from schemas (openclaw#153937) fix(ui): keep thread activity current across cached updates (openclaw#154540) ...
Retire automatic follow before a new remote typing row renders. Preserve queued and active reader commands through retargets, and release completed end intent using the existing geometry boundary. Fixes the current-main race exposed by PR openclaw#154440 CI run 35563116798. Deterministic owner regressions fail before the repair; component coverage, changed checks, and two-profile real Gateway proof pass with zero drift across all 16 checkpoints.
…54440) * fix(ui): fill the task area with a focused dashboard widget Use the rendered container for embedded MCP app sizing instead of estimating iframe height from saved grid rows. Preserve widget state across fullscreen, resizing, and split view. * test(ui): verify dashboard app container dimensions Initialize the synthetic MCP app so failed geometry checks retain their real diagnostic, and check host dimensions across focus, resize, and split.
What Problem This Solves
Fixes a single full-width dashboard widget stopping partway down the screen in a focused task, leaving unused space below it.
User Impact
Focused widgets fill the available task area and follow window resizing. Restoring split view preserves the live widget and unsaved input. No configuration or migration is needed.
Why This Change Was Made
The page layout previously filled the height only for website/browser widgets. MCP apps also estimated iframe height from saved grid rows. Focused widgets now use the page layout, and MCP apps fill their actual container and report its measured dimensions through the existing bridge observer. Shell-free HTML documents retain their content sizing and scrolling behavior.
Evidence
Synthetic before/after screenshots reproduce the empty area and show the repaired layout.
check:changedpassed: formatting, lint, UI/core-test typechecks, i18n, and repository guards.The screenshots use a mocked Gateway and synthetic app content. This PR does not deploy the Team server.