Skip to content

Default to a non-animated version of oops.gif#9549

Closed
ClearlyClaire wants to merge 3 commits intomastodon:masterfrom
ClearlyClaire:fixes/blinking-500
Closed

Default to a non-animated version of oops.gif#9549
ClearlyClaire wants to merge 3 commits intomastodon:masterfrom
ClearlyClaire:fixes/blinking-500

Conversation

@ClearlyClaire
Copy link
Copy Markdown
Contributor

@ClearlyClaire ClearlyClaire commented Dec 17, 2018

Fixes #6060

The new png is the first frame from the animated gif, with the orange bits removed since they only make sense in the animation.

screenshot_2018-12-17 this page is not correct - dev glitch social

@ClearlyClaire
Copy link
Copy Markdown
Contributor Author

I guess we could, for the non-static part. But most of the time, such pages will show up because the server itself is down, and that lookup cannot be done in such occasions.

@ClearlyClaire
Copy link
Copy Markdown
Contributor Author

Updated the PR to respect the autoPlayGif setting when it's available (and default to the still image otherwise)

Copy link
Copy Markdown
Contributor

@koyuawsmbrtn koyuawsmbrtn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, I don't know if it's ready to merge, but I would approve it

%body.error
.dialog
%img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about trying to get the value from the settings saying "allow autoplay" and then animate it if the user wishes so? It's also disabled by default so it shouldn't bother anyone.

@danhunsaker danhunsaker changed the title Replace animated oops.gif by a non-animated image Default to a non-animated version of oops.gif Dec 22, 2018
@ClearlyClaire ClearlyClaire deleted the fixes/blinking-500 branch March 14, 2019 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants