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
|
|
@ -522,5 +522,24 @@
|
|||
"settings.captionRefine.desc": "AI ในเครื่องจะแก้เว้นวรรค เครื่องหมายวรรคตอน และคำที่ได้ยินผิด โดยดูจากบรรทัดรอบข้าง",
|
||||
"settings.captionModel": "โมเดลคำบรรยายสด",
|
||||
"settings.captionModel.same": "เหมือนการพิมพ์ด้วยเสียง",
|
||||
"settings.captionModel.desc": "ใช้โมเดลแยกสำหรับคำบรรยายสด โดยโหลดคู่กับโมเดลพิมพ์ด้วยเสียง"
|
||||
"settings.captionModel.desc": "ใช้โมเดลแยกสำหรับคำบรรยายสด โดยโหลดคู่กับโมเดลพิมพ์ด้วยเสียง",
|
||||
"history.favorite": "รายการโปรด",
|
||||
"history.unfavorite": "นำออกจากรายการโปรด",
|
||||
"cloudSync.title": "ซิงก์คลาวด์",
|
||||
"cloudSync.description": "ซิงก์ประวัติ พจนานุกรม การประชุม แท็กบันทึก คำสั่ง และเทมเพลตกับมือถือและเว็บโดยอัตโนมัติ ลบบนอุปกรณ์หนึ่งจะลบทุกที่",
|
||||
"cloudSync.signIn": "เข้าสู่ระบบ",
|
||||
"cloudSync.signedInAs": "เข้าสู่ระบบในชื่อ {{email}}",
|
||||
"cloudSync.noEmail": "ไม่มีอีเมล",
|
||||
"cloudSync.lastSync": "ซิงก์ล่าสุด: {{time}}",
|
||||
"cloudSync.never": "ยังไม่เคย",
|
||||
"cloudSync.upToDate": "อัปโหลดการเปลี่ยนแปลงครบแล้ว",
|
||||
"cloudSync.pending": "รออัปโหลด {{count}} รายการ",
|
||||
"cloudSync.failed": "เซิร์ฟเวอร์ปฏิเสธ {{count}} รายการ — \"ซิงก์ตอนนี้\" จะลองใหม่",
|
||||
"cloudSync.syncNow": "ซิงก์ตอนนี้",
|
||||
"cloudSync.syncing": "กำลังซิงก์…",
|
||||
"cloudSync.signOut": "ออกจากระบบ",
|
||||
"cloudSync.browserPending": "โปรดเข้าสู่ระบบให้เสร็จในเบราว์เซอร์",
|
||||
"cloudSync.signedOut": "ออกจากระบบแล้ว ข้อมูลบนคอมพิวเตอร์นี้ยังอยู่ครบ",
|
||||
"cloudSync.done": "ซิงก์เสร็จแล้ว ({{count}} รายการ)",
|
||||
"cloudSync.doneWithErrors": "ซิงก์เสร็จแล้ว ({{count}} รายการ, ล้มเหลว {{errors}} — จะลองใหม่รอบหน้า)"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue