Repository navigation
fix(ui): compact mobile session actions - #132020
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 5:22 PM ET / 21:22 UTC. ClawSweeper reviewWhat this changesThe PR makes the mobile Control UI session-actions menu denser and moves owner/admin sharing controls into a More-menu drilldown while keeping the desktop control. Merge readinessKeep open. The final head addresses the three prior review blockers through the existing sharing owner and has no new actionable correctness finding; it remains a maintainer-labelled PR with exact-head CI still running and a local current-main source-inspection gap. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI chat header combines the selected session with Gateway-advertised permissions to render session actions. On narrow panes, this change places the existing visibility and member controls inside the More menu and sends mutations through the existing sharing owner. flowchart LR
A[Selected session] --> C[Chat header]
B[Gateway permissions] --> C
C --> D[Mobile More menu]
D --> E[Sharing drilldown]
E --> F[Existing session-sharing owner]
C --> G[Desktop sharing control]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +50, Tests +208, Other 0. Total +258 across 8 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one canonical sharing renderer and mutation owner; after exact-head CI succeeds, merge the compact presentation rather than adding another mobile-specific sharing implementation. Do we have a high-confidence way to reproduce the issue? No independent current-main reproduction was run: the linked report provides a 390×844 Mock Gateway path and the PR supplies captures, but this read-only review did not execute code and current-main blobs were unavailable locally. Is this the best way to solve the issue? Yes. The compact view reuses the established sharing renderer, callbacks, and authorization owner instead of creating a second mobile mutation flow; direct current-main blob comparison remains unavailable. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 740f54e8ede8. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
|
Addressed every review item on the current head:
The existing desktop sharing control and the approved mobile interaction design are unchanged. Exact-head CI passed. |
|
Merged via squash.
|
* fix(ui): compact mobile session actions * fix(ui): shorten mobile session menu rows * fix(ui): preserve compact sharing states * fix(ui): align compact publish label * style(ui): format compact sharing tests * fix(ui): cap compact sharing menu * chore(ui): record compact menu startup baseline * fix(ui): match sharing menu height contract




Closes #132019
What Problem This Solves
On mobile, the session More menu occupied most of the screen while visibility and member controls remained in a separate header action. The Delete icon also did not visually match its destructive label.
Why This Change Was Made
The mobile More menu now uses a consistent 34px row rhythm and includes Visibility and Members in a focused sharing drilldown. It reuses the existing sharing renderer and callbacks, preserves the read-only draft indicator for non-managers, and keeps large member lists within the established mobile height limit. The desktop sharing control is unchanged.
User Impact
Mobile users get a denser session action menu, one fewer header icon, and direct access to Visibility and Members from More. Draft state remains visible to members, large sharing lists stay scrollable, and Delete is consistently recognizable as destructive.
Evidence
The before-and-after captures below were recorded at 390x844 in light and dark themes and inspected after capture.
Before
Light:
Dark:
After
Light:
Dark:
Sharing drilldown, light:
Sharing drilldown, dark:
Validation: