-
Notifications
You must be signed in to change notification settings - Fork 731
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
[Feature] Add the option to autoplay animated images #6166
[Feature] Add the option to autoplay animated images #6166
Conversation
Signed-off-by: networkException <[email protected]>
272cec1
to
de40100
Compare
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.
Thanks for the PR.
LGTM, just a small typo to fix.
Did not run the code though.
Signed-off-by: networkException <[email protected]>
de40100
to
792907d
Compare
This patch adds a new switch to VectorPreferences, the vector settings preferences view and various classes propergating the set value of the switch into parts of the application touched by the following patches. Signed-off-by: networkException <[email protected]>
This patch adds the messageType field to MessageInformationData, containing a nullable string representation of the message event's type. Signed-off-by: networkException <[email protected]>
This patch removes dontAnimate() in the createGlideRequest() builder conditionally depending on the user's animated image autoplay preferences. Resolves element-hq#1160, element-hq#5094 Signed-off-by: networkException <[email protected]>
This patch updates the logic checking whether to show the playContentView to not show it when an animated image message would autoplay its animation. Signed-off-by: networkException <[email protected]>
Signed-off-by: networkException <[email protected]>
792907d
to
fedc637
Compare
@@ -973,6 +973,8 @@ | |||
<string name="settings_show_read_receipts_summary">Click on the read receipts for a detailed list.</string> | |||
<string name="settings_chat_effects_title">Show chat effects</string> | |||
<string name="settings_chat_effects_description">Use /confetti command or send a message containing ❄️ or 🎉</string> | |||
<string name="settings_autoplay_animated_images_title">Autoplay animated images</string> | |||
<string name="settings_autoplay_animated_images_summary">Play animated images in the timeline as soon as they are visible</string> |
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.
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.
Thanks for the fast update!
Signed-off-by: networkException <[email protected]>
Type of change
Content
This pull request adds a new switch to the preferences, allowing users to enable autoplaying of animated images in their room timeline.
Motivation and context
This feature is already present in element-web and was commonly requested by the community:
The pull request resolves #1160, resolves #5094
Screenshots / GIFs
Tests
Tested devices
Checklist