Skip to content

fix: keep the Task progress options button inside the Details header - #207940

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
openclaw/corrigir-componente-cortado-no-painel-lateral-do-app-maco-1ce483
Nov 29, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
openclaw/corrigir-componente-cortado-no-painel-lateral-do-app-maco-1ce483

Conversation

@vyctorbrzezowski

Copy link
Copy Markdown
Member

What Problem This Solves

In the macOS chat Details panel, the right edge of the Task progress options button can be cut off when you hover over it. The three-dot menu still opens, but its button looks unfinished.

User Impact

The full button stays inside the Task progress header. Its size, menu items, and keyboard behavior are unchanged.

Why This Change Was Made

The desktop Details stylesheet gave the 24 px button a negative trailing margin. That left its last 6 px outside the header, where the card can clip them. Only the Task progress button stops using that margin; other Details actions keep their existing alignment.

Evidence

  • The header-containment check failed on 32403124cae2 and passed on e302a64004bd. All seven existing progress card E2E cases passed against the candidate bundle (40.92 s wall time); this includes opening and dismissing the menu.
  • In WebKit the last 6 px failed pointer hit testing before the change. The full 24 px button is now reachable. A separate check in the system WKWebView also measured the trailing edge inside the header.
  • UI typecheck, targeted lint and formatting passed. Local autoreview of the candidate diff against the baseline found no P0 findings; hosted review and CI are not claimed.
Before After
Right side of the hovered button cut off Both rounded sides of the hovered button visible
Before (annotated) After (annotated)
Clipped trailing edge highlighted Complete button highlighted

Same desktop chat, dark appearance and pointer position relative to the button. WebKit on macOS, synthetic session data, opening animation held at the same point. The screenshots are cropped from the real Control UI, not the signed app window.

@clawsweeper

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

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary 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. labels Nov 29, 2026
@clawsweeper

clawsweeper Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR removes the Task progress options button’s negative trailing margin in desktop Details and adds a browser containment assertion.

Example: Hover over the 24 px Task progress options button in desktop Details on macOS.

  • Before: The trailing 6 px extend outside the header and can be clipped.
  • After: The complete button stays inside the header.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, visually demonstrated repair with a distinct regression assertion; focused checks are author-reported and broad UI CI is skipped on the draft.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the actual Control UI Task progress header in macOS WebKit with synthetic data and visibly demonstrate restored button containment; pointer-hit testing and WKWebView measurements are reported in the body but have no separate trace to inspect.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: The hovered Task progress options button has a visibly clipped trailing edge in desktop Details.
Reason: The visual defect is demonstrated, the repair is narrowly scoped, and the maintainer author also contributed the original Details layout.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored draft fixes a current desktop layout defect with a focused change; no actionable patch bugs were found.

Reviewed head: e302a64004bd7df0bfb21017ccd0ddd71321458b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI renders saved task progress in the desktop Details panel; its composition stylesheet positions the shared card’s menu button.

flowchart LR
  A[Saved task progress] --> B[Chat Details progress]
  B --> C[Shared progress card]
  C --> D[Header and options button]
  E[Desktop Details stylesheet] --> D
  D --> F[Visible menu control]
Loading

Technical review

Best possible solution:

Keep the fix in the existing desktop composition stylesheet, preserving shared button sizing and neighboring control offsets.

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

Current-main CSS places the button 6 px beyond its header, and the supplied before screenshot shows the resulting clipping; this review did not independently run the UI.

Is this the best way to solve the issue?

Removing the offending selector is the smallest complete correction: it restores containment without changing shared rendering, menu behavior, mobile styling, or PR-control alignment.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 60e80f1c5fd4.

Provenance checked

  • Desktop trailing-control alignment changes intended behavior with a stated reason (1655625: Align PR and Task progress menu glyphs with the panel content edge; the later Environment repair narrowed only the PR selector.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 1655625 adds ui/src/styles/chat/details-desktop.css:599 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1655625f23cf; files: ui/src/styles/chat/details-desktop.css)

PR surface

Source -1, Tests +6. Total +5 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 2 3 -1
Tests 1 6 0 +6
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 8 3 +5

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:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • 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 28, 2026, 10:43 PM ET / November 29, 2026, 03:43 UTC.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 29, 2026 04:06
@vyctorbrzezowski
vyctorbrzezowski merged commit a25b0d1 into main Nov 29, 2026
153 of 156 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/corrigir-componente-cortado-no-painel-lateral-do-app-maco-1ce483 branch November 29, 2026 06:20
vincentkoc added a commit that referenced this pull request Nov 29, 2026
* commit 'ea8cd30a48de1f42962bb95535d2e1b3b201fc36': (599 commits)
  fix(ui): show a subtle placeholder while a new chat gets its title (#207809)
  fix: remove dismissed chat suggestions without waiting (#207792)
  test(gateway): isolate publication recovery memory pressure (#207993)
  fix(workboard): let users delete an empty default board (#207909)
  fix(ui): remove Open PR from the session menu (#207808)
  feat(ui): offer Add to Home agent when Home sidebar is open (#207773)
  fix(ui): keep narrow desktop composers on desktop icon and control sizes (#207772)
  fix: remove extra space on the right of the compact iPad chat bar (#207763)
  fix: keep the task progress options button inside the Details header (#207940)
  fix(workboard): update the active list when you archive or restore a card (#207790)
  fix: move dropped sessions into their Workboard column immediately (#207787)
  fix(whatsapp): retain sender for explicit current-message reactions (#190121)
  fix: return the agent ID when agents add finishes offline (#207926)
  fix: stop sending internal steering errors to the chat (#207150)
  fix(agents): scheduled runs fail after a read or fetch error the model recovered from (#180922)
  fix: confirm recovered config edits while the Gateway is busy (#207918)
  fix: make desktop chat presence avatars slightly smaller (#207966)
  fix: list and select routed Claude models without requiring Claude CLI (#207806)
  fix(ci): check out verifier before plugin preflight reuse
  test(reply): prove channel replacement on user messages (#207813)
  ...
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 impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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