Comparing 0.10.0...0.10.1 · ycode/ycode
Commits on Mar 31, 2026
-
fix: remap component root interactions on resolve
Child layer IDs are transformed to be instance-specific, but the root layer's interaction tween.layer_id references were not remapped, so AnimationInitializer could never find the target elements on published pages. Made-with: Cursor
-
fix: sort collection items before pagination in published site
When a collection layer uses field-based sorting (e.g. by date), the DB was paginating by manual_order first, then client-side sort only reordered that subset. This gave wrong results because the correct items for the sorted view might not be in the DB-returned page. Now fetch all items when field-based sorting is active, sort the full set, then apply limit/offset via slice to get the correct page. Made-with: Cursor
-
fix: preserve initial animation state for components in rich text
Components embedded in rich text were missing their initial animation CSS because generateInitialAnimationCSS only walks the page-level layer tree. Rich-text component layers are namespaced differently and excluded from that traversal, causing a flash before GSAP initializes. Generate and inject initial animation CSS per embedded component block in both the React client path and the SSR HTML path. Made-with: Cursor