Repository navigation
improve(ui): roster mode leads with agents and uses list rows - #188144
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 puts agents before personal session sections and gives roster session rows the shared list presentation. Example: Roster mode with a pinned Forge agent and a pinned Research conversation.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored draft open; the shared-layout cutover introduces a narrow-drawer title overlap that needs repair. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI sidebar projects agent activity, session facts, and personal navigation preferences into agent tiles, session rows, indicators, and navigation controls. flowchart TD
A[Gateway agent and session facts] --> B[Sidebar projections]
C[Personal navigation preferences] --> B
B --> D[Shared session list frame]
D --> E[Agent tiles and roster]
D --> F[Pinned and personal session rows]
F --> G[Shared indicators and actions]
Technical reviewBest possible solution: Keep the shared row renderer and complete its mobile CSS cutover so roster session titles always clear the visible menu. Do we have a high-confidence way to reproduce the issue? Source establishes the overlap path: roster rows retain --team, their reserved mobile grid column is deleted, and shared drawer title padding excludes --team; no target code was executed. Is this the best way to solve the issue? Reusing the existing frame, row renderer, and leading indicators is a small coherent approach, but the shared mobile stylesheet must include the rows whose separate grid is removed. 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. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -114. Total -114 across 7 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 Reviewed October 30, 2026, 2:42 AM ET / 06:42 UTC. |
4d4a7d7 to
0d1080d
Compare
|
Mobile roster verification at 390px with a mouse: the title previously covered the persistent menu; after the repair, the menu and child toggle remain clear. Actual Control UI with synthetic Gateway data and saved roster/pin preferences, opened through the drawer. The same coarse-pointer case also passes. No styles or rendered output were injected. Before: After: |
…aw#188144) Place the agent roster before session sections and reuse the list-row presentation. Preserve the approved design while keeping mobile menus clear of long titles and child toggles, and restrict emoji-avatar styling to the sidebar so chat alignment stays intact. Reviewed and validated on 9fd3543. All applicable tests and static checks passed in CI run 41043896802; only the CSS-size budget failed. Landing uses the explicit CSS-budget exception without changing the design or limits. Before/after evidence is embedded in the PR. Co-authored-by: Vyctor H. Brzezowski <[email protected]>


Builds on the merged #188141.
What Problem This Solves
In roster mode, agents sit below Pinned and personal sections. Roster session rows also use their own grid, so their state sits in trailing slots instead of the list's leading column.
User Impact
User impact: roster mode now starts with pinned agent tiles and the agent list, followed by Pinned, personal sections, and the remaining sessions. Roster rows read exactly like list rows.
Why This Change Was Made
renderSessionListFrametakesbodyFirst, and the roster passes it so the agents lead the frame.--text, or--text-strongfor the current agent.Evidence
Compared against the approved prototype by measuring computed styles element by element across all prototype states. Differences that remain on purpose:
Captured on the mocked Control UI, with #188141 on the left and this branch on the right. The flow pins sessions from the list, switches to roster mode (
?sidebarAgents=roster), then pins an agent from its menu.Measured in the running mock: roster session rows are 30px, with the lead column at x=30 and titles at x=48. Agent header avatars are 28px and also centered on x=30.
Checks:
sidebar-complete-roster.e2epassed.pnpm tsgo:ui, oxlint and stylelint on the touched files: clean.Behavior to review: roster rows no longer show the coding and automation glyphs. A session that failed without an attention state no longer shows a trailing triangle, which matches list rows.
Gaps: personal sections and emoji-agent discs on session rows are not in the captures.
Landing verification
The mobile roster now reserves its existing persistent menu width before hover and uses the shared child-toggle width for clearance. This prevents long titles from covering the menu and prevents the menu from overlapping the child toggle. Approved row, header, avatar and icon dimensions are unchanged.
The added coarse/fine-pointer cases use the actual Control UI with synthetic Gateway data, restored roster/pin preferences, drawer opening and menu clicks. Both failed on the overlap before the repair and passed after it. The complete mobile-menu and agent-first suites passed (11 cases), including after updating onto main. Glyph checks, UI production/test typechecks, scoped lint/format and independent review passed. Parent fixes are inherited from #188141; the remaining layer is 11 files.
The emoji-agent avatar styling is scoped to the sidebar, preserving normal chat avatar geometry. Loading the production components stylesheet in the existing reply-attribution test reproduced the desktop regression; the scoped rule passes all 18 reply, 98 owner-avatar and 5 glyph browser cases. No new test case or visual value was needed for this repair.
Current mobile menu evidence (actual Control UI, identical synthetic Gateway data and pointer mode):
Final CI
Run 41043896802, on
9fd3543, passed all three UI shards, the selected E2E jobs and the other applicable checks. The remaining failure is only the CSS size budget: 302.7 vs 302.6 KiB gzip and 1563.4 vs 1563.0 KiB raw. Landing uses the explicit CSS-budget exception; neither the approved design nor the budgets were changed. The earlier chat-avatar failure is fixed and its current CI shard passed.