feat(desktop): open profile panel from MembersSidebar rows#962
Merged
Conversation
Click the avatar / name region of a member row to open that user's profile panel — closes the members sheet first, then routes through the existing ProfilePanelContext used by mentions and popovers. The kebab menu remains a sibling outside the click target so its actions aren't intercepted. Falls back to the original non-clickable layout when ProfilePanelContext isn't available (e.g. host surfaces that don't render a profile panel). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
UserProfilePanel only renders inside ChannelPane, which forum channels replace with ForumView — so clicking a member row in a forum's members sheet would close the sheet and open nothing. Withhold onOpenProfile for forum channels so rows fall back to their non-clickable form. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
4a55a93 to
5c1197a
Compare
wesbillman
approved these changes
Jun 11, 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.
Summary
Click the avatar / name region of a member row in the People & Bots sidebar to open that user's profile panel. Reuses the existing
ProfilePanelContextopener that already powers profile opens from@mentionsandUserProfilePopover— same code path, same target panel.Behavior
onViewActivityflow.ProfilePanelContextisn't available (defensive — every current caller provides it, but the hook returns{openProfilePanel: null}if no provider).Why
The People list is the most natural place to discover an identity you don't already have a message thread with — especially useful for finding agents you don't talk to often. The profile panel already exists; this just adds the obvious click ingress that was missing.
New testid:
sidebar-member-open-profile-<pubkey>on the clickable region.Test plan
tsc --noEmitcleanbiome checkclean on touched files