Skip to content

Add motion rules to AGENTS.md - #157

Merged
Tarquinen merged 1 commit into
devfrom
motion-rules
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
motion-rules

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

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:

  • frequent actions, direct input, content at load and view switches don't animate
  • layout that something else moves (a card docking, a pill leaving) does
  • lists animate only what the person just did
  • press scale is for buttons; rows use their highlight
  • a jump is fixed with layout before motion
  • Reduce Motion keeps a short fade
  • specs come from MotionRole/Motion

They 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.

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.
@Tarquinen
Tarquinen merged commit c615a2c into dev Nov 18, 2026
1 check passed

This branch was previously deployed

1 inactive deployment
release — b01fa973 Deployed Nov 18, 2026 by Tarquinen via check #521
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.

1 participant