Skip to content

improve(ui): tighten the desktop Details panel - #189537

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
brzezowski/details-desktop-tightening
Oct 31, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
brzezowski/details-desktop-tightening

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The desktop Details panel had drifted between sections. Row heights were 24, 28 and 32 px, text started at different x positions, so Subagents and Processes sat further right than their neighbours, and "View all processes" sat on neither the icon nor the text axis. Task progress used a smaller type size than the rest of the panel, separators took a border token that did not follow the panel surface, and section counts looked higher than their titles.

User Impact

Every row in the panel now shares one height, one icon axis and one text axis, so the panel scans as a single list. Trailing buttons end on the content edge, and a section count sits on the same baseline as its title.

Why This Change Was Made

CSS only, scoped to the desktop Details body.

  • Rows: 30 px everywhere, including People, Outputs and Task progress steps.
  • Axes: icon center at 25 and text at 41 in every section. Subagents and Processes align to their main icon, with the status badge outside that measure. "View all processes" and the branch diff sit on the text axis.
  • Task progress: steps, summary text and "Delegated work" use the panel's row and meta type. The two --details-row-font-size overrides are removed; both were scoped to .task-progress-details--desktop[data-desktop-details], so the mobile card is unaffected.
  • Separators: 8% of the text color over the panel surface, so docked and floating panels read the same.
  • Color: Output icons and names follow the panel's muted and text tones.
  • Headings: title and count share a text baseline, heading height stays 28 px, and chevrons sit on the optical center of the text.
  • Trailing buttons: PR and Task progress menu glyphs end on the content edge, and the Task progress glyph is 15 px.

Evidence

Real components with the unmodified session-design mock fixture, in Chromium at 1440x1500. Nothing was inserted into or hidden in the page. The theme was selected through the saved Control UI setting and a reload. Sections were expanded with real clicks and the heading uses a real hover.

Panel at rest

Before After
Absolutely dark
Absolutely light

Sections expanded

Before After
Absolutely dark
Absolutely light

Heading on hover

Before After
Absolutely dark
Absolutely light

Measured, panel-relative px, dark and light identical

Rows Before height After height Before text x After text x Before icon center After icon center
People 28 30 45 41 29 25
Environment 32 30 45 41 29 25
Pull requests 32 30 45 41 29 25
Subagents 32 30 49 41 31 25
Processes 32 30 49 41 31 25
Outputs 28 30 45 41 29 25
Task progress steps 24 30 47 41 29 25
Automations 32 30 45 41 29 25

"View all processes" moves from x 21 to 41. A step that wraps to two lines is 44 px in both.

Local checks: stylelint and oxfmt pass; chat-details.browser and chat-composer-progress-refresh pass, 21 tests. Full suites were not run. The CSS budget check exceeds its limit: main is already over the cap, and this change adds about 0.3 KiB gzip and 2.7 KiB raw.

Not verified: other themes, RTL, WebKit, the process stop button's edge (it shows on hover), and a section heading count other than Outputs, because the fixture shows no other. Long automation names still fade before the schedule, as on main.

Branch and publication validation

The existing branch-row browser suite now uses ChatDetailsDesktopBody, including its content gutters. It checks horizontal overflow at that scroll owner, while retaining alignment, clipping, non-overlap, keyboard, publication and dismissal coverage. The obsolete 32px height assertion was removed; it no longer freezes the old visual design. All 10 cases pass. Scoped lint, formatting and independent P0–P2 review passed. The approved layout values are unchanged. Integration preserves the shared box-sizing reset from #189618 instead of restoring redundant local declarations.

The CSS-budget overage is explicitly accepted; no other PR-caused failing check is waived.

The inherited sidebar failures were repaired on main by #189633 and #189641; this branch includes both fixes. The Details browser suite passed again after integration.

Current-head validation: CI run 41231340959 completed on 8e978ac. All applicable checks passed except the CSS size budget and its aggregate gate. Total CSS is 309527 bytes gzip against 309366, and 1602022 bytes raw against 1599319. The maintainer authorized this CSS-only exception; no behavioral, lint, type, or security failure is waived. The integrated head includes both sidebar test repairs.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR aligns desktop Details row heights, text, icons, headings, separators, and trailing controls.

Example: Viewing desktop Details in Chromium at 1440×1500.

  • Before: Single-line rows range from 24 to 32 px, with text starting at different horizontal positions.
  • After: Single-line rows use 30 px heights and share a panel-relative text axis at x=41.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The visual change is supported by direct screenshot proof and passing UI shards, with no actionable source finding; unresolved E2E attribution limits merge confidence.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected dark and light before-and-after browser screenshots of the real Details components using the session-design fixture in Chromium at 1440×1500; they demonstrate the changed alignment, typography, separators, and controls, and the subsequent commit leaves production CSS unchanged.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Desktop Details sections have inconsistent row heights, text axes, typography, and control alignment.
Reason: The maintainer-authored direction supplies the owner decision, and the inspected screenshots show a coherent improvement within the existing desktop styling boundary.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open. The earlier geometry finding is fixed, the CSS-budget overage is explicitly accepted, and no introduced defect remains established; separate E2E failures still need attribution.

Priority: P3
Reviewed head: ab194a11daeb59c7f1f1cc2c083718b5fabace15

Before merge

None.

Findings

None.

Agent review details

How this fits together

The desktop Details composition styles existing session section renderers, turning session data into People, Environment, pull request, process, output, progress, and automation rows.

flowchart LR
  A[Session data] --> B[Existing section renderers]
  B --> C[Desktop Details body]
  D[Desktop composition CSS] --> C
  E[Shared leaf styles] --> C
  C --> F[Visible Details panel]
Loading

Technical review

Best possible solution:

Keep desktop composition CSS as the layout owner and retain the browser checks through its actual scroll container.

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

Current-main CSS establishes the differing section metrics, and the supplied before screenshots show their visible effects; no local runtime reproduction was run.

Is this the best way to solve the issue?

Desktop-scoped CSS uses the existing presentation owner, and the test adjustment preserves useful behavioral checks without freezing the former visual dimensions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 2fe0a234f29b.

Provenance checked

  • Desktop row metrics, heading geometry, and icon placement changes intended behavior with a stated reason (33b16c7: Organize compact, readable Details sections while retaining native renderers and accessible actions.)
  • Compact task-progress typography changes intended behavior with a stated reason (ce1fd81: Keep saved progress available through a compact checklist with separate desktop and mobile presentation.)
  • Task marker and wrapped-description alignment keeps the original intent (6160b25: Align status markers with the first text line and connect steps without changing progress state or interactions.)
  • Branch-row readability and publication controls keeps the original intent (01b890d: Keep branch identity with Environment and place diff counts and publication actions below it while preserving the publication owner.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

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

PR surface

Source +101, Tests +1. Total +102 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 111 10 +101
Tests 1 5 4 +1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 116 14 +102

Labels

Label changes:

  • 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.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P3: This is desktop visual consistency work without a demonstrated broken core workflow.
  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-31T16:27:39.602Z sha 67fb48d :: needs changes before merge. :: [P2] Update the retained branch-row geometry expectation | [P2] Consolidate the CSS additions to satisfy the asset budget

Reviewed October 31, 2026, 2:07 PM ET / 18:07 UTC (Revision 2).

@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. 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 rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 31, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 1655625 into main Oct 31, 2026
82 of 85 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/details-desktop-tightening branch October 31, 2026 18:59
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
Align desktop Details rows, headings and icons while preserving mobile presentation. Exercise pull-request layout through its production scroll owner.

Validation: 10 focused browser tests and all applicable current-head CI checks passed except the explicitly accepted CSS size ceiling.
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 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: 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