Repository navigation
fix(ui): refine composer media and capability menus - #184780
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 groups media actions, adds skill search and library views, and expands plugin tools inline with individual and bulk toggles. Example: A user opens Plugins for the github MCP server.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is worth merging: the earlier findings are resolved, and no additional actionable defect was found; current-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherChat and New Session share the composer menu, which presents capability catalogs and sends user selections to existing attachment, session-override, and skill-library owners. flowchart TD
A[Chat and New Session] --> B[Composer menu]
B --> C[Attachment input owner]
B --> D[Capability host]
B --> E[Library session owner]
D --> F[Gateway APIs]
E --> F
Technical reviewBest possible solution: Merge the unified menu presentation once the existing current-head CI gate passes. Do we have a high-confidence way to reproduce the issue? The base source and inspected comparison images establish the older submenu layout; the PR also records a failing library-loading regression followed by passing affected tests. Is this the best way to solve the issue? The change uses the existing menu, attachment, catalog, and mutation owners, with separate presentation state for search and expansion and no competing persistence path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cd3bcc017653. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +572, Tests +253, Docs 0. Total +825 across 24 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 (3 earlier review cycles)
Reviewed October 26, 2026, 1:23 PM ET / 17:23 UTC (Revision 4). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* fix(ui): refine composer media and capability menus * fix(ui): narrow composer library menu entry types * fix(ui): distinguish MCP tool labels and discovery notices * fix(ui): explain unavailable composer skills * docs(ui): align composer menu instructions * fix(ui): align composer menu flows and validation * test(ui): align menu coverage with approved controls
What Problem This Solves
The composer attachment menu separates related capability actions into inconsistent submenus, and long lists make navigation and status feedback difficult to follow.
User Impact
Users can choose media, find skills, inspect library entries, and control plugin tools within a consistent menu. Long lists scroll while navigation stays accessible, and library actions remain available when the separate skill catalog is loading or fails.
Why This Change Was Made
Reuses the native menu and existing capability owners for grouped media actions, skill search, inline plugin tools, and compact switches. Platform-specific attachment paths and permission checks remain in their existing owners. Library changes retain confirmation that they apply to the next turn. Colliding tool labels remain distinguishable, discovery guidance is separate from request errors, and unavailable skills explain missing dependencies or agent restrictions on hover.
Evidence
Visual validation
Before and after use the same content, theme, viewport, and state.
Before
184780-before.mp4
After
184780-after.mp4
Tool identities and discovery guidance