v0.4.0 Wave 19: animation enhancements (triggers, delays, motion paths, reduce-motion, Animation Pane) - #17
Merged
Merged
Conversation
…n (Wave 19, component 2)
…(Wave 19, component 3)
…n UI (Wave 19, component 3)
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.
Summary
Wave 19 extends the animation system with triggers (OnClick/WithPrevious/AfterPrevious), delays, motion paths, a per-slide reduce-motion override, and a dedicated Animation Pane.
What changed
Model (
slides-core)Triggerenum (OnClick/WithPrevious/AfterPrevious).BuildStepgainstrigger,delay_ms,motion_path: Option<Vec<Rect>>.BuildEffect::MotionPathvariant.Slide.reduce_motion: Option<bool>.SetBuildStepTrigger,SetBuildStepDelay,SetBuildStepMotionPath,SetSlideReduceMotion.#[serde(default)]) — old decks behave identically.Animation crate (
slides-animation)build_timelineis now trigger-aware: WithPrevious fires simultaneously, AfterPrevious chains after the prior step's end. Click groups computed.build_timeline_reduced: instant frames for reduce-motion mode.Desktop (
apps/desktop/)@html.Review process
Control-tower pipeline on all 3 components. Model: fully CLEAN. Animation crate: CLEAN (1 NIT —
Eqdropped from BuildFrame due to f64, harmless). Desktop: fully CLEAN. One svelte-check warning fixed before merge.Test results
npm run check(svelte-check): 0 errors, 0 warnings.scripts/verify-local.sh: green.scripts/verify-public-release.sh: green.Remaining v0.4.0 item
Wave 20: custom layouts per template + rehearse timings (final v0.4.0 wave).