Skip to content

fix(ui): pin compact task-suggestion split button to the card top-right - #121246

Merged
steipete merged 1 commit into
mainfrom
steipete/task-suggestion-card-polish
Aug 9, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/task-suggestion-card-polish

Conversation

@steipete

@steipete steipete commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Operator feedback on the redesigned task-suggestion card (#121173): the split action button was oversized, sat on its own row at the bottom of the card, its chevron cap could overhang the primary segment (visible seam/notch), and the primary could protrude past the card edge.

Why This Change Was Made

Owner-directed polish to match the reference design: the actions belong in the card's top-right as a small control. The card grid gains a fourth column so the split button sits inline in the top row next to the dismiss button, and both split halves share one fixed 26px height inside a single inline-flex container — the chevron cap can no longer overhang the primary segment (invariant commented at the rule).

User Impact

The suggestion card is visibly calmer: compact ▷ Start with worktree | ⌄ control pinned top-right beside ✕, smaller typography and icons, no clipped or overflowing button chrome. No behavioral change — same actions, same gating (menu only when the gateway negotiates acceptance modes; disabled "Send to cloud" hint when no worker profiles).

Evidence

  • ui/src/pages/chat/chat-task-suggestions.test.ts and ui/src/e2e/chat-flow.follow-ups.e2e.test.ts green on the branch (selectors unchanged; DOM order change covered by existing assertions).
  • oxlint, oxfmt, and stylelint clean on both touched files.
  • Autoreview (codex / gpt-5.6-sol, high): clean, 0.99.
  • Live visual proof against a dev gateway on the rebuilt bundle: screenshots below (collapsed card, and menu open with the grayed no-cloud hint).

Screenshots

Compact suggested-task card with split action pinned top-right

Suggested-task card with the compact split menu open

- Uses a four-column grid with inline top-row actions to keep the compact control pinned to the card corner.
- Fixes both split halves at 26px, eliminating the chevron overhang.

Release-note context: the suggested-task card's action button is now a compact split control in the top-right corner, matching the intended design.
@clawsweeper

clawsweeper Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 9, 2026
@steipete
steipete marked this pull request as ready for review August 9, 2026 21:21
@steipete

steipete commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready verification is complete for d6c6d7a7e3fd02ab7401eea0f1b854f7a84bbbb8.

  • node scripts/watch-pr-ci.mjs 121246 d6c6d7a7e3fd02ab7401eea0f1b854f7a84bbbb8 → GREEN (exact-head CI run).
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main → clean, no accepted/actionable findings (0.99).
  • scripts/pr review-validate-artifacts 121246 → READY FOR /prepare-pr, zero findings.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 121246 → hosted CI/Testbox gates passed.
  • Focused component/E2E and oxlint/oxfmt/stylelint proof plus rebuilt-bundle screenshots are recorded in the PR body.

Known proof gaps: none for this visual-only UI change.

@steipete
steipete merged commit 4b4be74 into main Aug 9, 2026
145 of 146 checks passed
@steipete
steipete deleted the steipete/task-suggestion-card-polish branch August 9, 2026 21:43
@steipete

steipete commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 10, 2026
…ht (openclaw#121246)

- Uses a four-column grid with inline top-row actions to keep the compact control pinned to the card corner.
- Fixes both split halves at 26px, eliminating the chevron overhang.

Release-note context: the suggested-task card's action button is now a compact split control in the top-right corner, matching the intended design.
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 maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant