Commit Graph
1937 Commits
Author SHA1 Message Date
ukimsanov 004240572d feat(studio): handleTimelineElementsMove — atomic multi-clip persist
One read / patch-all / save-once / one batched GSAP shift / one reload /
single undo, grouped per source file. Fixes the per-clip persist race
(HANDOFF §7.1) where concurrent GSAP round-trips corrupted the file.
Single-clip moves keep the SDK-cutover-aware handler; this serves the
new multi-clip ripple/insert paths (extracted to a module to keep
useTimelineEditing under the filesize gate).
2026-07-10 10:23:50 -07:00
ukimsanov c0ed66c6f4 feat(studio): shiftGsapPositionsBatch client helper 2026-07-10 10:23:50 -07:00
ukimsanov 1b07ab1d0c feat(studio-server): shift-positions-batch GSAP op (one write, N shifts) 2026-07-10 10:23:49 -07:00
ukimsanov 1a308c4229 feat(studio): reflowMainTrack — contiguous re-lay for main-track ripple 2026-07-10 10:23:49 -07:00
ukimsanov a04cbc7a3c fix(studio): drop crop-mode props from shell (align to main always-on crop)
Rebase reconciliation: main #2090 made crop always-on and removed
cropMode/onCropModeChange from DomEditOverlay. The R4 shell refactor
predated that and still threaded those props through EditorShell ->
PreviewOverlays. Drop the dead chain; crop is always-on now.
2026-07-10 10:23:49 -07:00
ukimsanov 1d86c23a64 fix(studio): keep clip selection outline + solid bg while dragging
The .is-dragging drop-shadow overrode the selected-clip white outline;
re-state both together. Add a solid background so audio clips (waveform
on a separate layer) aren't see-through while being dragged.
2026-07-10 10:23:49 -07:00
ukimsanov 02e5192b70 feat(studio): timeline fills viewport width when zoomed out
When content is shorter than the visible area, the ruler + empty track
lanes continue into the space instead of leaving dead black on the
right (CapCut-style). Only the rendered extent grows; clip positions
and durations are untouched.
2026-07-10 10:23:49 -07:00
ukimsanov f16940121f fix(studio): stable zone tie-break + valid top-insert track
resolveMainOriginTrack tie-broke on the mutated track index, so two
equal-duration videos on distinct tracks oscillated lanes on every
re-zone. Tie-break on the stable clip id instead (invariant across
normalizeToZones passes).

buildTrackInsert row 0 returned track -1 (negative index corrupts the
persisted source). Insert above the top by shifting every other clip
down one; the dragged clip takes the old top index.
2026-07-10 10:23:49 -07:00
ukimsanov 9f4d16f4f6 refactor(studio): extract drag-commit module; defer main-track ripple (per-clip persist races) 2026-07-10 10:23:48 -07:00
ukimsanov cb5afc5ee2 feat(studio): main-track no-overlap magnet (snap flush, no stacking) 2026-07-10 10:23:48 -07:00
ukimsanov c2ffc24821 fix(studio): stable main-track resolution (role/longest-video) — idempotent zoning 2026-07-10 10:23:48 -07:00
ukimsanov b7ac593df6 feat(studio): enforced CapCut track zones (overlay/main/audio normalization) 2026-07-10 10:23:48 -07:00
ukimsanov ed212ba8ee feat(studio): denser ruler minor ticks + frame-mode label sync 2026-07-10 10:23:48 -07:00
ukimsanov b811de1560 feat(studio): mid-lane track insert with insertion-line indicator 2026-07-10 10:23:48 -07:00
ukimsanov 705c7371aa feat(studio): collision-push drag to nearest free lane (prefer up) 2026-07-10 10:23:47 -07:00
ukimsanov b0d3a6cab4 feat(studio): clip-sized drop placeholder at the landing spot 2026-07-10 10:23:47 -07:00
ukimsanov 5077efe036 feat(studio): ghost follows cursor with target-lane highlight (CapCut feel) 2026-07-10 10:23:47 -07:00
ukimsanov bf62b33b88 feat(studio): magnetic vertical drag ghost (snaps to track lanes) 2026-07-10 10:23:47 -07:00
ukimsanov 2a5a350c23 feat(studio): full-width timeline layout; sidebars and preview above it 2026-07-10 10:23:46 -07:00
ukimsanov e5dd19a1d0 refactor(studio): extract PreviewOverlays and useTimelineEditCallbacks 2026-07-10 10:23:46 -07:00
ukimsanov 1b1a2ba009 refactor(studio): extract TimelinePane from NLELayout 2026-07-10 10:23:46 -07:00
ukimsanov bdc1583231 refactor(studio): extract PreviewPane from NLELayout 2026-07-10 10:23:46 -07:00
ukimsanov b9ed297164 refactor(studio): lift player and composition-stack state into NLEProvider 2026-07-10 10:23:46 -07:00
ukimsanov 2c0858934f feat(studio): timeline zoom slider (log-scaled) replacing +/- buttons 2026-07-10 10:23:45 -07:00
ukimsanov 471c773ed5 feat(studio): timeline always visible (remove hide/show toggle + shortcut) 2026-07-10 10:23:45 -07:00
ukimsanov 131d6d9921 fix(studio): stamp id + data-hf-id on inserted blocks (fixes duplicate timeline clips) 2026-07-10 10:23:45 -07:00
ukimsanov 9bb7e05139 feat(studio): regular cursor over timeline clips; taller default timeline (smaller preview) 2026-07-10 10:23:45 -07:00
ukimsanov d3378b6f91 feat(studio): drops place at the playhead, CapCut-style (remove drag ghost overlay) 2026-07-10 10:23:44 -07:00
ukimsanov 0c2d0c9bd5 fix(studio): drops stay on the target track (no overlap-bump to a new track) 2026-07-10 10:23:44 -07:00
ukimsanov 83f1d5da5a fix(studio): honor authored track index; drop lands on hovered track; smooth edge auto-scroll 2026-07-10 10:23:44 -07:00
ukimsanov 75240a5c86 fix(studio): extend root duration when a dropped clip overflows the composition 2026-07-10 10:23:44 -07:00
ukimsanov 42278797ed fix(studio): kind-aware drop targeting, assets uploads dir, block-install guard, rAF drag-over 2026-07-10 10:23:44 -07:00
ukimsanov b9faea06cd fix(studio): clear drop ghost on drag cancel; type=button on add-at-playhead item 2026-07-10 10:23:43 -07:00
ukimsanov 5106334ba9 refactor(studio): derive global file-drop handler type from useTimelineEditing 2026-07-10 10:23:43 -07:00
ukimsanov c750a8aa5d feat(studio): global OS file drop imports and places at the playhead 2026-07-10 10:23:43 -07:00
ukimsanov 18485bf083 feat(studio): add-at-playhead action on asset cards 2026-07-10 10:23:43 -07:00
ukimsanov 302584c24a feat(studio): dropped assets get data-hf-id, audio volume, centered fitted geometry 2026-07-10 10:23:43 -07:00
ukimsanov e9ef70bb74 fix(studio): drop-preview re-render guards; file drag cursor; snap-guide glow
- Extend dragover equality check to include isNewTrack, label, extraCount
- Set dropEffect='copy' for file drags to fix no-drop cursor on platforms
- Snap-guide boxShadow now conditional: green for playhead, white for edges
- Remove unused setIsDragOver from useTimelineAssetDrop return object
2026-07-10 10:23:43 -07:00
ukimsanov 3ed6b496dc feat(studio): live drop ghost with snapping, row highlight, new-track row, edge auto-scroll 2026-07-10 10:23:42 -07:00
ukimsanov 45b69355cb feat(studio): pure drop-preview resolver with snapping and MIME fallback 2026-07-10 10:23:42 -07:00
ukimsanov 4c15ce8797 feat(studio): drag session registry; block cards draggable to timeline and canvas 2026-07-10 10:23:42 -07:00
ukimsanov f7ab49db10 fix(studio): snap guide glow matches snap type (green playhead, white clip-edge) 2026-07-10 10:23:42 -07:00
ukimsanov a36695a24f feat(studio): clip move/trim snaps to playhead and clip edges, gated by magnet toggle 2026-07-10 10:23:42 -07:00
ukimsanov f63a6c9330 refactor(studio): narrow keydown target via instanceof instead of type assertion 2026-07-10 10:23:41 -07:00
ukimsanov 2cc4f75bb4 feat(studio): timeline snap magnet toggle with N shortcut and persistence 2026-07-10 10:23:41 -07:00
ukimsanov 7552068a80 feat(studio): unified timeline snap targets module (playhead/clip-edge/beat) 2026-07-10 10:23:41 -07:00
Vance Ingalls 6152437d2a chore: release v0.7.49 2026-07-10 09:57:48 -07:00
Vance Ingalls a8f242e615 Merge pull request #2112 from heygen-com/vi/figma-scopes-retry
fix(figma): auth/retry/batch hardening, mapper fidelity, skill routing, setup docs
2026-07-09 19:56:52 -07:00
Vance IngallsandClaude Opus c8eff1a4ba fix(core,cli): figma IMAGE fills dropped, rasterize double-paint, tokens false-success
nodeToHtml routed rasterize eligibility off node.type alone, so a
RECTANGLE/FRAME with an IMAGE fill fell through to the generic <div>
path — fillCss() has no IMAGE case, so it rendered an empty box.
IMAGE-filled nodes now route to rasterize like vectors, regardless of
node.type.

Rasterized nodes (vectors, now image fills too) were also getting
their own fill/corner-radius CSS applied on top of the already-
rendered <img> — a flat color block behind/around the real art,
flattening non-rectangular shapes into rounded rects. decorationCss
now skips background and corner-radius/clip for rasterized nodes;
opacity and effects still apply since those aren't baked into the
export.

tokens.ts's styles-fallback path hardcoded entries: [] regardless of
how many published styles were actually found, so the CLI printed
"recorded published style metadata instead" even when styles()
returned zero results. Added styleCount to the result so the message
reflects what happened, and points at the MCP get_variable_defs
fallback when there's nothing to fall back to.

Co-Authored-By: Claude Opus <noreply@anthropic.com>
2026-07-09 19:23:19 -07:00
Vance Ingalls 8c996100cf Merge pull request #2114 from heygen-com/feat/position-edits-render-reapply
fix(core,producer): render SDK position edits in producer pipeline
2026-07-09 19:22:55 -07:00