Repository navigation
fix(ui): keep Details clear of dashboard pin controls - #168328
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 maintainer review before merge. What this changesThis PR left-aligns above-widget actions so Details no longer covers the dashboard-pin button. Example: View the first Canvas widget beside an open dashboard at 390×900.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs a concrete layout regression with a focused CSS change, sufficient visual proof, and no actionable findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI renders Canvas and MCP App previews with shared widget actions; available space determines whether those actions appear beside or above the preview. flowchart TD
A[Chat transcript] --> B[Widget preview]
B --> C[Available space observer]
C --> D[Side toolbar]
C --> E[Above widget toolbar]
E --> F[Pin and widget actions]
Technical reviewBest possible solution: Keep the existing responsive toolbar and move its above-widget placement left so Pin and Details remain independently reachable. Do we have a high-confidence way to reproduce the issue? Current-main positioning explains the collision, and supplied before screenshots show it at desktop and mobile sizes; no target code was executed during this review. Is this the best way to solve the issue? The final repair changes the shared toolbar owner directly, preserves widget geometry and Details placement, and avoids the earlier reserved-header approach. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0aee279a71af. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1. Total +1 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 10, 2026, 6:07 AM ET / 10:07 UTC (Revision 2). |
|
Landed in dd036a4. The chat Details button no longer covers the first widget's Pin/menu actions: those actions now sit on the left, and the transcript layout is unchanged. Proof: before/after desktop and mobile screenshots in the body, both blocked dashboard pin e2e flows and the geometry e2e files green. |
The Details layout fixture introduced in #161674 shrinks the browser window while still comparing sampled coordinates with its 900px anchor. Wait for ResizeObserver delivery and the next frame, then retain the new window's exact track and tick positions during composer growth. Preserve every case, exact equality, hidden-rail cutoff, and restoration check. No product code, sleeps, retries, or tolerance changes. Validation: controlled resize fails before and passes after; 30 pressured runs on four CPUs with two workers; nine full-file cases; typed and boundary lint; UI E2E types; independent P2 review. Owning shard 7/8 passes the rail cases and retains the two baseline dashboard pin failures covered by #168328. Check-changed retains unrelated unused-export failures.
The reservation introduced by 320b088 and moved by dc0ef48 adds 50px to committed transcripts and counts native mobile headers twice. This shifts newly admitted messages, rail geometry, and compact layouts. Remove the modifier and its margin rule. Keep the narrow widget toolbar alignment from #168328, which already separates Pin from Details. Validation: all 48 cases across six affected E2E files passed, including both dashboard Pin controls; full UI config passed 22,418 tests. UI and test types, typed/boundary/style lint, format, and P2 review passed. Inspected synthetic desktop/mobile before-and-after screenshots. Check-changed remains blocked by the unrelated 456-versus-455 environment variable budget; no budgets, tests, or expectations were changed.
Preserve scoped preference and reconnect display ownership, queue automatic roster reads, and use canonical pane navigation for Home. Update retired sidebar fixtures and enforce usable mobile controls. Retain the upstream widget-toolbar repair from dd036a4 (#168328), without a transcript shift. Co-authored-by: steipete <[email protected]>
* feat: organize personal navigation in a compact sidebar rail Separate Pages, Sessions, and Online with ordered personal shortcuts and profile-scoped navigation preferences. Preserve browser-local fallback and reconcile concurrent profile edits without shared session pin mutations. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 495e6aec-57a8-4b83-a195-c3e4f058553f * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 423ebe27-cf96-481c-99ee-90df232cf6ed * fix(ui): repair personal navigation lifecycle and browser coverage Preserve scoped preference and reconnect display ownership, queue automatic roster reads, and use canonical pane navigation for Home. Update retired sidebar fixtures and enforce usable mobile controls. Retain the upstream widget-toolbar repair from dd036a4 (#168328), without a transcript shift. Co-authored-by: steipete <[email protected]> * perf(ui): load GitHub hovercard copy at its lazy boundary Preserve eager session-row state labels, nested translation identities, and the complete ordered English catalog. The exact build passes the unchanged 374861-byte startup limit at 374795 bytes. Co-authored-by: steipete <[email protected]> * fix(ui): keep navigation integration within source checks Extract the header metadata mapping with exhaustive action checking, remove its retired settings re-export, and rebalance existing helper test roots without dropping coverage. Include the exact upstream public-reader test narrowing from 8420f82. All 27 core test graphs passed across the original and resumed selections; focused header and public-reader tests pass. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 4e80094b-c558-4dc8-9182-b7526b8af3d0 * test(ui): preserve personal pin and roster transition assertions Assert personal pin styling and exact cross-agent membership, wait for committed main metadata, and deliver synthetic radio changes without an async value-reset gap. Node and Bun affected suites pass 148 cases each. Timing-failure replays are not claimed as causal proof; the broad Bun selection retained two dependency-cache setup failures. Co-authored-by: steipete <[email protected]> * fix(ui): separate mobile child controls and align navigation fixtures Preserve shared horizontal menu clearance, wait for the lazy readiness hook, and retain exact filtered-lineage and owner-query assertions. Combined proof: 14 Bun unit cases and 18 Chromium cases; the final feedback assertion variant passes six cases. UI test type graphs, scoped typed lint, styles, formatting, and independent delta review pass. Timing-only CI failures remain qualified, not claimed as causally reproduced. Co-authored-by: steipete <[email protected]> * fix(ui): list plugin destinations once in Pages Keep each registered parent and child as its own flat catalog entry, without rendering the active parent's children twice. Preserve pinning and navigation; seven responsive and native-plugin browser cases pass, with production/E2E types, typed lint, formatting, independent review, and the unchanged enforced build budget. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: f7ae7fca-8e6f-4620-bc3a-ffcfc8474d1a * test(ui): retain main's split E2E graph ownership Remove the now-redundant helper repartition after main split chat E2Es into their own graph. The unchanged ownership regression reproduces before and all 27 cases pass after; canonical root coverage and both affected type graphs pass. No budgets or assertions changed. Both configs now exactly match integrated main. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: b1c64071-aa3f-4899-ab9f-530bcda0200f * fix(ui): recover pending shortcuts after a stable upgrade Adopt legacy pending navigation against a validated same-profile recorded baseline before hydration. Keep baseless writes rejected, retain their local choice with visible recovery guidance, and allow later appearance writes to drain. Actual stable pending-outbox replay, reload and Unpin recovery pass 176 preference tests and six Chromium cases; types, typed lint, i18n, scoped review, ratchets and unchanged enforced build budget pass. Co-authored-by: steipete <[email protected]> * perf: defer hovercard-only copy to its lazy catalog Keep shared labels eager and preserve the ordered source catalog and nested registry identities. Restores the unchanged startup budget after main integration; cold fallback, hovercard, browser, types, lint and independent review pass. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 3c74833f-b418-459c-a9fe-a04c4b26f03c * test(ui): align readiness wait with landed fix Adopt the byte-identical helper from ceea87b to resolve the independently landed readiness fix without pulling unrelated main changes. Co-authored-by: steipete <[email protected]> * Publish openclaw/redesign-ui-with-visualizer-sections Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: de310fd4-bd88-4171-8bcb-589e548b8fdc --------- Co-authored-by: steipete <[email protected]>
## What Problem This Solves The grouped Details control introduced by openclaw#161674 can cover the first widget's Pin to dashboard button in a narrow chat pane. This blocks Canvas and inline MCP App pinning. Related: openclaw#168315. ## User Impact Pin and widget actions remain visible and clickable without moving the transcript, composer, or Details control. No configuration or migration is required. ## Why This Change Was Made When a widget has insufficient room for its side toolbar, its actions already move above the widget. Align that fallback toolbar to the widget's left edge instead of its right edge, leaving the top-right Details gutter clear. Wide-pane side toolbars are unchanged. This replaces the earlier reserved-header fix, which shifted every transcript down by 38.59375px. The original absolute Details/notices/suggestions layout is restored. No geometry expectations, timeouts, or pointer checks were weakened. ## Evidence - Focused regression run: all 37 tests passed across `session-dashboard.e2e.test.ts`, `new-session-page.instant-thread.e2e.test.ts`, `chat-user-bubble-disclosure.e2e.test.ts`, and `chat-collaborator-scroll.e2e.test.ts`. This includes both previously blocked pin flows and all three reported geometry files. - Merged `origin/main` at `8c6e1832f1c`; on the integrated head, all four `chat-position-rail.e2e.test.ts` tests pass. The earlier 12px rail failure was eliminated by updating the stale base, not by changing tests. - Inspected final-head 1280×900 and 390×900 before/after captures below. The before captures temporarily restore the original right-aligned toolbar CSS in the same synthetic Canvas session. Pin hit-testing succeeds after the fix; transcript coordinates stay unchanged. - CSS stylelint, formatting, `lint:ui:no-raw-window-open`, and `git diff --check` passed. `node scripts/check-changed.mjs` stopped only at the existing stale max-lines entry for `src/commands/doctor-memory-search.test.ts`; no baseline changes are included. - Independent review found the obsolete reserved-header version in the index; that was replaced with the reviewed working-tree fix. It found no additional actionable defect in the replacement. ### Broader local run and remaining CI gate The local full-shard campaign completed E2E shards 1/8 and 2/8 successfully (422 and 384 tests). Shard 3 had two microphone-lifetime and two guest-publication failures; all four also reproduce on an isolated `origin/main` checkout (`8d944c887f9`). Shard 4's rail failure now passes on the integrated head. The long local campaign was stopped as requested; remaining E2E shards and `checks-ui` are left to hosted CI. This is not a claim that the entire UI suite is green. ## Screenshots Same synthetic first-widget scenario, with Details visible: | 1280×900 before | 1280×900 after | | --- | --- | |  |  | | 390×900 before | 390×900 after | | --- | --- | |  |  | Co-authored-by: Ayaan Zaidi <[email protected]>
The Details layout fixture introduced in openclaw#161674 shrinks the browser window while still comparing sampled coordinates with its 900px anchor. Wait for ResizeObserver delivery and the next frame, then retain the new window's exact track and tick positions during composer growth. Preserve every case, exact equality, hidden-rail cutoff, and restoration check. No product code, sleeps, retries, or tolerance changes. Validation: controlled resize fails before and passes after; 30 pressured runs on four CPUs with two workers; nine full-file cases; typed and boundary lint; UI E2E types; independent P2 review. Owning shard 7/8 passes the rail cases and retains the two baseline dashboard pin failures covered by openclaw#168328. Check-changed retains unrelated unused-export failures.
The reservation introduced by c363da1 and moved by 0482f56 adds 50px to committed transcripts and counts native mobile headers twice. This shifts newly admitted messages, rail geometry, and compact layouts. Remove the modifier and its margin rule. Keep the narrow widget toolbar alignment from openclaw#168328, which already separates Pin from Details. Validation: all 48 cases across six affected E2E files passed, including both dashboard Pin controls; full UI config passed 22,418 tests. UI and test types, typed/boundary/style lint, format, and P2 review passed. Inspected synthetic desktop/mobile before-and-after screenshots. Check-changed remains blocked by the unrelated 456-versus-455 environment variable budget; no budgets, tests, or expectations were changed.
…w#168325) * feat: organize personal navigation in a compact sidebar rail Separate Pages, Sessions, and Online with ordered personal shortcuts and profile-scoped navigation preferences. Preserve browser-local fallback and reconcile concurrent profile edits without shared session pin mutations. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 495e6aec-57a8-4b83-a195-c3e4f058553f * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 423ebe27-cf96-481c-99ee-90df232cf6ed * fix(ui): repair personal navigation lifecycle and browser coverage Preserve scoped preference and reconnect display ownership, queue automatic roster reads, and use canonical pane navigation for Home. Update retired sidebar fixtures and enforce usable mobile controls. Retain the upstream widget-toolbar repair from ec8d1e8 (openclaw#168328), without a transcript shift. Co-authored-by: steipete <[email protected]> * perf(ui): load GitHub hovercard copy at its lazy boundary Preserve eager session-row state labels, nested translation identities, and the complete ordered English catalog. The exact build passes the unchanged 374861-byte startup limit at 374795 bytes. Co-authored-by: steipete <[email protected]> * fix(ui): keep navigation integration within source checks Extract the header metadata mapping with exhaustive action checking, remove its retired settings re-export, and rebalance existing helper test roots without dropping coverage. Include the exact upstream public-reader test narrowing from eb3e04d. All 27 core test graphs passed across the original and resumed selections; focused header and public-reader tests pass. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 4e80094b-c558-4dc8-9182-b7526b8af3d0 * test(ui): preserve personal pin and roster transition assertions Assert personal pin styling and exact cross-agent membership, wait for committed main metadata, and deliver synthetic radio changes without an async value-reset gap. Node and Bun affected suites pass 148 cases each. Timing-failure replays are not claimed as causal proof; the broad Bun selection retained two dependency-cache setup failures. Co-authored-by: steipete <[email protected]> * fix(ui): separate mobile child controls and align navigation fixtures Preserve shared horizontal menu clearance, wait for the lazy readiness hook, and retain exact filtered-lineage and owner-query assertions. Combined proof: 14 Bun unit cases and 18 Chromium cases; the final feedback assertion variant passes six cases. UI test type graphs, scoped typed lint, styles, formatting, and independent delta review pass. Timing-only CI failures remain qualified, not claimed as causally reproduced. Co-authored-by: steipete <[email protected]> * fix(ui): list plugin destinations once in Pages Keep each registered parent and child as its own flat catalog entry, without rendering the active parent's children twice. Preserve pinning and navigation; seven responsive and native-plugin browser cases pass, with production/E2E types, typed lint, formatting, independent review, and the unchanged enforced build budget. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: f7ae7fca-8e6f-4620-bc3a-ffcfc8474d1a * test(ui): retain main's split E2E graph ownership Remove the now-redundant helper repartition after main split chat E2Es into their own graph. The unchanged ownership regression reproduces before and all 27 cases pass after; canonical root coverage and both affected type graphs pass. No budgets or assertions changed. Both configs now exactly match integrated main. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: b1c64071-aa3f-4899-ab9f-530bcda0200f * fix(ui): recover pending shortcuts after a stable upgrade Adopt legacy pending navigation against a validated same-profile recorded baseline before hydration. Keep baseless writes rejected, retain their local choice with visible recovery guidance, and allow later appearance writes to drain. Actual stable pending-outbox replay, reload and Unpin recovery pass 176 preference tests and six Chromium cases; types, typed lint, i18n, scoped review, ratchets and unchanged enforced build budget pass. Co-authored-by: steipete <[email protected]> * perf: defer hovercard-only copy to its lazy catalog Keep shared labels eager and preserve the ordered source catalog and nested registry identities. Restores the unchanged startup budget after main integration; cold fallback, hovercard, browser, types, lint and independent review pass. Co-authored-by: steipete <[email protected]> * feat: organize personal navigation in a compact sidebar rail Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 3c74833f-b418-459c-a9fe-a04c4b26f03c * test(ui): align readiness wait with landed fix Adopt the byte-identical helper from 23ee4fc to resolve the independently landed readiness fix without pulling unrelated main changes. Co-authored-by: steipete <[email protected]> * Publish openclaw/redesign-ui-with-visualizer-sections Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: de310fd4-bd88-4171-8bcb-589e548b8fdc --------- Co-authored-by: steipete <[email protected]>
What Problem This Solves
The grouped Details control introduced by #161674 can cover the first widget's Pin to dashboard button in a narrow chat pane. This blocks Canvas and inline MCP App pinning. Related: #168315.
User Impact
Pin and widget actions remain visible and clickable without moving the transcript, composer, or Details control. No configuration or migration is required.
Why This Change Was Made
When a widget has insufficient room for its side toolbar, its actions already move above the widget. Align that fallback toolbar to the widget's left edge instead of its right edge, leaving the top-right Details gutter clear. Wide-pane side toolbars are unchanged.
This replaces the earlier reserved-header fix, which shifted every transcript down by 38.59375px. The original absolute Details/notices/suggestions layout is restored. No geometry expectations, timeouts, or pointer checks were weakened.
Evidence
session-dashboard.e2e.test.ts,new-session-page.instant-thread.e2e.test.ts,chat-user-bubble-disclosure.e2e.test.ts, andchat-collaborator-scroll.e2e.test.ts. This includes both previously blocked pin flows and all three reported geometry files.origin/mainat0aee279a71a; on the integrated head, all fourchat-position-rail.e2e.test.tstests pass. The earlier 12px rail failure was eliminated by updating the stale base, not by changing tests.lint:ui:no-raw-window-open, andgit diff --checkpassed.node scripts/check-changed.mjsstopped only at the existing stale max-lines entry forsrc/commands/doctor-memory-search.test.ts; no baseline changes are included.Broader local run and remaining CI gate
The local full-shard campaign completed E2E shards 1/8 and 2/8 successfully (422 and 384 tests). Shard 3 had two microphone-lifetime and two guest-publication failures; all four also reproduce on an isolated
origin/maincheckout (c18324d1396). Shard 4's rail failure now passes on the integrated head. The long local campaign was stopped as requested; remaining E2E shards andchecks-uiare left to hosted CI. This is not a claim that the entire UI suite is green.Screenshots
Same synthetic first-widget scenario, with Details visible: