fix: UI fixes for system message avatars and agents page#749
Merged
Conversation
- Make channel event avatars clickable by wrapping them in UserProfilePopover, matching normal chat message avatar behavior - Flatten nested cards on Agents page by removing card styling from ManagedAgentRow and using divide-y separators instead - Clean up inline log panel by removing card-like border/shadow/padding when rendered inside an agent row - Fix channelsByPubkey lookup to normalize pubkeys so channel badges display correctly on agent rows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Not imported anywhere — superseded by UnifiedAgentsSection which uses AgentGroupRows directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…l data Move hover:bg-muted/40 from the inner button to the parent div so the highlight spans the full row width including the actions menu area. Supplement channelsByPubkey with channel.participantPubkeys so agent rows show channel badges even when relay agent events lack embedded channel membership data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous approach used Channel.participantPubkeys which is only populated for DM channels (from p-tags on kind:39000 metadata events). Regular channels don't carry member lists in their metadata. Fix by adding member_pubkeys to ChannelInfo, populated from the kind:39002 member events that get_channels already batch-fetches for counting. The Rust side now returns both the count and the pubkey list (collect_members_by_channel replaces count_members_by_channel). The TypeScript side maps memberPubkeys through to the channelsByPubkey memo so agent rows display channel badges. Also adds overflow-hidden to persona group cards so the hover highlight clips to the rounded border radius. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Switch from secondary (filled) to outline (bordered) variant to match the Local/Remote origin badge style. Add tracking-normal to remove the wide letter-spacing that the Badge base styles apply for uppercase labels — channel names are normal-case so tight tracking reads better. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
This was referenced May 28, 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
UserProfilePopover, matching normal chat message avatar behaviordivide-yseparators instead of individual card borders within the group cardchannelsByPubkeylookup to normalize pubkeys so channel badges display correctly on agent rowsTest plan
🤖 Generated with Claude Code