mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
75ca3379eb
What: the canvas-side editor components of the NLE stack, shipped unwired: CanvasContextMenu (right-click menu for canvas selections), canvasContextMenuZOrder (bring-forward/send-backward z-order patch computation, with tests), and domEditNudge (arrow-key nudge step math, with tests). Why: reviewable on their own — the z-order rules and nudge semantics are the substance; the one-line mounting comes with the integration wiring PR. How: new files only, compiled and tested against current main (no glue changes). Because nothing mounts CanvasContextMenu yet and two exports have their first consumers in the wiring PR, .fallowrc.jsonc gains TEMP(studio-dnd) entries (entry registration + ignoreExports) — the integration wiring PR (studio-dnd/pr07-nle-integration-wiring) removes every one of them in the same diff that wires the components in. Test plan: bunx vitest run on canvasContextMenuZOrder.test.ts and domEditNudge.test.ts; tsc --noEmit in packages/studio; fallow audit --base origin/main clean.