Repository navigation
improve(ui): quieter sidebar top bar and catalogs on the list grid - #188145
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 changes before merge. What this changesThis PR reduces sidebar toolbar emphasis and aligns catalog headings, projects, and sessions with the session-list grid. Example: Expand the Codex catalog’s openclaw project containing two sessions.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 5 items remain Keep open: this maintainer-authored draft offers useful sidebar polish, but its CSS introduces text-scaling, overflow, and catalog-status regressions. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe Control UI sidebar renders owner filters and Gateway-provided session catalogs; shared styles control their layout and visible status indicators. flowchart TD
A[Gateway session catalogs] --> B[Sidebar catalog renderer]
C[Owner filter selection] --> D[Shared picker]
B --> E[Sidebar markup]
D --> E
F[Layout and sidebar styles] --> E
E --> G[Visible sidebar]
Technical reviewBest possible solution: Apply the visual changes through the existing style owners while preserving text scaling, label truncation, host warnings, and activity signals for hidden sessions. Do we have a high-confidence way to reproduce the issue? The introduced regressions follow from the CSS selectors and production markup; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The approved design fits the existing sidebar, but the implementation must preserve its established accessibility and status contracts. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 65aa7f41642c. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +213. Total +213 across 1 file. 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 Reviewed October 30, 2026, 2:42 AM ET / 06:42 UTC. |
379183b to
5aac352
Compare
|
Updated visual evidence: main after #188141 (
|
…penclaw#188145) Align catalog sessions with the sidebar list and simplify the top bar without changing the approved design. Preserve collapsed project activity and keep long owner labels within the toolbar. Reviewed and validated on 5aac352; scoped tests and before/after UI evidence are recorded in the PR. CI is not green: the CSS budget exception was explicitly authorized, and the independent WebKit media-fixture failure was investigated and source-attributed outside this change. Its cause remains unresolved; no test or budget was weakened. Co-authored-by: Vyctor H. Brzezowski <[email protected]>




Builds on the merged #188141.
What Problem This Solves
The sidebar top bar gives the owner picker, sort and collapse controls equal weight. Session catalogs (Claude Code, Codex) also sit off the session list grid, repeat counts while expanded, and show a host subtitle that competes with the section label.
User Impact
User impact: the top bar reads as one quiet line, with only the filter name in strong text. Catalog projects and sessions line up with the rest of the sidebar, and counts appear only when a group is collapsed.
Why This Change Was Made
--text-strong, with a 12px muted chevron, and the picker is sized to its content. Toolbar icons are 14px with stroke 1.6, muted. The sort status is 12.5/450.Evidence
Compared against the approved prototype by measuring computed styles element by element across all prototype states. Differences that remain on purpose:
Current captures compare main after #188141 (
a1d62cfc) with this PR (5aac352). Both use the actual Control UI with identical synthetic Gateway data, the same viewport and crop. The flow selects All owners, then collapses the active project.Measured in the running mock: project rows are 28px with the chevron centered on x=30 and the label at x=48. Project session titles start at x=48, with their state on the x=30 lead column.
Checks:
pnpm tsgo:ui, oxlint and stylelint on the touched files: clean.Behavior to review: the host count is hidden, but a host load error stays visible.
Gaps: the captures cover the toolbar and catalog, including active collapsed projects; they do not cover every host subtitle or empty-section variation.
Landing verification
Long selected owner names now shrink and truncate inside the existing toolbar instead of pushing its controls outside. Collapsed project headers retain their active-run indicator; the shared activity projection uses live Gateway state for adopted sessions and the catalog's own running state otherwise. Existing visual values and error indicators remain intact.
The owner-overflow and collapsed-project regressions failed before repair and passed after it. All 80 catalog cases and 15 browser cases passed, including after updating onto main. UI production/test typechecks and independent review passed. The prior
session-diff-panelfailure also reproduces unchanged on the pre-PR base at the same assertion (-625 >= 40); its test and direct owners are unchanged by this layer, and its coverage was preserved.Remaining CI failures
CI run 41041301137 is not green. The approved CSS-budget exception covers the measured growth (302.8 vs 302.6 KiB gzip; 1565.0 vs 1563.0 KiB raw); performance limits and the approved design remain unchanged.
The other failure is the WebKit video fixture in
image-lightbox.browser.test.ts:298: nativereadyStatestays at 0 before keyboard assertions. Its test, MP4 fixture, lightbox owners, base styles, browser configuration and dependencies are unchanged froma1d62cfc; the changed sidebar selectors do not apply to that fixture. The same test passed in the paired Linux WebKit job for #188144 and in this run’s Chromium job. Targeted local runs on base and candidate both loaded the video, then failed at the same later native-focus assertion on line 323. That later assertion is a separate failure, not a reproduction of the CI loading failure. The source comparison supports classifying the media-loading failure as unrelated to this sidebar change; its underlying cause remains unresolved. No media test or production behavior was weakened, and no CI rerun was used to obtain a pass.