perf(core): only full sync before exporting (#10408)

This commit is contained in:
liuyi
2025-02-25 12:41:56 +08:00
committed by GitHub
parent c644a46b8d
commit e5e5c0a8ba
8 changed files with 222 additions and 120 deletions

View File

@@ -195,10 +195,26 @@ export function useAFFiNEI18N(): {
* `Export`
*/
Export(): string;
/**
* `Export (Offline)`
*/
["Export(Offline)"](): string;
/**
* `Full Sync`
*/
["Full Sync"](): string;
/**
* `You can export the entire Workspace data for backup, and the exported data can be re-imported.`
*/
["Export Description"](): string;
/**
* `You can export the entire Workspace data for backup, and the exported data can be re-imported, but you are offline now which will cause the exported data not up to date.`
*/
["Export Description(Offline)"](): string;
/**
* `You can export the entire Workspace data for backup, and the exported data can be re-imported, but you must sync all cloud data first to keep your exported data up to date.`
*/
["Full Sync Description"](): string;
/**
* `Export failed`
*/
@@ -2675,6 +2691,10 @@ export function useAFFiNEI18N(): {
* `Workspace name`
*/
["com.affine.nameWorkspace.subtitle.workspace-name"](): string;
/**
* `Workspace type`
*/
["com.affine.nameWorkspace.subtitle.workspace-type"](): string;
/**
* `Name your workspace`
*/
@@ -3513,11 +3533,11 @@ export function useAFFiNEI18N(): {
*/
["com.affine.payment.cloud.free.benefit.g2-5"](): string;
/**
* `Open-source under MIT license.`
* `Local Editor under MIT license.`
*/
["com.affine.payment.cloud.free.description"](): string;
/**
* `FOSS + Basic`
* `Local FOSS + Cloud Basic`
*/
["com.affine.payment.cloud.free.name"](): string;
/**

View File

@@ -39,7 +39,11 @@
"Enable AFFiNE Cloud Description": "If enabled, the data in this workspace will be backed up and synchronised via AFFiNE Cloud.",
"Enable cloud hint": "The following functions rely on AFFiNE Cloud. All data is stored on the current device. You can enable AFFiNE Cloud for this workspace to keep data in sync with the cloud.",
"Export": "Export",
"Export(Offline)": "Export (Offline)",
"Full Sync": "Full Sync",
"Export Description": "You can export the entire Workspace data for backup, and the exported data can be re-imported.",
"Export Description(Offline)": "You can export the entire Workspace data for backup, and the exported data can be re-imported. But you are offline now which will cause the exported data not up to date.",
"Full Sync Description": "You can export the entire Workspace data for backup, and the exported data can be re-imported. But you must sync all cloud data first to keep your exported data up to date.",
"Export failed": "Export failed",
"Export success": "Export success",
"Export to HTML": "Export to HTML",