Repository navigation
fix: show dashboard keyboard moves and menu sizing while saving - #207137
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6e0ec2ec-483f-412f-8f17-a28c11382231
|
🦞👀 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: passed. What this changesThis PR previews keyboard widget moves and menu size changes while saving, then reconciles with the confirmed dashboard layout. Example: Press Alt+Left on Sample inventory while its dashboard save reply is held.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR addresses a concrete dashboard feedback problem with a focused implementation and convincing visual evidence; no actionable correctness or security defects were found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI board view receives Gateway snapshots and user commands, calculates widget geometry, and sends existing board operations through the provider while retaining mounted widget content. flowchart LR
A[Keyboard and menu commands] --> B[Board presentation owner]
B --> C[Temporary layout preview]
C --> D[Retained widget cells]
B --> E[Gateway board provider]
E --> F[Confirmed board snapshot]
F --> B
Technical reviewBest possible solution: Retain the view-local preview implementation while keeping Gateway snapshots authoritative and mounted widget bindings stable. Do we have a high-confidence way to reproduce the issue? Current-main source renders keyboard and menu changes from confirmed snapshots until the provider replies; the supplied Chromium comparison demonstrates that delay without requiring a new reviewer-run reproduction. Is this the best way to solve the issue? The fix uses the existing board presentation owner, preserves synchronous admission and settled announcements, and leaves persistence, permissions, and widget content ownership intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e85cda36996c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +48, Tests +47, Docs +4. Total +99 across 7 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 Reviewed November 27, 2026, 9:31 PM ET / November 28, 2026, 02:31 UTC. |
…claw#207137) * fix: show dashboard keyboard moves and menu sizing while saving Co-authored-by: vyctorbrzezowski <[email protected]> * fix: show dashboard keyboard moves and menu sizing while saving Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6e0ec2ec-483f-412f-8f17-a28c11382231 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Related: #207112 (pointer drops; independent change).
What Problem This Solves
On a session dashboard, pressing Alt+Arrow to move a widget or choosing a size from its menu leaves the old layout on screen until the Gateway replies. A successful keypress can look like a missed one, and the next arrow key navigates the old order.
User Impact
The widget moves or resizes as soon as you give the command. Focus stays with a moved card, and plain arrows follow the displayed order. Auto height uses the mounted widget’s reported height; without a measurement, the card keeps its saved row span. A refused change returns to the confirmed layout and shows the existing error. No setting or migration is required.
Why This Change Was Made
The board view previews only the changed layout entries. It does not publish a provisional board snapshot, replace the mounted document, or announce success before the write settles. A replacement snapshot takes precedence, even while a request is outstanding. Pointer drops, cross-tab transfers, removal, and permissions are unchanged.
Evidence
68b3d2256075, and the combined keyboard/menu flow and pointer regression tests passed. Neither PR needs to land first. No merge or deployment was requested.2777a471696e. After:01ad19ccf157.Clean comparison
Before
After
Annotated comparison
Before
After
Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.