Explain compatibility costs in device review

This commit is contained in:
vorotamoroz committed 2026-10-23 16:32:12 +00:00
1 parent 39ef429d7b
commit 4f7a6b7ae9
6 files changed
+23 -9

No files matched your search

@@ -42,10 +42,10 @@ export const liveSyncProvisionalEnglishMessages = {
Refresh: "Refresh",
"Plug-in version": "Plug-in version",
Platform: "Platform",
"An older plug-in version was detected in other device records: ${versions}. We recommend checking whether those devices need updating.":
"An older plug-in version was detected in other device records: ${versions}. We recommend checking whether those devices need updating.",
"A newer plug-in version was detected in other device records: ${versions}. We recommend checking whether this device needs updating.":
"A newer plug-in version was detected in other device records: ${versions}. We recommend checking whether this device needs updating.",
"An older plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.":
"An older plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.",
"A newer plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.":
"A newer plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.",
Open: "Open",
"Not recorded": "Not recorded",
"Not accepted": "Not accepted",
@@ -59,6 +59,8 @@ export const liveSyncProvisionalEnglishMessages = {
"Joined devices are available after database startup with an active CouchDB or Object Storage connection.",
"Joined devices": "Joined devices",
"Review devices": "Review devices",
"Even compatible plug-in versions can create different Chunks for the same file. When files are rewritten, this can reduce Chunk reuse and increase storage use while preserving file contents. P2P synchronisation may also be unavailable between incompatible versions. Reviewing and aligning the plug-in versions across devices is recommended.":
"Even compatible plug-in versions can create different Chunks for the same file. When files are rewritten, this can reduce Chunk reuse and increase storage use while preserving file contents. P2P synchronisation may also be unavailable between incompatible versions. Reviewing and aligning the plug-in versions across devices is recommended.",
"Forgetting…": "Forgetting…",
"Forgetting the record does not delete Vault files or revoke credentials.":
"Forgetting the record does not delete Vault files or revoke credentials.",
@@ -2,6 +2,7 @@
import { onDestroy, onMount } from "svelte";
import type { GuestDialogProps } from "@/modules/services/LiveSyncUI/svelteDialog";
import DialogHeader from "@/modules/services/LiveSyncUI/components/DialogHeader.svelte";
import InfoNote from "@/modules/services/LiveSyncUI/components/InfoNote.svelte";
import { $msg as translate } from "@/common/translation";
import type {
JoinedDeviceRow,
@@ -121,6 +122,10 @@
{translate("This list shows device information recorded by the remote. It does not show whether a device is online now.")}
</p>
<InfoNote
message="Even compatible plug-in versions can create different Chunks for the same file. When files are rewritten, this can reduce Chunk reuse and increase storage use while preserving file contents. P2P synchronisation may also be unavailable between incompatible versions. Reviewing and aligning the plug-in versions across devices is recommended."
/>
{#if view}
{#if !view.milestonePresent}
<p class="state-message">{translate("This remote does not currently have a record of joined devices.")}</p>
+2 -2
View File
@@ -63,13 +63,13 @@ export function useJoinedDevicesFeature(host: JoinedDevicesHost, notices: Obsidi
message:
direction === "newer"
? $msg(
"A newer plug-in version was detected in other device records: ${versions}. We recommend checking whether this device needs updating.",
"A newer plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.",
{
versions: versions.join(", "),
}
)
: $msg(
"An older plug-in version was detected in other device records: ${versions}. We recommend checking whether those devices need updating.",
"An older plug-in version was detected in other device records: ${versions}. Reviewing and aligning the plug-in versions across devices is recommended.",
{
versions: versions.join(", "),
}