Open
Conversation
9b7a97c to
8c3f569
Compare
Collaborator
|
Great 👍 |
mahibi
approved these changes
Apr 20, 2026
Contributor
Author
|
Based on the discussion in #6081 the issue with the GIF not displaying is due to it wanting to display the file, not the preview, for the animated GIF. When the WebSocket data comes in, we only have a valid preview url, but not a valid file url. So either we need to somehow fall back to the preview URL or force the insurance call if the file request fails. |
Respect Remove/Reduce animations accessibility setting for GIF playback. Signed-off-by: Jens Zalzala <jens@shakingearthdigital.com>
8c3f569 to
c559818
Compare
Contributor
Author
|
Fixed merge conflict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #6061
This PR reimplements GIF playback after the chatkit removal.
It also checks if the user has the Reduce/Remove animations accessibility setting enabled, and will not auto play GIF files if so.
🖼️ Demo
https://youtube.com/shorts/6SKiq43Svng
🚧 ISSUES
After posting or receiving a chat with a GIF, the file will not initially display. This is because of an issue with the WebSocket result not matching the REST insurance call result. I made a separate issue for this: #6081
This will likely have a conflict with #6047 but that should be a quick and easy fix after one or the other gets merged.
🏁 Checklist
/backport to stable-xx.x