fix(copies): close the third verification round and add the match baselines
Integrate trashes a server photo only for the sequence's owner or an admin, a Details stage stops instead of overwriting a server change the user had kept this PC's value against, a merge retried after a stop plans again when work reached the other sequence, detection keeps pairs answered while it ran, and a sync row whose match the server deleted offers Keep here, Upload again and To trash. The Integrate and merge logs say in the UI language why a version was kept. The edit-picker-twins capture scene showed no Twin chip, since a capture has no workspace: it now lists sample workspace projects of the sample matches. The screenshot baselines gain the 38 Matches screens and take the Matches chip, the three Settings > Server rows, the longer priority list and 1.2.0. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e6110d329
commit
3c99badcfe
96 files changed
+910
-147
No files matched your search
@@ -633,6 +633,16 @@ public sealed class SyncService
|
||||
var absorbed = CopyPayload.Moved(plannedRemote, freshRemote);
|
||||
if (absorbed.Count > 0 && !freshRemote.SameAs(final))
|
||||
{
|
||||
// Title, tags, rating and notes the user decided as this PC's (the plan had a line there and the final payload
|
||||
// keeps this PC's value) are never taken over from a server edit made since: no analysis moves them, and they
|
||||
// keep no history. The pair goes back to Linked and the sync shows the conflict. Settings paths are absorbed.
|
||||
var metadata = absorbed.Where(p => p.StartsWith(SyncRules.MetadataPath, StringComparison.Ordinal)).ToList();
|
||||
if (metadata.Count > 0)
|
||||
{
|
||||
var lined = CopyPayload.Moved(plannedLocal, plannedRemote);
|
||||
var notLocal = CopyPayload.Moved(plannedLocal, finalPortable);
|
||||
if (metadata.Any(p => lined.Contains(p) && !notLocal.Contains(p))) throw DetailsChanged();
|
||||
}
|
||||
final = CopyPayload.Merge(final, freshRemote, absorbed.ToDictionary(p => p, _ => CopySide.Other, StringComparer.Ordinal),
|
||||
[.. absorbed.Select(p => new DetailLine(p, null, null))]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user