Skip to content

fix(control-ui): keep task progress full width on hover - #129832

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/approval-model-hover-icon-issue
Aug 26, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/approval-model-hover-icon-issue

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes an issue where the expanded task-progress panel narrowed from the composer width to 440px when desktop users hovered it. This made task state appear detached from the composer. The adjacent approval-mode control also lacked explicit regression coverage for its per-mode iconography.

Why This Change Was Made

The task panel now keeps its canonical full-width geometry through hover while retaining the existing summary hover wash. Regression coverage measures the card before and after hover, and verifies that Default, Read only, Guarded, Workspace, and Full access render distinct active icons.

User Impact

Task progress remains aligned with the composer while hovered, without a horizontal layout jump. Approval modes retain distinct, recognizable icons in the composer control and menu.

Evidence

  • Before/after mocked Control UI proof at 1280×900 in dark mode: the exact pre-fix hover rule measured 440px; repaired hover measured 768px. All captures were visually inspected.
Exact pre-fix hover rule (440px) Repaired hover (768px)
Task progress narrowed on hover Task progress remains full width on hover

Approval-mode icon proof:

Distinct approval-mode icons

  • PLAYWRIGHT_BROWSERS_PATH=.artifacts/playwright-browsers node scripts/run-vitest.mjs ui/src/pages/chat/chat-responsive.browser.test.ts -t "keeps the composer task-state panel full width when hovered" --reporter=verbose — 1 passed.
  • node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-session-controls.test.ts — 11 passed.
  • node --import tsx scripts/run-stylelint.mts ui/src/styles/chat/composer-progress.css — passed.
  • .agents/skills/autoreview/scripts/autoreview --mode uncommitted — clean; no accepted/actionable findings.
  • Production LOC: +0/-4. Tests: +53/-0.

Provenance: the hover-only width cap was introduced in #124301 (64853b1a9d5) on 2026-08-25. Code author and PR author: @vyctorbrzezowski; merged by @steipete. Current fix authored by roboclaw-bot with Tak Hoffman credited as co-author.

Best-fix verdict: best. Removing the state-dependent geometry at the CSS owner preserves one canonical full-width panel; adding a compensating width override elsewhere would duplicate ownership.

Alternatives considered: a larger hover cap still causes layout movement; a child/body width override cannot repair the narrowed card owner.

AI-assisted by Roboclaw. The implementation and proof were reviewed against the current Control UI source.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 26, 2026 03:41
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Aug 26, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper status

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper status:

  • Current PR: 129832
  • Branch: openclaw/approval-model-hover-icon-issue
  • ClawSweeper PR: no
  • Automerge: not-enabled
  • Automerge job: jobs/openclaw/inbox/automerge-openclaw-openclaw-129832.md
  • Merge state: BEHIND
  • Checks: SUCCESS:48 SKIPPED:31

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Land-ready verification for ff85c8515e678f105db62c71e3cc26b783e0775f:

  • Exact-head CI: run 32927382747 — green, including all four checks-ui-e2e shards and checks-ui-e2e-real-gateway.
  • ClawSweeper: review run 32927425192 — high-confidence keep-open review, 0 findings, no rank-up moves. Status comment reports 48 successful / 31 skipped checks.
  • Focused browser regression: PLAYWRIGHT_BROWSERS_PATH=.artifacts/playwright-browsers node scripts/run-vitest.mjs ui/src/pages/chat/chat-responsive.browser.test.ts -t "keeps the composer task-state panel full width when hovered" --reporter=verbose — 1 passed.
  • Permission-control suite: node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-session-controls.test.ts — 11 passed.
  • Style owner: node --import tsx scripts/run-stylelint.mts ui/src/styles/chat/composer-progress.css — passed.
  • Fresh branch autoreview: .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main — clean, no accepted/actionable findings.
  • Before/after mocked Control UI proof is attached in the PR body and was visually inspected: 440px with the exact old hover rule, 768px after the repair at a 1280×900 viewport.
  • Production delta: +0/-4; tests: +53/-0.
  • Known proof gaps: none for this deterministic Control UI layout repair.

@roboclaw-bot
roboclaw-bot merged commit 5005661 into main Aug 26, 2026
137 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the openclaw/approval-model-hover-icon-issue branch August 26, 2026 04:01
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
vincentkoc added a commit that referenced this pull request Aug 26, 2026
* origin/main: (24 commits)
  fix(gateway): reject rootless session permission modes (#128149)
  docs(memory): document shipped turn-taint propagation for network tool output (#129837)
  fix(ui): pool reply-less wake activity into one chat rollup (#128442)
  fix(package): prevent installs from deleting validated runtime assets (#129724)
  fix(nodes): approve silent initial node surfaces and name the pending surface approval (#129795)
  fix(backup): preserve configured agent state roots (#129773)
  fix(ui): own chat history issuance with a closed state machine (#129776)
  fix(cron): preserve cancellation reason after late finalization (#129331)
  fix(cron): prevent run waits from failing after clock changes (#129805)
  fix(telegram): route commentary through one frozen progress owner (#128259)
  fix(release): start approved VCR mirror recovery jobs (#129829)
  test: complete current-plugin-metadata-snapshot mock factories (#129791)
  test(telegram): remove duplicate reaction case (#129848)
  fix(channels): honor supported account reply-threading policies (#129679)
  refactor(cli): deduplicate lazy subcommand registration (#129351)
  fix(ai): report interrupted local-model streams instead of empty success (#129794)
  refactor(cli): consolidate Gateway fallback and hook ownership (#129802)
  fix(qa): reject token confidence lanes without executed evidence (#129830)
  fix(tui): fence session state and delayed actions (#129810)
  fix(control-ui): keep task progress full width on hover (#129832)
  ...
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