Distinguish absent and unreadable remote settings during setup

Use typed Commonlib outcomes to guide Fetch and Rebuild without treating a new remote as a failed read. Preserve automatic synchronisation choices when scheduled initialisation is cancelled.
This commit is contained in:
vorotamoroz
2026-08-06 08:34:41 +00:00
parent 6a46966957
commit b42df389fb
19 changed files with 489 additions and 155 deletions
@@ -141,10 +141,11 @@
</Instruction>
<Instruction>
<ExtraItems title={translateMessage("Advanced")}>
<Check
title={translateMessage("Prevent fetching configuration from server")}
bind:value={preventFetchingConfig}
/>
<Check title={translateMessage("Use this device's settings")} bind:value={preventFetchingConfig}>
<InfoNote>
{translateMessage("Skips checking and applying synchronisation settings from the remote.")}
</InfoNote>
</Check>
</ExtraItems>
</Instruction>
<UserDecisions>
@@ -129,7 +129,9 @@
{#if !isP2P}
<Instruction>
<ExtraItems title={msg("Advanced")}>
<Check title={msg("Prevent fetching configuration from server")} bind:value={preventFetchingConfig} />
<Check title={msg("Use this device's settings")} bind:value={preventFetchingConfig}>
<InfoNote>{msg("Skips checking and applying synchronisation settings from the remote.")}</InfoNote>
</Check>
</ExtraItems>
</Instruction>
{/if}