Repository navigation
Add motion rules to AGENTS.md - #157
Merged
Merged
Conversation
The animation review treated every one-frame change as a defect. These rules start from how often a moment is seen instead: frequent actions, direct input, content at load and view switches don't animate; layout moved by something else does; press scale is for buttons; jumps are fixed with layout first; Reduce Motion keeps a short fade. They follow Anomaly's motion guide, with Material and the platform's own motion kept for pages, sheets, menus and dialogs. Docs only, nothing to run.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Motion section to
AGENTS.md: when the app should animate and when it shouldn't.The recent animation review treated every one-frame change as a defect, which pushes motion into places that are better instant. These rules start from how often someone sees a moment:
MotionRole/MotionThey follow Anomaly's motion guide. Where it and Android conventions differ, Android wins: pushed pages, sheets, menus and dialogs keep Material's and the platform's motion.
Where today's code doesn't match yet
Docs only.