Bug 2088862 - Show the animated kit illustration on the Terms of Use onboarding page in Nightly and debug builds. #430 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Branches terms-of-use-hero-animation -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/t-p-white/firefox.git)
Author t-p-white
State closed
Commit Title

Bug 2088862 - Show the animated kit illustration on the Terms of Use onboarding page in Nightly and debug builds.

Commit Body

The animation plays once and replays when tapped, so `AnimatedIllustration` gains `replayOnClick`. The static fallback is the animation's first frame rendered as a vector, so loading and reduced motion show the same pose with no visible jump. The Lottie JSON is the motion kit hero export rewritten for Lottie Android, which ignores the track matte parent key (tp) and drops the final value after a hold keyframe. Shared mattes were duplicated next to each matted layer, layer indices renumbered, and terminal keyframes after holds marked as holds. It renders identically in lottie-web. **Reviewer notes**: To test in debug, enable the `FeatureFlag` `val onboardingFeatureEnabled = Config.channel.isDebug` and have fresh install. Demo https://github.com/user-attachments/assets/22ba5841-da13-41fd-be7a-067795ad2ae4

Landings

Successfully landed

Landing requested on , by icedicedcoffee@proton.me.

Landing Job: 115188

Last update:

Result: 5d6c8135dc1bc4e61fcc3380b604663559b49d10 on firefox-autoland@autoland (git)

Links: Treeherder