Repository navigation
improve(ui): tighten the desktop Details panel - #189537
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR aligns desktop Details row heights, text, icons, headings, separators, and trailing controls. Example: Viewing desktop Details in Chromium at 1440×1500.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe 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]
Technical reviewBest 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
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +101, Tests +1. Total +102 across 3 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 31, 2026, 2:07 PM ET / 18:07 UTC (Revision 2). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
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.
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.
--details-row-font-sizeoverrides are removed; both were scoped to.task-progress-details--desktop[data-desktop-details], so the mobile card is unaffected.Evidence
Real components with the unmodified
session-designmock 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
Sections expanded
Heading on hover
Measured, panel-relative px, dark and light identical
"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.browserandchat-composer-progress-refreshpass, 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.