Skip to content
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

AccessKit Disable Gifs: Minor code refactoring #1412

Merged
merged 9 commits into from
Apr 29, 2024

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Mar 15, 2024

Description

Should result in no functional changes. Just some cleanup and refactoring I did before experimenting with the Disable Gifs code.

In a script with this many classnames I find it easier to use css-in-js so you don't lose track of them all.

Testing steps

https://www.tumblr.com/search/gif
Test Disable Gifs in a post with a gif photoset and in the tag search sidebar on the community header and suggested tag previews.

Copy link
Owner

@AprilSylph AprilSylph left a comment

Choose a reason for hiding this comment

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

Paused GIFs in posts are currently missing GIF labels with this change.

src/scripts/accesskit/disable_gifs.js Outdated Show resolved Hide resolved
@marcustyphoon
Copy link
Collaborator Author

Ooh. Never like seeing that.

@marcustyphoon marcustyphoon merged commit 9fde307 into AprilSylph:master Apr 29, 2024
2 checks passed
@marcustyphoon marcustyphoon deleted the disable-gifs-refactor branch April 29, 2024 22:53
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.

2 participants