fix(sync): offer exports once originals agree; capture proxies after the main screens

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 10:31:48 +00:00
1 parent 2d40a613b9
commit 64b777987d
4 files changed
+17 -7

No files matched your search

+7 -2
View File
@@ -94,7 +94,11 @@ public static class SyncText
public static string Local(SyncEntry entry)
{
if (entry.HasLocalOriginals)
return (entry.Local!.Status & SequenceStatus.ProxiesBuilt) != 0 ? Join(Loc.L("Server.Sync.Originals"), Loc.L("Server.Sync.Proxies")) : Loc.L("Server.Sync.Originals");
{
return (entry.Local!.Status & SequenceStatus.ProxiesBuilt) != 0
? Join(Loc.L("Server.Sync.Originals"), Loc.L("Server.Sync.Proxies"))
: Loc.L("Server.Sync.Originals");
}
return entry.Link is { ProxiesCached: > 0 } ? Loc.L("Server.Sync.Proxies") : Loc.L("Server.Sync.None");
}
@@ -202,7 +206,8 @@ public static class SyncText
actions.AddRange([SyncAction.TakeServer, SyncAction.SaveBoth]);
return actions;
}
if (entry is { Local: not null, Link: { } link })
// Renders travel on request once no original is waiting to go either way.
if (entry is { Local: not null, Link: { MissingRemote: 0, MissingLocal: 0 } link })
{
if (link.ExportsToGet > 0) actions.Add(SyncAction.GetExports);
if (link.ExportsToSend > 0 && rights.CanUpload) actions.Add(SyncAction.SendExports);