-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add group avatar #2556
feat: add group avatar #2556
Conversation
Size Change: +2.3 kB (+0.2%) Total Size: 1.16 MB
ℹ️ View Unchanged
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2556 +/- ##
==========================================
+ Coverage 83.18% 83.23% +0.04%
==========================================
Files 437 439 +2
Lines 9113 9142 +29
Branches 2232 2237 +5
==========================================
+ Hits 7581 7609 +28
- Misses 1204 1205 +1
Partials 328 328 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version 12.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Allow to display group avatar for group channels. The dichotomy however is between the
ChannelAvatar
and a simpleAvatar
.GroupAvatar
is just a component used byChannelAvatar
in case there are more than 2 members in a channel. The componentAvatar
stays the default for all the components in the SDK, however, the integrators can override it inChannelList
andChannelHeader
withChannelAvatar
. This approach has been taken to avoid breakinch changes.Depends on GetStream/stream-chat-css#319
🎨 UI Changes