Repository navigation
fix(ui): show the assigned session owner beside sharing controls - #160673
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. Reviewed September 28, 2026, 4:23 PM ET / 20:23 UTC (Revision 2). ClawSweeper reviewWhat this changesThe Control UI chat header shows the assigned session owner beside sharing controls, removes a creator-labeled owner row from the sharing menu, and updates component and browser tests. Merge readiness✅ Ready for maintainer review Current main still hides the assigned owner when sharing controls appear. This focused PR addresses the linked issue with visible before-and-after proof, and the review found no introduced blocking defect. Priority: P2 Review scores
Verification
How this fits togetherThe Gateway session list supplies the current owner and participants to the Control UI chat header. Separate sharing evidence supplies creator-based sharing details to the menu. flowchart LR
A[Gateway session list] --> B[Chat header]
B --> C[Owner and participant avatars]
D[Gateway sharing evidence] --> E[Sharing menu]
B --> E
E --> F[Visibility and members]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -73, Tests +137. Total +64 across 9 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. Technical reviewBest possible solution: Keep the current assignee visible from the session row across chat-header layouts while sharing permissions remain creator-based. Do we have a high-confidence way to reproduce the issue? Yes. The linked issue gives assignment-and-reload steps, the current-main rendering branch explains the failure, and the PR supplies a before capture and a browser regression; this review did not rerun the browser test. Is this the best way to solve the issue? Yes. Rendering the session row's assigned owner in the existing header and leaving creator-based sharing evidence in the menu is a narrow repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0e2a0c1cd7a3. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
…nclaw#160673) * fix(ui): keep assigned session owners visible beside sharing * test(ui): satisfy owner regression lint rules * test(ui): align visibility-only sharing menu assertions
Closes #160670
What Problem This Solves
Assigning a shared session to a teammate succeeds, but the header hides that person's avatar and leaves the original participant visible—even after refreshing.
User Impact
The header shows the current assignee beside the visibility control and participants. Assignment still changes responsibility only; sharing permissions remain anchored to the creator.
Why This Change Was Made
The sharing control suppressed the canonical owner chip. Its popup then labeled creator-backed sharing data as the current Owner. Restore the chip from the session's assigned owner and remove the duplicate, misleading ownership display from the sharing menu, including its draft-only branch and unused styles/props.
Evidence
Before
Only Patrick's participant avatar is visible after assignment to Vyctor.
After
Vyctor's owner avatar is visible beside Patrick's participant avatar.
Mobile and sharing menu