Repository navigation
sandbox(motion-lab): regenerate the motion audit against core@0.7.5 - #8620
Conversation
The Motion Lab's generated audit was last measured against core@0.5.2. Regenerated with pnpm -F @astryxdesign/sandbox generate:motion-audit (then prettier, as the checked-in file is formatted): core@0.7.5, core+lab: 59 hardcoded values, 44 files without reduced motion, 40 transform transitions. Generated file only.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
|
There was a problem hiding this comment.
This looks good to merge: the regenerated motionAudit.ts is exactly what the unchanged generator and prettier produce on this branch, and no current spec governs the sandbox Motion Lab. One correction to the description: the sandbox dev and build scripts already regenerate this file before serving, so labs served through them were already showing current counts and only the committed copy was stale. Optional before merge: main has moved since this branch's base, and regenerating there gives filesScanned: 919 and shifts 13 line references in BottomSheet, Drawer, Lightbox and MobileNav by one, so a rebase and rerun would make the snapshot match main exactly.
[Automated review]
| hardcodedTotal: 58, | ||
| hardcodedDuration: 34, | ||
| hardcodedEasing: 24, | ||
| filesScanned: 917, |
There was a problem hiding this comment.
Non-blocking: main moved after this branch's base (#8009). Regenerating at main's tip gives filesScanned: 919 here and raises 13 line references in BottomSheet.tsx, Drawer.tsx, Lightbox.tsx and MobileNav.tsx by one; rebasing and rerunning pnpm -F @astryxdesign/sandbox generate:motion-audit plus prettier would make the snapshot match main.
What changes for the person using the lab
The Motion Lab shows numbers from a generated audit of core's motion code instead of hand-written ones. The checked-in audit was last measured against core@0.5.2, so the lab's counts describe a release from months ago. This regenerates it against the current core.
Change
apps/sandbox/src/app/(sandbox)/pages/motion-lab/__generated__/motionAudit.tsonly, regenerated with:then formatted with prettier, like the checked-in file.
Generator output: core@0.7.5 (core + lab): 59 hardcoded values, 44 files without reduced motion, 40 transform transitions.
Scope
Testing