An error occurred while fetching the assigned milestone of the selected merge_request.
UX Guide - add initial animation guidance
1 unresolved thread
1 unresolved thread
Adding guidance to our UX Guide around animation. This is to help us implement #24831 (closed) and add polished, consistent animation throughout GitLab.
Merge request reports
Activity
- doc/development/ux_guide/animation.md 0 → 100644
1 # Animation 2 3 Motion is a tool to help convey important relationships, changes or transitions between elements. It should be used sparingly and intentionally, highlighting the right elements at the right moment. 4 5 ## Timings 6 7 The longer distance an object travel, the timing should be longer for the animation. However, when in doubt, we should avoid large, full screen animations. 8 9 Subtle animations, or objects leaving the screen should take **100-200 milliseconds**. Objects entering the screen, or motion we want to use to direct user attention can take between **200-400 milliseconds**. We should avoid animations of longer than 400 milliseconds as they will make the experience appear sluggish. If a specific animation feels like it will need more than 400 milliseconds, revisit the animation to see if there is a simpler, easier, shorter animation to implement. 10 11 ## Easing 12 13 Easing specifies the rate of change of a parameter over time (see [easings.net](http://easings.net/)). Adding an easing curve will make the motion feel more natural. Being consistent with the easing curves will make the whole experience feel more cohesive and connected. 14 15 * When an object is entering the screen, or transforming the scale, position, or shape, use the **easeOutQuint** curve. 16 * When an object is leaving the screen, or transforming the opacity or color, no easing curve is needed. It shouldn't _slow down_ as it is exiting the screen, as that draws attention on the leaving object, where we don't want it. Adding easing to opacity and color transitions will make the motion appear less smooth. Therefore, for these cases, motion should just be **linear**. added 294 commits
-
e0da8c8e...14046b9c - 293 commits from branch
master
- 28a3aeb3 - Create animation page and clean up index
-
e0da8c8e...14046b9c - 293 commits from branch
added 107 commits
-
28a3aeb3...1e7e7977 - 106 commits from branch
master
- 30f05049 - Create animation page and clean up index
-
28a3aeb3...1e7e7977 - 106 commits from branch
assigned to @axil
changed milestone to %8.15
mentioned in commit 9e5d9f01
Please register or sign in to reply