summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: add justfile with common commandscashmere2026-07-263-1/+71
| | | | | | Recipes wrap the documented bun/turbo/cargo/docker commands; 'just test <path>' passes through to bun test, 'just dev' ensures .env.local exists. just is added to the nix devshell so it is available after nix develop.
* docs: mark MediaPreview guard done in AGENTS.mdcashmere2026-07-261-4/+3
|
* fix: guard MediaPreview against image assets without urlcashmere2026-07-261-1/+12
| | | | | | | The image branch rendered <Image src={item.url ?? ""}>, crashing the assets panel for any image asset lacking url. It now falls back to thumbnailUrl and then to the existing MediaTypePlaceholder, mirroring the video branch's fallback.
* docs: update AGENTS.md freeze-frame and testing notescashmere2026-07-261-6/+7
|
* feat: single undo step for freeze framecashmere2026-07-264-21/+261
| | | | | | | | | The handler fired four separate commands (asset add, split, move, insert), producing four undo steps. It now builds one BatchCommand and executes it once. The new ShiftSplitRemainderCommand resolves the split's right-side elements lazily at execute() so it can be composed after the split in the batch, and rebuilds the inner move on redo since a re-executed split generates fresh element ids.
* test: preload opencut-wasm mock for bun testcashmere2026-07-262-0/+168
| | | | | | | | The published opencut-wasm package is wasm-pack bundler-target glue whose .wasm ESM import bun's test runner does not instantiate, so any test importing @/wasm failed at module evaluation. Register a faithful pure-TS stand-in (mirrors rust/crates/time semantics) via a bunfig [test] preload before any test module evaluates.
* feat: freeze frame at playheadcashmere2026-07-268-21/+334
| | | | | | | | | | | Enable the timeline toolbar freeze-frame button: capture the composited canvas as PNG, add it as an image media asset, split the video element at the playhead, shift the right part by the freeze duration, and insert a 3-second image element in the gap. Adds RendererManager.captureFrame(), reused by createSnapshot(). Also adds the Nix devshell (flake.nix/flake.lock: bun + nodejs) and AGENTS.md repository guidelines.
* docs: readmeMaze2026-05-171-0/+157
|
* docs: mark repo as archived legacyMaze Winther2026-05-161-165/+3
|
* chore: update copyright yearMaze2026-05-061-2/+2
|
* docs: fix readmeMaze Winther2026-05-021-22/+49
|
* Merge branch 'domain-import'Maze Winther2026-05-022-27/+57
|\
| * docs: move NOTES.md fileMaze Winther2026-05-023-176/+206
| |
* | chore: ignore migrations fileMaze Winther2026-05-022-37/+3
| |
* | chore: remove fileMaze Winther2026-05-021-977/+0
| |
* | refactor: collapse mask definition registry to a single keyed registryMaze Winther2026-05-023-47/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The freeform mask was assembled on every getMaskDefinition("freeform") call, re-spreading params and injecting a wrong SquareIcon placeholder, with a type cast to suppress the structural mismatch. Root cause: MasksRegistry was keyed on BuiltinMaskType, so freeform had no entry. - Re-key MasksRegistry from BuiltinMaskType to MaskType - Register freeform alongside builtins in registerDefaultMasks, with PenToolAddIcon as its menu icon - getMaskDefinition and getMaskDefinitionsForMenu become plain registry lookups with no branching, no manual spreading, no cast - Rename RegisteredBuiltinMaskDefinition to RegisteredMaskDefinition and tighten computeParamUpdate return type to Partial<BaseMaskParams> Co-authored-by: Cursor <cursoragent@cursor.com>
* | refactor: remove dead tangent handle variantMaze Winther2026-05-023-49/+22
| | | | | | | | | | | | | | | | | | | | | | The { kind: "tangent" } MaskHandleId variant was never constructed — neither getFreeformDisplayHandles nor any other code ever produced a tangent handle object. The in/out control-arm branches in computeFreeformParamUpdate, the tangent case in maskHandleIdKey, and the CUSTOM_MASK_TANGENT_SIZE rendering path in mask-handles.tsx were all unreachable. Removed all four dead paths and removed "tangent" from MaskHandleKind. Co-authored-by: Cursor <cursoragent@cursor.com>
* | fix: address review findings in masks substrateMaze Winther2026-05-025-12/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove dead ternary in getPreferredEdges (always returned undefined; the all-false object was never reached by Object.values().some(Boolean)) - Document why drawWithFeather descriptors zero the feather field in the compositor (analytical renderer handles softness itself; zeroing prevents a second JFA feather pass) - Remove legacyType from V30→V31 migration (not consumed anywhere; a down-migration can map type:"freeform" back to "custom" directly) - Add V30→V31 test coverage: skip-guard branches, freeform passthrough, elements without a masks array - Add snap tests for vertical-edge (bottom) and uniform-scale handle paths Co-authored-by: Cursor <cursoragent@cursor.com>
* | docs: capture mask rust migration notesMaze Winther2026-05-021-0/+36
| | | | | | | | Made-with: Cursor
* | refactor: split builtin and freeform masksMaze Winther2026-05-0232-273/+508
| | | | | | | | Made-with: Cursor
* | refactor: type mask handle identifiersMaze Winther2026-05-0211-209/+252
| | | | | | | | Made-with: Cursor
* | refactor: make mask renderer dispatch explicitMaze Winther2026-05-0214-559/+660
| | | | | | | | Made-with: Cursor
* | refactor: split mask snap dispatchMaze Winther2026-05-024-45/+85
| | | | | | | | Made-with: Cursor
* | refactor: animate params over timeMaze Winther2026-05-0232-1134/+1419
| |
* | chore: cleanupMaze Winther2026-05-0210-272/+41
| |
* | refactor: unify element paramsMaze Winther2026-05-0253-1360/+2019
| |
* | chore: switch from biome to eslint + prettier; fix ton of lint issuesMaze Winther2026-05-02159-5221/+5596
| |
* | chore: untrack cargo-tools filesMaze Winther2026-05-021-1/+1
| |
* | chore: remove accidental fileMaze Winther2026-04-262-10/+1
| | | | | | | | Made-with: Cursor
* | fix: restore README header, badges, links, and star chartMaze Winther2026-04-261-24/+47
| | | | | | | | Made-with: Cursor
* | refactor: split animation helpers by domainMaze Winther2026-04-2667-1511/+2718
|\|
| * refactor: split animation helpers by domainMaze Winther2026-04-2643-1322/+1628
| |
| * refactor: centralize editor interaction stateMaze Winther2026-04-2538-4754/+5673
| | | | | | | | | | | | | | | | Move timeline and preview gestures into dedicated controllers so hooks stay thin around editor state and DOM events. This also routes drag and playback synchronization through manager APIs and reuses persistent wasm surfaces so scrubbing, seeking, and preview rendering stay in sync. Made-with: Cursor
| * fix: surface unsupported video codec on import, fix Input leaksMaze Winther2026-04-254-144/+165
| |
| * perf: improve rendering performance by ~20xMaze Winther2026-04-2211-322/+745
| |
* | refactor: thinner hooksMaze Winther2026-04-2648-4244/+5335
| |
* | fix: linterMaze Winther2026-04-262-16/+23
| |
* | fix: follow-up to prev commitMaze Winther2026-04-261-1/+2
| |
* | fix: model editor time as wasm MediaTime ticks end-to-endMaze Winther2026-04-2679-511/+1589
|/
* chore: remove stale filesMaze Winther2026-04-224-699/+0
|
* chore: bump opencut-wasm versionMaze Winther2026-04-223-3/+3
|
* fix: wasm WebGL only until WebGPU is fixedMaze Winther2026-04-221-9/+10
|
* refactor: migration run() and pure v1-to-v2 transformMaze Winther2026-04-2236-828/+990
|
* chore: formattingMaze Winther2026-04-227-37/+54
|
* fix: project loading thingMaze Winther2026-04-212-17/+43
|
* chore: delete ffmpeg public assetsMaze Winther2026-04-213-26/+1
|
* docs: ts conventions to agents.mdMaze Winther2026-04-211-0/+14
|
* refactor: restructure files to their domains, new preview overlay system, ↵Maze Winther2026-04-20491-2372/+3565
| | | | and dep graph
* fix: WebGL frame rendering and opencut-wasm 0.2.8Maze Winther2026-04-1914-118/+329
|
* docs: add prerequisites for rustMaze Winther2026-04-191-0/+13
|