Skip to content

improve(ui): remove suggested-task cards from Control UI - #199167

Merged
vyctorbrzezowski merged 2 commits into
mainfrom
review/suggested-task-removal-20261114
Nov 28, 2026
Merged

vyctorbrzezowski merged 2 commits into
mainfrom
review/suggested-task-removal-20261114

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Suggested-task cards add a second task-starting interface, including local reconciliation, menus, workspace selection, dismissal and a separate presentation lifecycle.

User Impact

Discussion proposal: remove suggested-task cards from the Control UI and stop advertising their capability. Keep normal Chat and New session, task progress, and the distinct collaborator session-suggestion flow.

Why This Change Was Made

This draft is deliberately scoped to the Control UI feature discussed. The TUI, public Gateway taskSuggestions API, suggest_task tool implementation and stored suggestions remain for other clients. The browser no longer opts into that tool-delivery capability. Removing those other clients and storage would be a separate, broader decision; this draft does not silently do it.

Evidence

  • 91 focused handshake, collaboration/lifecycle and footer-layout checks passed across two runs after replacing the obsolete card fixture with the retained Details header. Actual source app proof verifies no taskSuggestions.list request, no task-suggestions handshake capability, no old-event card, preserved draft and a successful normal chat.send.
  • UI typecheck, focused lint, CSS lint, i18n verification, controller guard, formatting, diff checks and production UI build passed. Lint/build can emit advisory warnings; bundle-budget warnings are not claimed resolved and no limits were raised. No broad CI or live Gateway/provider claim.
  • Independent local autoreview (Codex, GPT-6.1 Sol, P0–P2) found no actionable findings in the full local diff against 427ebcc. Unchanged surrounding source was not supplied and checks were not independently rerun.
  • Simplification: delete the feature owner and all internal UI callers rather than hiding its controls; no new state or fallback owner.

Size and discussion boundary

  • Production: 1,341 deleted / 31 added, net 1,310 fewer lines.
  • Tests and fixtures: 1,410 deleted / 4 added.
  • Documentation: 13 deleted / 4 added.
  • Total: 2,764 deleted / 39 added, net 2,725 fewer lines across 33 files.

Counts are physical diff lines against the pinned base, not a runtime-performance measurement. The additions mostly move preserved collaborator-suggestion props into their existing sharing owner. This is a review/discussion draft, not approval to land or retire the TUI/public API/storage.

Actual application with synthetic Gateway data, dark theme, 1280×900.

Before

Before

After

After

Requested by @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

@clawsweeper

clawsweeper Bot commented Nov 14, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XL labels Nov 14, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR removes suggested-task cards and capability advertising from the Control UI while retaining collaborator suggestions, TUI support, and Gateway APIs.

Example: An agent suggests “Review the release checklist” while a browser chat contains an unsent draft.

  • Before: A floating suggested-task card overlays the conversation.
  • After: The card is absent, while the conversation and draft remain visible.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation is focused and appears correct; visual evidence is inspectable, while the changed negotiation path lacks runtime diagnostics.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Suggested-task cards occupy conversation space and introduce a separate interface for starting follow-up work.
Reason: The maintainer-authored proposal deliberately simplifies the browser interface, with its discussion hold remaining explicit.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep this maintainer-authored discussion draft open and honor its explicit do-not-land notice; no definite correctness defect was found in the scoped removal.

Priority: P3
Reviewed head: 9a98da6a7bfd507b12cc365d138d350e78745959

Before merge

  • Await maintainer action - The PR owner must manually remove the do-not-land notice when the discussion is settled.

Findings

None.

Tests

  • Missing end-to-end proof: Attach a redacted browser request trace showing connect without task-suggestions, no taskSuggestions.list request, and a successful normal chat.send; remove credentials and non-public endpoints.
Agent review details

How this fits together

The browser chat pane consumes Gateway events and projects them into the transcript, composer, and adjacent controls; this change retires its task-suggestion consumer.

flowchart LR
  A[Browser connection] --> B[Gateway capability negotiation]
  B --> C[Agent tool selection]
  B --> D[Chat pane]
  D --> E[Transcript and composer]
  D --> F[Collaborator suggestions]
  G[TUI client] --> H[Retained task suggestion API]
Loading

Technical review

Best possible solution:

Keep the browser-only retirement scoped as proposed and let the PR owner resolve its explicit discussion hold alongside the compact-row alternative.

Do we have a high-confidence way to reproduce the issue?

This proposes retiring designed behavior rather than fixing a reproducible bug.

Is this the best way to solve the issue?

The removal uses existing owners, preserves collaborator suggestions, and avoids expanding into public API, TUI, or storage retirement.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9ea18a1b8e06.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Explicit discussion hold: The current body says not to land until its notice is manually removed; GitHub confirms the reviewed head remains a collaborator-authored, cleanly mergeable draft. (9a98da6a7bfd)
  • Pinned removal and preserved sharing owner: The introduced diff removes the card owner, renderer, events, reads, styles, and capability; collaborator-suggestion props move unchanged into ChatPaneSharing. (ui/src/pages/chat/chat-pane-sharing.ts:104, 9a98da6a7bfd)
  • Current main still provides the feature: Fetched main still advertises task-suggestions and mounts ChatTaskSuggestionTray, so this proposal is not already implemented there. (ui/src/api/gateway-connect-plan.ts:295, 9ea18a1b8e06)
  • Capability delivery boundary: Chat requests require the client capability before enabling Gateway task delivery, and the agent tool owner registers suggestion tools only for that delivery mode. (src/gateway/server-methods/chat-send-request.ts:114, 9a98da6a7bfd)
  • Inspected visual evidence: Both downloaded screenshots were inspected: the before image shows the release-checklist card; the after image removes it while retaining the same transcript and composer draft. (9a98da6a7bfd)
  • Competing presentation proposal: improve(ui): show suggested tasks as a compact row above the composer #188245 remains open under the same author and preserves suggested tasks as a compact composer row, offering an alternative to removal.

PR surface

Source -1310, Tests -1406, Docs -9. Total -2725 across 33 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 17 31 1341 -1310
Tests 14 4 1410 -1406
Docs 2 4 13 -9
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 33 39 2764 -2725

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.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is an intentional interface simplification proposal without an established urgent runtime defect.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

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 14, 2026, 3:46 PM ET / 20:46 UTC.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the review/suggested-task-removal-20261114 branch from 9a98da6 to 5359e17 Compare November 28, 2026 18:07
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 28, 2026 18:07
@vyctorbrzezowski
vyctorbrzezowski merged commit 61a7661 into main Nov 28, 2026
90 of 94 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the review/suggested-task-removal-20261114 branch November 28, 2026 21:00
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 29, 2026
…9167)

* improve(ui): remove suggested-task cards from Control UI

* test(ui): align task card removal checks

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
* fix: preserve completed Claude tool calls in chat history

* fix: preserve completed Claude tool calls in chat history

OpenClaw-Publication: d3a267f1-3ba5-4fc9-a4dd-3968148f8eb1
(cherry picked from commit a27b4e6)

Follow-ups: 49492d7 fix: align Control UI tooling and docs with task card removal (#207747) [not selected for this narrow backport]; cebbb78 fix: keep tagged silent replies out of chat (#207738) [not selected for this narrow backport]; d4e1305 fix: hide desktop Details when there is nothing to show (#205093) [not selected for this narrow backport]; 11b2cf0 fix: keep the selected Review file compact when the tree is open (#203825) [not selected for this narrow backport]; 4be636b feat(ui): offer Add to Home agent when Home sidebar is open (#207773) [not selected for this narrow backport]; f766de4 fix: surface favorites and recommended models in picker search (#201450) [not selected for this narrow backport]; 61a7661 improve(ui): remove suggested-task cards from Control UI (#199167) [not selected for this narrow backport]; 48cc039 fix: keep long process names compact above mobile output (#203767) [not selected for this narrow backport]; 9316f05 fix: show the first message when session naming fails (#205607) [not selected for this narrow backport]; aa4a68f fix(ui): show chat completions as activity rows (#201891) [not selected for this narrow backport]; ec209d0 fix(ui): link selection sessions to their source session (#206509) [not selected for this narrow backport]; 3f475cc fix(ui): keep pre-final assistant text visible after a completed turn (#140835) [not selected for this narrow backport]; 05ec989 fix: keep chat photo previews sharp within their byte limits (#206461) [not selected for this narrow backport]; b3bdfb5 feat(ui): preview CSV chat attachments as tables (#206148) [not selected for this narrow backport]; 6b3ccab fix: show Waiting and Resumed for Claude CLI subagent handoffs (#206158) [not selected for this narrow backport]; 762aa00 fix: keep dictation recording when switching tabs or applications [not selected for this narrow backport]; d3f9fca fix: keep similar subagent names distinct in compact rows (#203777) [not selected for this narrow backport]; 864efbb improve: keep composer error cards on one line (#204337) [not selected for this narrow backport]; d7ed2dd fix: stop replaying Claude progress updates in active chats (#203970) [not selected for this narrow backport]; 269f884 fix: show Claude CLI document uploads only once in chat (#203866) [not selected for this narrow backport]; 4708bac fix(ui): show Linear artwork in chat tool activity (#204414) [not selected for this narrow backport]

Co-authored-by: RomneyDa <[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 docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants