-
Notifications
You must be signed in to change notification settings - Fork 311
Use component factory for Giphy attachments and update design #6128
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
base: v7
Are you sure you want to change the base?
Conversation
SDK Size Comparison 📏
|
| .fillMaxWidth() | ||
| .height(1.dp) | ||
| .background(color = ChatTheme.colors.borders), | ||
| ChatTheme.componentFactory.GiphyAttachmentContent( |
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.
Just curious: Are we not providing the whole Giphy message as configurable via the component factory (with the Only visible to you and the buttons)?
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.
Hmm, good question. I didn't touch it because today we don't have it, but probably we should. WDYT?
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.
Actually nevermind, we have MessageGiphyContent in the factory
| ) | ||
| } | ||
|
|
||
| @Composable |
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.
Can we add the missing KDocs on public API?
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.
Ops, of course
|


🎯 Goal
Continuing with the message content structural changes started in #6119 and #6124, this time for Giphy attachments. This PR updates the Giphy message design and integrates it with the component factory pattern.
🛠 Implementation details
🎨 UI Changes
🧪 Testing
Can be checked in the sample app by sending Giphy attachments.