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

+10
View File
@@ -241,6 +241,7 @@
<data name="Editor.Project.Keep" xml:space="preserve"><value>Keep</value></data>
<data name="Editor.Project.Main" xml:space="preserve"><value>Main</value><comment>the name of every sequence's first project, holding the sequence's own settings</comment></data>
<data name="Editor.Project.New" xml:space="preserve"><value>New project…</value></data>
<data name="Editor.Project.Open" xml:space="preserve"><value>Open project…</value></data>
<data name="Editor.Project.RemoveCopy" xml:space="preserve"><value>Remove local copy…</value></data>
<data name="Editor.Project.Rename" xml:space="preserve"><value>Rename…</value></data>
<data name="Editor.Project.SaveVersion" xml:space="preserve"><value>Save version…</value></data>
@@ -268,6 +269,8 @@
<data name="Editor.Remote.ReadOnly" xml:space="preserve"><value>{0} · read-only</value></data>
<data name="Editor.RemoveCopy.Changed" xml:space="preserve"><value>Unsaved changes</value></data>
<data name="Editor.RemoveCopy.Discard" xml:space="preserve"><value>Discard changes</value></data>
<data name="Editor.RemoveCopy.DiscardMessage" xml:space="preserve"><value>The versions not sent and the unsaved changes go to the workspace's trash folder; Chronos does not bring them back.</value><comment>long</comment></data>
<data name="Editor.RemoveCopy.DiscardTitle" xml:space="preserve"><value>Discard the changes of {0}?</value></data>
<data name="Editor.RemoveCopy.Files" xml:space="preserve"><value>Files</value></data>
<data name="Editor.RemoveCopy.Message" xml:space="preserve"><value>The photos copied to this PC are deleted; the project stays in the library and opens again from there.</value><comment>long</comment></data>
<data name="Editor.RemoveCopy.No" xml:space="preserve"><value>None</value></data>
@@ -275,6 +278,7 @@
<data name="Editor.RemoveCopy.SendFirst" xml:space="preserve"><value>Send first</value></data>
<data name="Editor.RemoveCopy.Size" xml:space="preserve"><value>Size</value></data>
<data name="Editor.RemoveCopy.Title" xml:space="preserve"><value>Remove local copy of {0}</value><comment>{0} project name</comment></data>
<data name="Editor.RemoveCopy.TypeName" xml:space="preserve"><value>Type the project name to confirm</value><comment>long</comment></data>
<data name="Editor.RemoveCopy.Unsent" xml:space="preserve"><value>Versions not sent</value></data>
<data name="Editor.RemoveCopy.Yes" xml:space="preserve"><value>Yes</value></data>
<data name="Editor.Render" xml:space="preserve"><value>Render · {0}</value></data>
@@ -379,11 +383,15 @@
<data name="Editor.Workspace.DeleteFailed" xml:space="preserve"><value>Project not deleted</value></data>
<data name="Editor.Workspace.Deleted" xml:space="preserve"><value>Project {0} deleted</value><comment>{0} project name</comment></data>
<data name="Editor.Workspace.Difference" xml:space="preserve"><value>{0} {1} here, {2} in the library</value><comment>long; {0} setting name, {1} value in this workspace, {2} value in the library</comment></data>
<data name="Editor.Workspace.Edited.Message" xml:space="preserve"><value>{0} changed in the library while your edit waited to be saved. The settings below differ: keep your values, or take the library's.</value><comment>long</comment></data>
<data name="Editor.Workspace.InSync" xml:space="preserve"><value>Project in sync</value></data>
<data name="Editor.Workspace.MediaChanged" xml:space="preserve"><value>Library photos changed</value></data>
<data name="Editor.Workspace.NotSent" xml:space="preserve"><value>Version not sent yet</value></data>
<data name="Editor.Workspace.NothingNew" xml:space="preserve"><value>Nothing new to save</value></data>
<data name="Editor.Workspace.Offline" xml:space="preserve"><value>Library offline</value></data>
<data name="Editor.Workspace.OpenCopy" xml:space="preserve"><value>Open</value></data>
<data name="Editor.Workspace.OpenFailed" xml:space="preserve"><value>Project not opened</value></data>
<data name="Editor.Workspace.ReadOnly" xml:space="preserve"><value>Project read-only</value></data>
<data name="Editor.Workspace.RemoveFailed" xml:space="preserve"><value>Local copy not removed</value></data>
<data name="Editor.Workspace.Removed" xml:space="preserve"><value>Local copy removed</value></data>
<data name="Editor.Workspace.Renamed" xml:space="preserve"><value>Project renamed</value></data>
@@ -394,6 +402,7 @@
<data name="Editor.Workspace.State.Ahead" xml:space="preserve"><value>Not sent</value><comment>versions saved here wait to be sent to the library</comment></data>
<data name="Editor.Workspace.State.Behind" xml:space="preserve"><value>Library newer</value><comment>the library has versions the workspace has not taken</comment></data>
<data name="Editor.Workspace.State.Conflict" xml:space="preserve"><value>Conflict</value></data>
<data name="Editor.Workspace.State.Gone" xml:space="preserve"><value>Not in library</value></data>
<data name="Editor.Workspace.State.InSync" xml:space="preserve"><value>In sync</value></data>
<data name="Editor.Workspace.State.MediaRemoved" xml:space="preserve"><value>No media</value></data>
<data name="Editor.Workspace.State.Modified" xml:space="preserve"><value>Changed</value><comment>the project has changes not saved as a version</comment></data>
@@ -402,6 +411,7 @@
<data name="Editor.Workspace.State.Syncing" xml:space="preserve"><value>Syncing</value></data>
<data name="Editor.Workspace.SyncFailed" xml:space="preserve"><value>Sync failed</value></data>
<data name="Editor.Workspace.Synced" xml:space="preserve"><value>Project synced</value></data>
<data name="Editor.Workspace.TookLibrary" xml:space="preserve"><value>Library's values taken</value></data>
<data name="Editor.Workspace.Undo" xml:space="preserve"><value>Undo</value></data>
<data name="Editor.Workspace.UpdateMedia" xml:space="preserve"><value>Update media</value></data>
<data name="Editor.Workspace.Updating" xml:space="preserve"><value>Updating media</value></data>