feat(desktop): two-way cloud sync with mobile and web
Rewrites the desktop mirror as services/sync/SyncEngine: a persistent outbox, per-account server-clock keyset cursors with paging, pulls that never overwrite unsent local edits, deletions both ways through sync_tombstones and per-row failure isolation. It now covers history titles and favorites, dictionary, every meeting's memos and documents, memo tags, user commands and dictation/meeting templates, and registers the desktop as a device that the phone can disconnect. Fixes shipped defects: the first pull after sign-in fetched nothing, only the first meeting's children were pushed, team meetings leaked into the personal database and lost team_id on re-push, and Realtime never connected because Electron's Node 20 has no global WebSocket (ws is now the transport). Anonymous local-mode records are imported into the first account that signs in. The settings sync section is translated and shows pending/rejected changes; synced screens reload on app:dataChanged.
This commit is contained in:
parent
b5c9ff9f31
commit
0a4f5aee64
49 changed files with 3940 additions and 1033 deletions
|
|
@ -1903,5 +1903,29 @@
|
|||
"settings.captionRefine.desc": "The local AI fixes spacing, punctuation and misheard words in finished captions using the surrounding lines.",
|
||||
"settings.captionModel": "Live caption model",
|
||||
"settings.captionModel.same": "Same as dictation",
|
||||
"settings.captionModel.desc": "Recognises live captions with a separate model, loaded alongside the dictation model."
|
||||
"settings.captionModel.desc": "Recognises live captions with a separate model, loaded alongside the dictation model.",
|
||||
"history.favorite": "Favorite",
|
||||
"history.unfavorite": "Remove favorite",
|
||||
"cloudSync.title": "Cloud sync",
|
||||
"cloudSync.description": "Keeps history, dictionary, meetings, memo tags, commands and templates in step with mobile and web. Deleting on one device deletes everywhere.",
|
||||
"cloudSync.signIn": "Sign in",
|
||||
"cloudSync.signedInAs": "Signed in as {{email}}",
|
||||
"cloudSync.noEmail": "no email",
|
||||
"cloudSync.lastSync": "Last synced: {{time}}",
|
||||
"cloudSync.never": "not yet",
|
||||
"cloudSync.upToDate": "Every change is uploaded",
|
||||
"cloudSync.pending": "{{count}} change(s) waiting to upload",
|
||||
"cloudSync.failed": "{{count}} change(s) rejected by the server — Sync now tries them again",
|
||||
"cloudSync.syncNow": "Sync now",
|
||||
"cloudSync.syncing": "Syncing…",
|
||||
"cloudSync.signOut": "Sign out",
|
||||
"cloudSync.browserPending": "Finish signing in in your browser.",
|
||||
"cloudSync.signedOut": "Signed out. Records on this computer stay where they are.",
|
||||
"cloudSync.done": "Sync complete ({{count}} applied)",
|
||||
"cloudSync.doneWithErrors": "Sync complete ({{count}} applied, {{errors}} failed — retried on the next sync)",
|
||||
"mobile.devices.platform.android": "Android",
|
||||
"mobile.devices.platform.ios": "iPhone / iPad",
|
||||
"mobile.devices.platform.web": "Web browser",
|
||||
"mobile.devices.platform.windows": "Windows desktop app",
|
||||
"mobile.devices.platform.macos": "macOS desktop app"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue