Repository navigation
fix(ui): stop Details from snapping new chats left - #192435
Conversation
Keep cached restoration and later resize docking instant while the first uncached wide presentation uses the existing shared gutter motion. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: ea947f4c-bce3-4d0b-96d6-2d14c7223c8c
|
🦞👀 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. |
Visual evidenceSynthetic test data only. The screenshots show the pending new-session view before Details reveals and the settled panel afterward. The video shows the fixed transition at normal speed, then replays it at 0.25× speed. The regression also checks intermediate gutter widths and the actual composer position. after.mp4 |
|
Codex review: needs changes before merge. What this changesAnimate the first uncached Details reveal while preserving instant restoration, reduced motion, and later resize-driven docking. Example: Create a session in a 1700 × 1000 browser window.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep open: this maintainer-authored PR addresses a current UI defect, but bundle growth and the missing test allocation leave required gates failing. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI Details component converts pane visibility, available width, cached presentation, and user intent into panel placement and the conversation gutter. flowchart LR
A[Session creation] --> B[Admitted chat pane]
B --> C[Details layout owner]
D[Visibility and width] --> C
E[Cached presentation] --> C
C --> F[Details panel]
C --> G[Conversation gutter]
Technical reviewBest possible solution: Keep the entrance distinction in the existing Details owner, reduce its bundle footprint, and allocate the justified regression growth. Do we have a high-confidence way to reproduce the issue? Current-main source marks automatic opening as restoration, which disables the shared gutter transition; no target code was executed during this read-only review. Is this the best way to solve the issue? The pane-local entrance flag is a focused solution: it reuses the existing layout snapshot and CSS transition while preserving cached restoration and resize 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 1ca0669dbe39. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +13, Tests +100. Total +113 across 2 files. Added test files: 1. View PR surface stats
LabelsLabel 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 Reviewed November 3, 2026, 8:24 PM ET / November 4, 2026, 01:24 UTC. |
Includes PR #192449, which fixes the inherited toast title/description and error-severity assertions failing this PR CI. No limit changes. Co-authored-by: vyctorbrzezowski <[email protected]>
Exact-head CI disposition — 9351c43Run 41761670529 is complete. The inherited toast assertions are repaired via #192449 and the refreshed UI checks pass. The prior bundle-size finding is resolved on this head: The remaining primary failure is The maintainer explicitly instructed landing without raising the limit and requested bypassing that limit. Accordingly, the shared scalar and allocation records remain unchanged; no assertion is weakened or dropped. The test-allocation review suggestion is not being applied because it would increase the effective ceiling. This requests only a scoped, maintainer-authorized exception to the non-security test-line budget through the existing protected merge writer. No security or permission control is being changed, and the failed check is not represented as passing. |
Raise the test-line scalar by exactly 20 to match the current tracked total with existing allocations. The three table-driven motion regressions from #192435 protect distinct behavior and remain intact. Maintainer-authorized exact reconciliation; zero spare allowance and no production or test LOC growth.
Animate the first uncached wide Details reveal through the existing shared gutter transition while retaining instant cached restoration, resize docking, and reduced-motion behavior. The inherited toast CI assertions were fixed upstream in openclaw#192449 and integrated here. Exact-head UI, E2E, performance, dependency and security checks pass. The remaining test-line budget is accepted under the maintainer's explicit per-PR bypass instruction; neither the shared ceiling nor allocation records were changed. Co-authored-by: vyctorbrzezowski <[email protected]>
Raise the test-line scalar by exactly 20 to match the current tracked total with existing allocations. The three table-driven motion regressions from openclaw#192435 protect distinct behavior and remain intact. Maintainer-authorized exact reconciliation; zero spare allowance and no production or test LOC growth.


What Problem This Solves
Fixes: the conversation abruptly jumps left when Details first appears after creating a session.
User Impact
The first uncached, initially wide Details presentation moves the panel and conversation together through the existing 280 ms transition. Cached/retained restoration, later resize-driven docking, and reduced-motion behavior remain instant. Manual opening and closing retain their behavior.
Why This Change Was Made
Session admission replaces the full-width pending-create view with the admitted chat pane. Automatic opening was classified as restoration, disabling both the panel and shared 313 px gutter transitions. A pane-local entrance flag distinguishes the first reveal from restoration; hidden measurements do not consume it, and visibility stays in the existing layout snapshot.
No new setting, timer, layout-width owner, persistence, or public API is introduced.
Evidence
Visual proof
Inspected before/after screenshots and local-fix video use synthetic data only. The screenshots were delivered in the originating conversation and their uploaded images were inspected. The video shows normal speed and a 0.25× replay. The private original recording was not published.
Worked on by