improve(ui): polish main sidebar layout#100963
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 7, 2026, 5:22 AM ET / 09:22 UTC. Summary PR surface: Source +21, Tests 0. Total +21 across 45 files. Reproducibility: not applicable. this is a UI polish PR rather than a bug report. The changed behavior is directly visible in the inspected desktop and mobile screenshots and traceable in PR-head sidebar source. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Have maintainers choose whether this narrow sidebar polish should rebase and land after the draft is ready, or be folded into the broader Control UI chrome redesign while preserving the existing pinned-route and session-navigation contracts. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a UI polish PR rather than a bug report. The changed behavior is directly visible in the inspected desktop and mobile screenshots and traceable in PR-head sidebar source. Is this the best way to solve the issue? Yes for the narrow scope: the PR reuses existing sidebar route/session renderers and shared relative-time formatting instead of creating a second navigation contract. Product fit remains a maintainer decision because #101497 and other drafts overlap the same chrome surface. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 202d90041dc2. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +21, Tests 0. Total +21 across 45 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (4 earlier review cycles)
|
44fb3d9 to
4187fe4
Compare
|
Closing this draft because the remaining sidebar polish was folded into #101017. |
What Problem This Solves
The main Control UI sidebar has several small visual and copy inconsistencies: fixed routes sit above New session, sidebar row edges do not line up consistently, compact session timestamps include extra "ago" text, and the docs/customization copy is broader than the control it describes.
Why This Change Was Made
This PR proposes visual and copy polish only. It moves the fixed sidebar routes below New session, normalizes the main sidebar row inset/focus/active styling, keeps the More separator outside the scrollable session list, shortens compact sidebar timestamps, and updates the docs and pinned-item customization copy.
It intentionally does not change session sorting, session data ordering, routing behavior, the Settings-only sidebar layout, or the chat transcript/composer UI.
User Impact
Users get a cleaner main sidebar with aligned row actions, timestamps, footer icons, and route controls. The sidebar customization control now describes editing pinned items specifically, and the Documentation tooltip is compact while still signaling an external link.
Screenshots
Desktop sidebar view proposed in this PR:
Mobile sidebar drawer view proposed in this PR:
Evidence
git diff --check origin/main...HEADnode scripts/run-vitest.mjs ui/src/e2e/sidebar-customization.e2e.test.tspnpm ui:i18n:check/overview,/chat, and/config: New session, pinned route, session row, All sessions, and the rightmost footer icon all measured at the same right edge (239px) on the final head.