fix(workspace): settle only the conflict shown, keep what a choice replaces, desktop gaps of phase 5a

Review 2, phase 5a, fix round 1 (desktop and the engine side of Resolve and Restore).

- Resolve applies Keep mine / Take the library's only to the conflict the dialog listed:
  when the head or what differs moved since, the new conflict is recorded and asked again;
  Sync re-works a pending conflict instead of re-showing a stale list. Take the library's
  first saves uncommitted changes as a version, and the editor takes it as one undo step
  (toast Undo, Ctrl+Z) that brings back only the settings both changed.
- Restore saves unsaved changes as a version also while a conflict waits; a restore that
  changed nothing, or was undone, no longer marks the next version as a Restore.
- The editor's saves and merges of a workspace project merge positions photo by photo
  (portable form) and ask where both sides changed a setting, never deciding for ours.
- Read-only after a pull is signalled, and no save that can never be stored is left behind.
- The chip is read again after edits; a background conflict waits for the open dialog;
  Send first and Delete show the conflict they met; Discard changes needs the typed name.
- Open project... reaches the library's other projects (Save both's sibling, also from
  its toast); copies whose project or sequence is gone read Not in library and can be
  removed from the picker's Workspace rows; a delete whose local copy stays says so.
- A workspace folder inside a library is refused before anything is written.
- Conflict and Compare lines name heroes, exclusions and keyframes; History shows the PC
  name alone, never the program's prefixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-03 10:22:17 +01:00
1 parent 50e28fd63d
commit 8027d84f7e
28 files changed
+1321 -134

No files matched your search

+6
View File
@@ -261,6 +261,7 @@
<data name="Tooltips.Editor.Project.Keep" xml:space="preserve"><value>Keep the project as it is</value></data>
<data name="Tooltips.Editor.Project.Menu" xml:space="preserve"><value>Project {0} ({1}): save a version, sync, history, other projects and the local copy</value><comment>{0} project name, {1} its state</comment></data>
<data name="Tooltips.Editor.Project.New" xml:space="preserve"><value>Make another project of this sequence, starting from this one (for example a vertical cut for social media)</value></data>
<data name="Tooltips.Editor.Project.Open" xml:space="preserve"><value>Open another project of this sequence: one in the library, or a new one</value><comment>long</comment></data>
<data name="Tooltips.Editor.Project.RemoveCopy" xml:space="preserve"><value>Free this PC's space: delete the photos copied to the workspace; the project stays in the library</value></data>
<data name="Tooltips.Editor.Project.Rename" xml:space="preserve"><value>Give this project another name, here and in the library</value></data>
<data name="Tooltips.Editor.Project.SaveVersion" xml:space="preserve"><value>Keep the project as it is now as a version of its history, with an optional note (Ctrl+S)</value></data>
@@ -275,6 +276,7 @@
<data name="Tooltips.Editor.Remote" xml:space="preserve"><value>Edited with proxies on this PC; changes are saved on {0} and analyses and renders run there</value></data>
<data name="Tooltips.Editor.RemoteReadOnly" xml:space="preserve"><value>Shown from {0}; your account can look at this sequence but not change it</value></data>
<data name="Tooltips.Editor.RemoveCopy.Discard" xml:space="preserve"><value>Remove the copy without sending what is not in the library; that work is kept aside in the workspace's trash</value></data>
<data name="Tooltips.Editor.RemoveCopy.Keep" xml:space="preserve"><value>Keep the local copy as it is</value></data>
<data name="Tooltips.Editor.RemoveCopy.Remove" xml:space="preserve"><value>Delete the workspace copy; every version is in the library</value></data>
<data name="Tooltips.Editor.RemoveCopy.SendFirst" xml:space="preserve"><value>Save and send what is not in the library yet, then remove the copy</value></data>
<data name="Tooltips.Editor.Render" xml:space="preserve"><value>Render with the selected preset; progress in the job bar · Ctrl+R</value></data>
@@ -326,10 +328,12 @@
<data name="Tooltips.Editor.Workspace.KeepMine" xml:space="preserve"><value>Keep your values of these settings; they are sent to the library</value></data>
<data name="Tooltips.Editor.Workspace.Later" xml:space="preserve"><value>Decide later and keep editing; Sync asks again</value></data>
<data name="Tooltips.Editor.Workspace.MediaChanged" xml:space="preserve"><value>Photos were added to or removed from this sequence in the library after the workspace copied it</value></data>
<data name="Tooltips.Editor.Workspace.OpenCopy" xml:space="preserve"><value>Open project {0}, which holds your versions</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.SaveBoth" xml:space="preserve"><value>Keep the library's values in this project, and send yours to a new project “{0}”</value><comment>{0} the new project's name</comment></data>
<data name="Tooltips.Editor.Workspace.State.Ahead" xml:space="preserve"><value>Versions saved here that wait to be sent to the library: {0}. Sync sends them</value><comment>{0} number of versions</comment></data>
<data name="Tooltips.Editor.Workspace.State.Behind" xml:space="preserve"><value>Versions in the library this workspace has not taken yet: {0}. Sync takes them</value><comment>{0} number of versions</comment></data>
<data name="Tooltips.Editor.Workspace.State.Conflict" xml:space="preserve"><value>You and the library changed the same settings: Sync to choose which to keep</value></data>
<data name="Tooltips.Editor.Workspace.State.Gone" xml:space="preserve"><value>The library no longer has this project or its sequence: nothing more can be sent; remove the local copy (its work is kept aside)</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.State.InSync" xml:space="preserve"><value>Every version of this project is in the library, and nothing changed since the last one</value></data>
<data name="Tooltips.Editor.Workspace.State.MediaRemoved" xml:space="preserve"><value>The workspace holds no photos of this project: opening it copies them again</value></data>
<data name="Tooltips.Editor.Workspace.State.Modified" xml:space="preserve"><value>Changes not saved as a version yet: Save version (Ctrl+S) keeps them in the history</value></data>
@@ -338,7 +342,9 @@
<data name="Tooltips.Editor.Workspace.State.Reading" xml:space="preserve"><value>Asking the library where this project stands</value></data>
<data name="Tooltips.Editor.Workspace.State.Syncing" xml:space="preserve"><value>Taking the library's new versions and sending yours</value></data>
<data name="Tooltips.Editor.Workspace.TakeHome" xml:space="preserve"><value>Use the library's values of these settings in the editor</value></data>
<data name="Tooltips.Editor.Workspace.TakeHomeUndo" xml:space="preserve"><value>Use the library's values of these settings; Ctrl+Z brings yours back</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.Undo" xml:space="preserve"><value>Bring back the project as it was before the restore</value></data>
<data name="Tooltips.Editor.Workspace.UndoTake" xml:space="preserve"><value>Bring back your values of the settings the library's replaced</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.UpdateMedia" xml:space="preserve"><value>Copy the library's frames into the workspace again; the frames you excluded or keyed follow their photos</value></data>
<data name="Tooltips.Import.Again" xml:space="preserve"><value>Import photos already in the archive again; nothing is overwritten</value></data>
<data name="Tooltips.Import.Archive" xml:space="preserve"><value>Copy into this PC's archive with the naming templates · {0}</value></data>