Repository navigation
fix(ui): align task toolbar with side-panel tabs - #138769
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 4, 2026, 10:00 PM ET / September 5, 2026, 02:00 UTC. ClawSweeper reviewWhat this changesMoves the task toolbar into the side-panel layout grid to align it with neighboring tabs, and updates native window-control spacing, geometry tests, and dashboard documentation. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 3 items remain The alignment repair remains necessary on the pinned main revision, but removing the wrapper leaves mobile styling and a sibling geometry test broken. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI task layout positions Chat, Dashboard, and other panels according to the selected arrangement. Its shared grid places headers and content while keeping live panel contents mounted across swaps and docking changes. flowchart TD
A[Saved arrangement and layout controls] --> B[Task panel grid]
B --> C[Task toolbar]
B --> D[Side-panel tabs]
C --> E[Main view]
D --> F[Side view]
E --> G[Retained chat and panel content]
F --> G
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +12, Tests +85, Docs +4. Total +101 across 9 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep one shared grid with preserved mobile breadcrumbs, touch targets, and content offsets; retain only the native-selector expansion needed to place window-control clearance on the physical-left header. Do we have a high-confidence way to reproduce the issue? Yes—from source: pinned main places the toolbar above the whole split, while this head removes the ancestor required by mobile styles and the header-axis geometry probe. No browser execution was performed in this read-only review. Is this the best way to solve the issue? Not yet. Moving the toolbar into the existing grid fixes the correct owner boundary, but the responsive stylesheet and sibling geometry probe must follow the new hierarchy. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d8262bf1500b. LabelsLabel changes:
Label justifications:
EvidenceWhat 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
|
|
Merged via squash.
|
Apply the upstream fixture correction from #138769 so chat startup and dashboard navigation resolve the same session.
…8707) * refactor(anthropic): replace Agent SDK with direct CLI transport * fix(anthropic): preserve direct CLI invocation contracts * test(gateway): request exact CLI announcement proof marker * test(ui): preserve dashboard resolution across navigation Apply the upstream fixture correction from #138769 so chat startup and dashboard navigation resolve the same session.
* fix(ui): align task toolbar with side-panel tabs * fix(ui): preserve mobile headers in aligned panel layouts
…nclaw#138707) * refactor(anthropic): replace Agent SDK with direct CLI transport * fix(anthropic): preserve direct CLI invocation contracts * test(gateway): request exact CLI announcement proof marker * test(ui): preserve dashboard resolution across navigation Apply the upstream fixture correction from openclaw#138769 so chat startup and dashboard navigation resolve the same session.
* refs/remotes/origin/main: (602 commits) fix(plugins): trace trust refusals and repair legacy provenance (openclaw#138746) perf(sqlite): reuse compiled plugin state point reads (openclaw#138758) refactor: type chat prefetch dependencies and clean loading tests (openclaw#138793) ci: reduce Doctor test startup and core lint jobs (openclaw#138796) feat(update): retain run history and share outcome reports (openclaw#138690) chore(deps): update @openclaw/fs-safe to 0.8.1 (openclaw#138500) fix: preserve global board ownership from pinning to notifications (openclaw#138675) fix(gateway): deliver session catalog updates from slow hosts (openclaw#138674) perf(sessions): index pending conversation replies (openclaw#127182) perf(auth): reuse ordered provider alias entries (openclaw#138805) docs(diagnostics): clarify whole-process CPU metrics (openclaw#138804) perf(memory): narrow source reads and stream embedding cache rows (openclaw#138766) fix: allow older source on newer Testbox checkouts (openclaw#138782) fix(agents): preserve recovered task progress and lifecycle ownership (openclaw#138785) perf(codex): reduce rollout tail scan CPU (openclaw#138784) perf(gateway): stop projecting history deltas at the byte budget (openclaw#138655) fix(build): bound native declaration inputs to checkout (openclaw#138742) fix(cli): preserve foreground Gateway argument handling (openclaw#138765) fix(ui): align task toolbar with side-panel tabs (openclaw#138769) fix(logbook): drain accepted work before closing SQLite (openclaw#138754) ... # Conflicts: # src/agents/embedded-agent-runner/compact.queued.ts
What Problem This Solves
Fixes an issue where opening a task side panel puts its tabs a full row below the task toolbar. Restore the aligned header band: toolbar over the main pane, tabs over the side pane, and both content panes starting at the same height.
Related: #138077, #138713.
Why This Change Was Made
The task header now occupies the main-header area of the existing panel grid. This removes the full-width wrapper that pushed the side tabs down, while retaining the same live chat, widget, browser, and terminal roots across swaps. Native window-control clearance follows whichever header is physically at the top left.
User Impact
Left and right layouts have one aligned header band, including after swapping Dashboard and Chat. Bottom and mobile layouts keep each header above its own pane. Focus/Restore, saved layouts, drafts, widget input, and terminal sessions continue to work.
Evidence
@openclaw/fs-safe0.7.0 lacksassertBeforeRename, while the repository pins 0.7.2. The first CI run passed production types and the UI owner shards; its test failures were resolved in the follow-up described below. Final-head CI passed on6bed499fca7718e0e6db78ad1eaa8a2906fc4272, including all UI browser shards, production/test typechecks, and the real-Gateway browser suite.Production: +12 net lines, replacing the full-width wrapper with shared grid placement and physical-left native clearance. Tests: +93 net lines, chiefly measured regression coverage in existing flows. Docs: +4 net lines. No persistence format, configuration, database schema, or Gateway protocol changes.
Swapped dashboard with Chat docked left
CI and review follow-up
The first CI run found a tuple-inference error and geometry probes still tied to the former DOM hierarchy. The focused rerun then exposed the stale mobile CSS selectors. All are repaired, preserving the existing mobile breadcrumb, touch-target, safe-area, and content-offset assertions. The same run exposed an existing dashboard-gallery fixture mismatch introduced by #138635: startup resolved the session correctly, but the subsequent session-resolution request reported it missing. Both mock methods now share one resolution object; production routing is unchanged.
Both findings and rank-up moves in the ClawSweeper review are addressed: mobile rules target the new header owner, the zero-height clearance override targets only content, and header-axis probes measure the visible main pane. Desktop/mobile, light/dark, short-landscape, native, and rearrangement coverage passes.
Mobile after restoring the header styles