-
Notifications
You must be signed in to change notification settings - Fork 291
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 channel avatars [WPB-15756] #18855
Conversation
@@ -169,7 +172,17 @@ export const ConversationListCell = ({ | |||
'conversation-list-cell-left-opaque': isSelfUserRemoved || users.length === 0, | |||
})} | |||
> | |||
{isGroup && <GroupAvatar conversationID={conversation.id} className="conversation-list-cell-avatar-arrow" />} | |||
{/* show channel avatar for testing purpose */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this comment still be there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I am merging to feature branch, this check is there only for testing.
{isGroup && | ||
(conversationName && conversationName?.toLowerCase().includes('channel') ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor suggestion: move this to a variable, e.g. shouldShowChannelAvatar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be removed anyway before merging to dev.
|
Description
Added channel avatars
Screenshots/Screencast (for UI changes)
Checklist