fix: phase 5a fix round 3, desktop: newer copies, readable discard, working-state conflicts, edits kept aside
Owner review 2, R8. Round 2's checkers left five desktop problems: - A workspace copy whose project.chronos a newer Chronos wrote (a format this one does not know) was listed as damaged and offered for Discard. It is now listed as "Newer Chronos" with its own tooltip, named from what of its file still reads. It never opens, is never checked out over, and Remove local copy refuses it with a sentence that says why. - Discard of any copy moved only the files Chronos knows. It now moves every file and folder of the copy aside (only the media are deleted) and removes the folder only when nothing else came into it. - Discarding a damaged copy asked to type its folder's GUID. It now asks for the name the copy is still known by (its file, else the library's index; the project's name, else the sequence's title), else for the number of its files. The heading never shows the id. - A conflict at a path where the working state had gone back to the base value listed the local version's value. The conflict now lists the working state's value in every case. Where the working state already holds the library's value there is nothing to ask: that path takes the library's value in the replayed versions too, so they agree. - EditorSession.ReloadAsync, ResolveConflict and TakeOverAsync threw NewerSettingsException on every reload when an edit was not stored yet and the stored project became a newer Chronos's. The edit is now kept in versions/.replaced (outside the chain, never sent), a toast says so, the pending save is dropped and the newer settings are shown read-only. When the edit cannot be kept aside, the editor stays as it is and nothing is dropped. The SequenceViewModel wiring now has a view-model test: the copy's facts in Open in workspace, the refused-folder toast and its Choose folder action, and the picker for a newer copy and a damaged one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
488b588ad9
commit
e8ea858021
21 files changed
+696
-54
No files matched your search
@@ -271,6 +271,8 @@
|
||||
<data name="Editor.Remote.Outdated" xml:space="preserve"><value>{0} · proxies outdated</value></data>
|
||||
<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.DamagedDiscard" xml:space="preserve"><value>Discard a damaged copy?</value></data>
|
||||
<data name="Editor.RemoveCopy.DamagedTitle" xml:space="preserve"><value>Remove a damaged copy</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>
|
||||
@@ -281,6 +283,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.TypeFiles" xml:space="preserve"><value>Type the number of files, {0}, to confirm</value><comment>long; {0} number of files</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>
|
||||
@@ -389,6 +392,8 @@
|
||||
<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.EditSetAside" xml:space="preserve"><value>Edit kept aside</value></data>
|
||||
<data name="Editor.Workspace.EditSetAsideMessage" xml:space="preserve"><value>A newer Chronos saved this project before your last edit was stored: that edit is kept aside in the project's folder, and the newer settings show read-only.</value><comment>long</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>
|
||||
@@ -413,6 +418,7 @@
|
||||
<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>
|
||||
<data name="Editor.Workspace.State.NewerCopy" xml:space="preserve"><value>Newer Chronos</value><comment>a newer Chronos saved this workspace copy; this one cannot open it</comment></data>
|
||||
<data name="Editor.Workspace.State.Offline" xml:space="preserve"><value>Offline</value></data>
|
||||
<data name="Editor.Workspace.State.Reading" xml:space="preserve"><value>Checking</value><comment>the project's state is being read from the library</comment></data>
|
||||
<data name="Editor.Workspace.State.Syncing" xml:space="preserve"><value>Syncing</value></data>
|
||||
|
||||
Reference in new issue
Block a user