-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Chat] Added Image Loading Placeholder to Chat Messages #3861
Conversation
Chat bundle size is increased❗.
|
CallWithChat bundle size is increased❗.
|
Calling bundle size is increased❗.
|
@azure/communication-react jest test coverage for stable.
|
@azure/communication-react jest test coverage for beta.
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot. |
packages/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/src/components/styles/MessageThread.styles.ts
Outdated
Show resolved
Hide resolved
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 looks like it has changed the default scrolling behaviour?
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.
i actually think the "after" is correct since it scrolls to the bottom? also i feel like there's might be a race condition when snapshot is taken (maybe rendering the placeholder caused a few ms delay so snapshot is now taken when thread is scrolled to button)
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.
Looks nice.
What
Adding image placeholder for messages with inline images
Why
to improve UX
How Tested
check the storybook page:
Process & policy checklist
Is this a breaking change?
multiple image test
Dark Light Mode Testing:
dark-light-mode.mov
Success flow
sucess-flow.mov
Error flow
error-testing.mov