Repository navigation
Video editor saves: name after the source, later saves are versions (round 5, S1–S4) - #2
Merged
Merged
Conversation
- S1: exports of a file the host opened are named after it: video.mp4 gives "video (edit).mp4". Without a source, the project's name as before. - S2: the editor reports unsaved changes to the host (opencut:dirty true after an edit, false after the host confirms a save); only changes of state are sent; stopped with the editor. - S3: the first export is a Save As, so the host asks for the name once. Later exports send the name the host stored, with no prompt, so the host saves a new version of that file. The host's saved message may echo its stored name; without it, the name that was sent is used. - S4: the naming and save-request rules are pure (lib/utransfer-names.ts, no imports) and tested (8 tests). The rest of the bridge needs a browser and is checked by the headless run of the release. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Two exports: the first is a Save As (named after the source, saveAs true); the second is a version of the same file (saveAs false, the stored name). The parent confirms saves with the name stored, and the check asserts dirty true before and false after the save. Co-Authored-By: Claude Haiku 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.
Round 5, S1–S4 of the plan in utransfer (docs/plans/ustorage-round5.md).
What changed
opencut:dirty) and clears them when the host confirms a save.lib/utransfer-names.ts).Deviations
opencut:saved. The current host does not echo it yet; the fork falls back to the name it sent (PR 3 adds the echo).opencut:save-request). The plan does not describe it, so it is not added here; see the round-5 notes.Not verified
🤖 Generated with Claude Code