Files
hyperframes/packages
Miguel Angel Simon Sierra f04cdb79c5 fix(studio): never re-author a target the DOM proved is not unique
writeTargetSelector returned the selection's bare selector whenever the
structural walk failed, including when a live DOM was there to check
against. An element detached between selecting and committing takes that
path, so the add re-authored the exact `.group` string the function exists
to replace. Return null instead: a failed walk against a live DOM is
evidence, not absence of it. Callers that cannot drop a user edit opt back
in with `?? selectorFromSelection` where the trade is visible.

The replace-with-keyframes paths had the mirror defect. The server deletes
and re-adds the tween, so their target string is a full rewrite, and they
derived it from the selection: promoting a set on a tween already narrowed
to `#scene > div:nth-child(3)` widened it back onto every class sibling,
undoing the narrowing an earlier add had made. They now keep the tween's
own authored target, matching what eight sibling commit modules already do.
2026-07-28 20:37:52 +02:00
..
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00
2026-07-28 05:27:29 -07:00