Skip to content

feat(ui): refine session sharing controls and outcomes - #176398

Merged
vyctorbrzezowski merged 13 commits into
mainfrom
brzezowski/session-ui-v3/session-sharing
Oct 21, 2026
Merged

vyctorbrzezowski merged 13 commits into
mainfrom
brzezowski/session-ui-v3/session-sharing

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Session sharing needs to distinguish access mode, public links, and member selection while keeping mutation results and recovery feedback visible.

User Impact

Adds a dedicated access-mode view, an inline public-link disclosure with copy feedback, and an on-demand people search. An empty loaded roster omits Message permissions; loading and error states remain available. The header communicates public sharing in its main control. Grouped member rows retain native keyboard navigation.

Why This Change Was Made

Keeps permissions, confirmation, reads, and mutations with the native session owner. Header callbacks forward operation outcomes so successful actions can update the menu. Retired mutations restore their previous state without creating an empty cache entry or overwriting a replacement operation. Opening Search focuses the newly rendered input without scrolling the surrounding page.

Evidence

  • The Sharing renderer suite passed all 13 cases in the combined UI run.

  • Shared menu keyboard/navigation coverage passed all 23 cases; the changed file cost was 4.66 s with pnpm test ui/src/components/solid/menu-navigation.browser.test.tsx --maxWorkers=1. The same file passed in WebKit (4.60 s wall).

  • Sharing Search focus is applied after the input is rendered, without scrolling its container. The changed Sharing and mobile-menu files passed 28 cases together (--maxWorkers=1; 2.48 s wall); scoped independent review found no actionable findings.

  • Header tests now check the icon-only Sharing control through its accessible name and centered icon, with both toolbar controls still actionable. The header file passed 45 cases (2.65 s wall), and the focused native geometry case passed (14.13 s wall), both with --maxWorkers=1. Scoped review found no actionable findings.

CI timing for the updated tests is pending; the measured local costs above are scoped runs.

Visual evidence

Captured before: dccff201b07e. Captured after: 5856f7237579.

Synthetic fixtures and a mock Gateway show the integrated session UI at these revisions. These images are not isolated proof of this PR; stills do not establish interaction or live-service results.

Published comparisons: Session details and sharing.

Sharing on desktop

Native sharing menus with the same roster and public-link controls. This pair shows presentation, not a completed permission change.

Full view

Before After
Sharing on desktop: Before — full view Sharing on desktop: After — full view

Detail 1

Before After
Sharing on desktop: Before — detail 1 Sharing on desktop: After — detail 1

@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 18, 2026
@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head e43f2b3b7cf2667567ec26b44fbc1cc54222e8ce, but the PR head is now 7252ca74a51e2c86be0fc278e0153061bfc143d2. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-10-18T20:26:45.214Z sha e43f2b3 :: needs changes before merge. :: [P2] Remove the unused sharing-preparation path | [P2] Return only the roster identities the renderer consumes | [P3] Use the required cursor for state-changing controls | [P3] Remove pseudo-elements appended after relational selectors

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from e43f2b3 to b43560e Compare October 19, 2026 11:38
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from b43560e to 6e7d7be Compare October 19, 2026 11:44
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 19, 2026 11:46
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from 6e7d7be to 5d4f02a Compare October 19, 2026 14:53
@vyctorbrzezowski vyctorbrzezowski added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 19, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from 5d4f02a to 4cd9758 Compare October 19, 2026 18:52
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from 4cd9758 to e08fbc2 Compare October 19, 2026 20:08
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from e08fbc2 to ad90e67 Compare October 19, 2026 21:11
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch 2 times, most recently from 55e2b1f to eeadb28 Compare October 19, 2026 23:42
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from eeadb28 to 6760df6 Compare October 19, 2026 23:52
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/session-ui-v3/session-sharing branch from 1f1a58e to 5d83cc3 Compare October 21, 2026 01:38
@vyctorbrzezowski
vyctorbrzezowski merged commit ef273ce into main Oct 21, 2026
10 of 11 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/session-ui-v3/session-sharing branch October 21, 2026 01:38
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
* feat(ui): refine session sharing controls and outcomes

* test(ui): consolidate sharing refresh order coverage

* refactor(ui): keep prepared sharing types with shared contracts

* fix(ui): align sharing checks with session controls

* fix(ui): retain sharing group renderer identity

* fix(ui): focus sharing search after its transition settles

* test(ui): identify icon-only sharing action accessibly

* test(ui): cover icon-only sharing geometry

* fix(ui): dispatch owner-handled sharing menu actions explicitly

* fix(ui): retain compact icon-only sharing control

* style(ui): format session sharing callbacks

* style(ui): consolidate session sharing type import

* test(ui): distinguish sharing label geometry
@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P2 Normal backlog priority with limited blast radius. size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant