Skip to content

fix(studio): green up element-groups CI (file-size cap + non-sticky drill test)#1770

Merged
miguel-heygen merged 1 commit into
mainfrom
fix/eg-ci-green
Jun 27, 2026
Merged

fix(studio): green up element-groups CI (file-size cap + non-sticky drill test)#1770
miguel-heygen merged 1 commit into
mainfrom
fix/eg-ci-green

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Two CI reds landed on main with the element-groups stack; this greens them.

  • File size check: useGsapTweenCache.ts crossed the 600-line cap (588 → 628 via the timeline-expansion PR). Extracted the two pure synth helpers (deduplicateKeyframes, synthesizeFlatTweenKeyframes) into gsapTweenSynth.ts → 573 lines.
  • Test: domEditingLayers 'clicking outside the drilled-into group' asserted the old sticky behavior (null). The code is intentionally non-sticky (clicking outside exits the group and resolves the clicked element, per its comment). Test now asserts that.

studio 1180/0, useGsapTweenCache 11/11, domEditingLayers 13/13, typecheck/lint/format clean.

…sticky drill test

- extract deduplicateKeyframes + synthesizeFlatTweenKeyframes into gsapTweenSynth.ts
  so useGsapTweenCache.ts drops from 628 to 573 lines (600-line cap)
- the drilled-into-group selection test asserted the old sticky behavior; the code
  is intentionally non-sticky (clicking outside exits the group and resolves the
  clicked element), so the test now asserts that
@miguel-heygen miguel-heygen merged commit a44ef47 into main Jun 27, 2026
39 checks passed
@miguel-heygen miguel-heygen deleted the fix/eg-ci-green branch June 27, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant