give image cluster priority over the emoji for group conversations#1140
Conversation
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @cameronvoell's task —— View job Code Review CompleteSummaryThis PR successfully prioritizes member avatar clusters over seeded conversation emojis for group conversations. The implementation is clean and well-tested. Code Quality: ✅ ExcellentConversation.swift (lines 232-258):
View Controller Change:
Test Coverage: ✅ ComprehensiveNew Test File (
Updated Test File (
Potential Issues:
|
ApprovabilityVerdict: Approved This PR reorders avatar display priority for group conversations (showing clustered member photos over auto-seeded emoji) and fixes a UI refresh issue. The changes are self-contained, well-tested, and limited to visual display logic with no broader runtime implications. You can customize Macroscope's approvability policy. Learn more. |
Since member avatars outrank the seeded conversation emoji (#1140), the empty-state mock's members - whose Profile.mock avatars are fake URLs that never load - rendered the CTA as a cluster of gray initials instead of the convo emoji. Build those members with avatar-less profiles so avatarType falls through to the supplied emoji, and pin that with a regression test. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Give image clusters priority over emoji for group conversation avatars
Conversation.avatarTypein Conversation.swift to return a clustered member avatar when any member has a profile photo, falling back to the seeded emoji only when no member avatars are available.ConversationsViewController.diff-changed-itemsto includeavatarTypein the change-detection predicate, so cells refresh when the avatar type changes.Macroscope summarized 5b78b5b.