Repository navigation
fix(ui): keep failure details reachable beside suggested tasks - #196609
Conversation
Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: e2750130-c890-46d4-9148-c2173877d547
|
🦞👀 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 reserves space for suggested tasks in narrow chat panes so failure details remain reachable. Example: A 390×844 chat contains a failed reply and a suggested task.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR fixes a demonstrated overlap still present on main, and the review found no actionable introduced defect. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI receives conversation history and task suggestions from the Gateway, then renders the transcript, suggestion tray, notices, and composer within one conversation layout. flowchart TD
A[Gateway history and suggestions] --> B[Chat view]
B --> C[Conversation flex layout]
C --> D[Bounded suggestion gutter]
C --> E[Transcript and failure disclosure]
C --> F[Composer]
Technical reviewBest possible solution: Keep failure details clickable beside bounded suggestions on narrow panes while preserving wide-pane placement. Do we have a high-confidence way to reproduce the issue? Current-main CSS exposes the overlap path, and inspected before/after browser captures demonstrate it at 390×844 and 820×950; this read-only review did not rerun the application. Is this the best way to solve the issue? The fix addresses the layout owner directly, removes duplicated geometry rules, and preserves the existing disclosure and task lifecycle without adding measurements or state. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c6fc5bd784b5. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -7, Tests +77, Other +2. Total +72 across 5 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. Review metrics
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 10, 2026, 5:55 AM ET / 10:55 UTC. |
|
Merged via squash.
|
…law#196609) * fix(ui): keep failure details reachable beside suggested tasks Co-authored-by: vincentkoc <[email protected]> * fix(ui): keep failure details reachable beside suggested tasks Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: e2750130-c890-46d4-9148-c2173877d547 --------- Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes: suggested tasks cover the only failure-details control in a short conversation on phones and narrow chat panes.
User Impact
Users can inspect the failure without dismissing a suggested task. Suggestions, their instructions and launch actions remain available, and wide desktop panes keep their existing floating layout. No configuration or migration is required.
Why This Change Was Made
The existing conversation flex layout now reserves the suggestion tray’s actual height when the pane is at most 900px wide. The card body scrolls within a bounded share of the pane. Gutter sizing moves to its existing layout owner instead of remaining split between Chat and Details; no measurements, state manager, duplicate error control, or fixed transcript spacer is added.
Evidence
chat-flow.task-suggestions.e2e.test.tspass, including existing task-start modes and overflow/action coverage. Final wall time: 92.41s including build/setup contention; test bodies total approximately 10s. CI time is not yet available.chat-view.tsx:351is unchanged.23bf595953dbea7dce641286841667bb746cabdb: scoped-clean, no actionable findings. The reviewer assessed source/diff and did not independently rerun the browser tests. Local ClawSweeper was unavailable because both known runner checkouts were unclean; ClawSweeper has acknowledged this ready PR for hosted review.Visual proof
Actual built Control UI with synthetic data. Phone: 390×844 light; tablet: 820×950 dark; desktop: 1400×1000 dark. The before card intercepts the phone/tablet failure click; after, its existing disclosure opens without dismissing the task.
Tablet, desktop, expanded suggestions and narrowed-pane evidence
Tablet — the same failure on a wider but constrained pane.
Wide desktop — the intentional overhang remains; failure details still open.
Expanded instructions, multiple suggestions, retained multiline draft:
Narrowed Files pane with native chrome simulation (not physical hardware):
Browser proof uses synthetic Gateway data; no live Gateway, model, or physical-device effects were exercised.
Requested by @vincentkoc.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by