mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
Add KeyframeNavigation component (prev/diamond/next inline controls) that enables per-property keyframe navigation in the Layout section of the PropertyPanel. The diamond state reflects whether the current playhead is on an existing keyframe (active), between keyframes (inactive), or has no keyframes at all (ghost). Clicking the diamond converts, adds, or removes a keyframe accordingly. Wire the new add-keyframe, remove-keyframe, and convert-to-keyframes mutations through useGsapScriptCommits -> useDomEditSession -> DomEditContext -> StudioRightPanel -> PropertyPanel, following the existing GSAP mutation pattern (commitMutation with undo history and soft reload).