Repository navigation
fix(ui): restore person grouping for multiple session owners - #130326
Merged
Merged
Conversation
Use the live session-owner roster for Person grouping and People sorting instead of the connection-time identity policy. Preserve preferences while the roster is unknown and retain single-owner dormancy across sidebar and Sessions page.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 26, 2026 19:50
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 27, 2026
…w#130326) * fix(ui): restore person grouping for multiple session owners Use the live session-owner roster for Person grouping and People sorting instead of the connection-time identity policy. Preserve preferences while the roster is unknown and retain single-owner dormancy across sidebar and Sessions page. * docs(ui): match the owner sorting label * refactor(ui): reuse session owner and menu selection paths
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where users with sessions owned by multiple people could not select Group by Person or owner sorting because the menu hid those choices despite already displaying the owners.
Why This Change Was Made
The sidebar and Sessions page used a multi-user flag captured in the Gateway handshake. Session ownership is refreshed separately, so the flag could disagree with the current owner roster. Both controls now use the authoritative session-list owner facet already used for sorting and filtering. An unavailable roster preserves the stored preference; an authoritative single-owner roster keeps the single-owner UI dormant.
This removes the presentation dependency on the handshake without changing sharing policy, authorization, configuration, protocol, or storage. Sorting, grouping, and filtering share the same selected-agent owner roster; production code is four lines smaller. The original gate came from #121470 and was reused by #127346.
User Impact
Users can group and sort by the owners shown in their sessions without reconnecting to refresh an unrelated identity flag. The sidebar and Sessions page agree, and reconnects retain the existing selection while the roster remains available.
Evidence
3fc5606f0dc.3fc5606f0dc, three browser scenarios passed: multi-owner controls, involving-me filtering, and single-owner dormancy.CI passed on commit
3fc5606f0dca16fbe372f2c57b875a73c0dd282ain run 33008668048. The earlier run caught two file-length lint failures; consolidating duplicate owner-facet selection and browser menu actions fixed both without weakening assertions or lint rules. Targeted lint, formatting, and a fresh structured review pass are clean.An additional remote repeat after rebasing failed during synchronization before tests started; the rebased unit suites were then rerun successfully in the managed PR checkout. A separate source-blind image review was unavailable, so the screenshots were inspected manually alongside the passing Chromium interactions.
The local changed-check run passed its first 15 guards, then stopped in test typechecking because the dependency-less managed worktree resolved an ancestor's transitive
pako1.0.11 instead of the UI package's declared 3.0.1. No dependency files differ in this PR. The exact-head CIcheck-test-types,check-prod-types, andchecks-uijobs all pass with the proper workspace install.