-
Notifications
You must be signed in to change notification settings - Fork 2.7k
inline playback for gif attachments #326
inline playback for gif attachments #326
Conversation
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.
@dmeza please help fix the build issueswhen you have a chance so we can start up the test server
01c306f
to
7ca008c
Compare
@esethna rebased to latest from master, added gif playback to preview and re-created snapshots. Checked that styles and tests are passing. |
|
Spinmint test server created at: http:https://i-08910b2a8dcfb8c75.spinmint.com Test Account 1: Email: Test Account 2: Email: Instance ID: i-08910b2a8dcfb8c75 |
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.
Cool thanks @dmeza!
Heads up that we have an incoming PR for updating image thumbnails. I want to make sure these changes are not going to conflict?
@esethna reviewed the PR and the conflict will be on the snapshot for |
Spinmint test server destroyed |
7ca008c
to
9de50a6
Compare
@hmhealey thanks for the comments.
|
For whether or not it's an animated gif, I believe the FileInfo object will have has_preview_image set to false if it's an animated gif (to prompt it to show the animated gif in the preview modal For turning on/off the animation, I'll double check with PMs. When we had something similar to it in the past, we had a toggle like that, but maybe it's not necessary any 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.
Oh wait, I forgot that I still wanted the thumbnail version to be used for non-animated gifs
@hmhealey I'll add that change later today. |
bddec4c
to
a76b36f
Compare
@hmhealey made the fix to check than when it's a gif and has_preview_image is true to display the thumbnail. Rebased to latest from master. |
a76b36f
to
85f17cf
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, looks good
This reverts commit 6c74c85.
* inline playback for gif attachments * Re-created snapshot for file_attachment.test * Display thumbnail for non animated gifs
* inline playback for gif attachments * Re-created snapshot for file_attachment.test * Display thumbnail for non animated gifs
* inline playback for gif attachments * Re-created snapshot for file_attachment.test * Display thumbnail for non animated gifs
Summary
Adds Inline playback for git attachments
Cc @dmeza
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
make check-style
to check for style errors (required for all pull requests)make test
to ensure unit and component tests passed