807 B
807 B
GSAP Escalation Rule
Default
Use Vue native transitions and CSS transitions for portal migration work.
GSAP allowed only when all conditions are true
- Interaction cannot be expressed with native Vue/CSS transitions without major maintainability cost.
- Animation is business-critical (e.g., complex timeline playback or synchronized multi-chart storytelling).
- Reduced-motion fallback is explicitly implemented.
- Performance impact is measured on target hardware and meets baseline thresholds.
- A rollback switch exists to disable advanced animation without breaking functionality.
Approval checklist
- Document the exact scenario and why Vue/CSS is insufficient.
- Add test coverage for degraded/non-animated path.
- Confirm bundle-size impact is acceptable for the target route.