Skip to content

fix(ui): keep failure details reachable beside suggested tasks - #196609

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/ui-rhythm-chat-suggestion-clearance
Nov 10, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/ui-rhythm-chat-suggestion-clearance

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Two real-browser regression cases (390×844 and 820×950) fail on the base because the card intercepts the failure click, then pass with the fix. All 9 tests in chat-flow.task-suggestions.e2e.test.ts pass, 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.
  • Actual built-UI proof covers phone, tablet and desktop, plus 10 short/long-history cases with expanded multi-card instructions, a multiline draft, composition events, scroll-to-latest and a narrowed Files pane. No task was accepted or dismissed, and no model turn was sent during capture. Native chrome coverage is a browser simulation (classes, flag, injected style and 52px inset), not hardware evidence.
  • Final UI build, unchanged asset budgets, UI typecheck, scoped lint/stylelint, controller guard, test-line ratchet and diff checks pass. One existing Solid reactivity warning at chat-view.tsx:351 is unchanged.
  • Fresh independent local autoreview, P0–P2, reviewed the complete staged candidate against 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.
  • Simplification: one gutter geometry owner; production −7 lines, regression tests +77 lines. The separate +77 test allocation protects real browser hit-testing and task/draft lifecycle behavior; shared scalars and CSS ceilings are unchanged. Final CSS is 328,810 B gzip / 1,712,827 B raw, within the existing 328,859 / 1,712,885 B caps.

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.

BeforeAfter
Before phoneAfter phone
Tablet, desktop, expanded suggestions and narrowed-pane evidence

Tablet — the same failure on a wider but constrained pane.

BeforeAfter
Before tabletAfter tablet

Wide desktop — the intentional overhang remains; failure details still open.

BeforeAfter
Before desktopAfter desktop

Expanded instructions, multiple suggestions, retained multiline draft:

Expanded suggestions and retained draft

Narrowed Files pane with native chrome simulation (not physical hardware):

Narrowed Files pane with native chrome simulation

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

roboclaw-bot and others added 2 commits November 10, 2026 10:35
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: e2750130-c890-46d4-9148-c2173877d547
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The floating task card covers the failure-details control.
  • After: The task occupies bounded space above the transcript, and the existing failure disclosure opens.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused layout repair with directly inspected before/after proof, meaningful browser regression coverage, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected built-Control-UI screenshots with synthetic Gateway data show the existing failure disclosure open beside retained suggestions on phone and tablet, preserved wide-desktop placement, and usable expanded suggestions with a retained draft in a narrowed pane.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Suggested task cards cover the failure-details control in short conversations on phones and narrow panes.
Reason: The maintainer-authored direction restores access to an existing control with a focused layout change and directly inspected visual evidence.

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
Reviewed head: 32855bbaa57c436b1e278e08ba96822621aaeacb

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Floating suggestion gutter changes intended behavior with a stated reason (feff169: The shared gutter deliberately allowed suggestions to overhang the transcript while passing pointer input through unused space; this commit carried the layout through a stylesheet reorganization.)
  • Details-specific gutter sizing keeps the original intent (b883658: Details, notices, and suggestions shared bounded gutter geometry; later header placement retained a minmax track to prevent long diagnostics from widening the pane.)
  • Chat gutter modifier keeps the original intent (5dd456a: The Solid cutover preserved the existing gutter markup and layout classes; this PR removes the modifier together with its superseded conditional geometry rules.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source -7, Tests +77, Other +2. Total +72 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 40 47 -7
Tests 1 77 0 +77
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 5 119 47 +72

Preflight source

Source 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

Metric Value Why it matters
Production versus regression coverage Production net −7 lines; tests +77 lines The production change consolidates gutter ownership, while browser hit-testing covers an overlap that DOM-only tests cannot detect.

Labels

Label changes:

  • add P2: Failure diagnostics become inaccessible beside suggestions in constrained panes, but the problem has limited scope and suggestions can be dismissed in the UI.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Failure diagnostics become inaccessible beside suggestions in constrained panes, but the problem has limited scope and suggestions can be dismissed in the UI.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 10, 2026, 5:55 AM ET / 10:55 UTC.

@roboclaw-bot
roboclaw-bot merged commit 366daf5 into main Nov 10, 2026
131 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/ui-rhythm-chat-suggestion-clearance branch November 10, 2026 11:06
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant