Repository navigation
Editor: filmstrips, render dialog, faster timeline, media pool, offline preview - #9
Merged
Merged
Conversation
Timeline - Clip filmstrips: the frames under each part of a clip (trim, source offset and speed included), from one strip per file cached in .cache/thumbs/. - Dragging moves the blocks instead of rebuilding the timeline; trimming takes the playhead along so the preview shows the frame you cut on. - Alt while dragging: no snapping. , and . (or Alt+arrows) nudge the selection a frame (Shift: ten), as one undo step. Dragging one of several selected items moves them all. The view scrolls along near its edges. \ or the new button fits the whole video. Shift+Delete ripple-deletes clips. - Clicking an empty spot of a track, of the preview, Esc or the new close button in the inspector deselects. Scrubbing no longer selects text, and the playhead's red handle can be dragged. Render dialog - State chip, percentage, time left, a chip per format or video, the log folded away (opened on errors), Stop that ends the whole render tree and removes only the half-written file. - A result view with a player framed to the output's shape, render time, total size, and a row per file (format, resolution, size, download). Media pool - Clips and Audio tabs with counts, search, cards with duration, a used mark and scrubbing on hover, empty states, audio rows with length and role. - Drag a clip or audio file onto the timeline: clips land on the row and time where they're dropped; audio becomes the music there (or the voice on its row). Editing and saving - Typing in a text field patches the preview directly and rebuilds it once the typing stops. - Undo restores the selection and the playhead, and history is kept per video. - A pending save survives a reload (sendBeacon) and closing the window (main.mjs flushes before it closes); brand edits too. Offline - GSAP ships as a dependency: the preview and every render project load a local copy instead of the CDN, so a blocked or missing connection no longer breaks the preview. Tests - npm run test:ui: editor tests in the installed Chrome or Edge through playwright-core (skipped without one), also run in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lders npm runs scripts through cmd.exe on Windows, which dropped the ^ from --ignore=^/dist. The unanchored /dist then also removed node_modules/gsap/dist, and the packaged app failed at start with "Cannot find module ... gsap.min.js". The packager is now called through its API with anchored patterns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
A round of editor improvements:
,/.frame nudge, dragging several selected items together, auto-scroll at the edges, fit-to-view (\), ripple delete (Shift+Del), and deselecting by clicking an empty spot, Esc or the inspector's × button. Scrubbing no longer selects text.gsap is not defined.npm run test:uidrives the editor in the installed Chrome/Edge viaplaywright-core, and runs in CI.How did you check it?
npm run check(21/21) andnpm test(27/27) pass;npm run test:ui11/11 locallymain.mjs) is not exercised in a running app yettest:uiin CI relies on the runner's preinstalled Chrome; not seen running there yet