Skip to content

Reduce footprint of animate.js

username-removed-408230 requested to merge refactor-animate-js into master

What does this MR do?

Removes the animate.js utility, and removes the one place it was being used: the issuable sidebar label animation.

Why was this MR needed?

The animate.js file was made up of a lot of unused code that's currently getting loaded on every page, and the labels animation is the only one of its kind in GitLab. We're knocking about 1KB off of our main js file.

Screenshots (if relevant)

With:

Screen_Recording_2017-09-11_at_11.25_AM

Without:

Screen_Recording_2017-09-11_at_11.27_AM

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary

  • Review

    • Has been reviewed by UX
    • Has been reviewed by Frontend

What are the relevant issue numbers?

Edited by username-removed-408230

Merge request reports