Repository navigation
refactor(ui): share sidebar conversation menu rendering - #119452
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 4, 2026, 11:20 PM ET / August 5, 2026, 03:20 UTC. ClawSweeper reviewWhat this changesThis PR centralizes repeated hidden menu triggers, radio rows, and creator filters used by the Control UI conversation sidebar menus. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep open: the refactor is source-clean and preserves the existing controller contracts, but it lacks contributor-provided observable after-fix browser proof required before merge. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI conversation sidebar opens group, catalog, and sorting dropdowns from user controls. Those menus render selectable filters and dispatch the selected action back through the sidebar controller. flowchart LR
A[Sidebar controls] --> B[Menu renderer]
B --> C[Shared menu helpers]
C --> D[Dropdown menus]
D --> E[Grouping and filter actions]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -78. Total -78 across 1 file. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the owner-local consolidation and add a redacted before/after Control UI browser recording or screenshots that visibly exercise each affected menu before merge. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors existing menu rendering rather than reporting a current product defect. Is this the best way to solve the issue? Yes, conditional on the outstanding proof gate: keeping the helper local to the sidebar removes duplicate policy without creating a generic dropdown abstraction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a8caab5c3d3c. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
What Problem This Solves
The Control UI conversation sidebar repeated hidden dropdown anchors, accessible radio rows, and collaborator filters across its group, catalog, and sorting menus. Maintaining those copies independently made it easier for equivalent conversation controls to drift.
Why This Change Was Made
Use one owner-local renderer for sidebar menu triggers, checked radio choices, and collaborator-filter sections while preserving each menu’s existing actions, visibility rules, translations, and DOM structure. This removes 78 production lines without changing configuration, dependencies, or public contracts.
User Impact
No visual or behavioral changes. Conversation grouping, sorting, status and collaborator filters, owner avatars, separators, localization, keyboard navigation, focus restoration, accessible radio roles and checked states, and dropdown placement behave exactly as before.
Evidence
pnpm check:changedpassed remotely, including repository guards, dead-code scans, Control UI localization, core-test and UI typechecks, and changed-file lint with zero warnings or errors.--engine codex --model gpt-5.6-sol --thinking xhighpassed with no actionable findings.Real Browser Evidence (Exact PR Head)
Captured at
926e5476b29d589ff46e76a9183c658c710a0547in Google Chrome150.0.7871.187, using the actual production Lit sidebar renderers, Web Awesome dropdown custom elements, and checked-in Control UI styles:ae5caed3721dd11a5a8cb13468e69eecd876e30025d30db3a001f2d45d39f153.dc5511d88070c0c54a6f601964835a970c868aefb3c34d13e6009367dd09c080.dcb34702bd7ab4a35328961a32d76634e5d5702273c113cbd48b7af8c8a5c673.Each screenshot uses a real open dropdown in the browser popover top layer. Hidden anchors remain
aria-hidden="true",tabindex="-1", andpointer-events: none; actual radio rows exposerole="menuitemradio"and the expectedaria-checkedvalues, and owner avatars retain descriptive accessible names.Group, catalog, and sort browser captures