mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
feat(core): update migration data notification (#12594)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the migration notification with a clearer header and description to better guide users through the data migration process. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -48,11 +48,11 @@ export const MigrationAllDocsDataNotification = () => {
|
||||
return (
|
||||
<div className={styles.migrationDataNotificationContainer}>
|
||||
<div className={styles.migrationDataNotificationTitle}>
|
||||
{t['com.affine.migration-all-docs-notification.title']()}
|
||||
{t['com.affine.migration-all-docs-notification.header']()}
|
||||
</div>
|
||||
<div className={styles.migrationDataNotificationContent}>
|
||||
<MigrationBackgroundCover />
|
||||
{t['com.affine.migration-all-docs-notification.content']()}
|
||||
{t['com.affine.migration-all-docs-notification.desc']()}
|
||||
</div>
|
||||
|
||||
{error && (
|
||||
|
||||
@@ -8163,13 +8163,13 @@ export function useAFFiNEI18N(): {
|
||||
*/
|
||||
["com.affine.recording.stop"](): string;
|
||||
/**
|
||||
* `All docs data needs to be migrated in order to fully utilize its features.`
|
||||
* `Migrate Data to Enhance User Experience`
|
||||
*/
|
||||
["com.affine.migration-all-docs-notification.title"](): string;
|
||||
["com.affine.migration-all-docs-notification.header"](): string;
|
||||
/**
|
||||
* `We upgraded the data format, requiring local data migration to utilize features. Created by and Updated by info is now stored locally. Without the update, you will see the actual status. Perform the upgrade under better network conditions.`
|
||||
* `We are updating the local data to facilitate the recording and filtering of created by and Last edited by information. Please click the “Migrate Data” button and ensure a stable network connection during the process.`
|
||||
*/
|
||||
["com.affine.migration-all-docs-notification.content"](): string;
|
||||
["com.affine.migration-all-docs-notification.desc"](): string;
|
||||
/**
|
||||
* `Migration failed: {{errorMessage}}`
|
||||
*/
|
||||
|
||||
@@ -2047,8 +2047,8 @@
|
||||
"com.affine.recording.start": "Start",
|
||||
"com.affine.recording.dismiss": "Dismiss",
|
||||
"com.affine.recording.stop": "Stop",
|
||||
"com.affine.migration-all-docs-notification.title": "All docs data needs to be migrated in order to fully utilize its features.",
|
||||
"com.affine.migration-all-docs-notification.content": "We upgraded the data format, requiring local data migration to utilize features. Created by and Updated by info is now stored locally. Without the update, you will see the actual status. Perform the upgrade under better network conditions.",
|
||||
"com.affine.migration-all-docs-notification.header": "Migrate Data to Enhance User Experience",
|
||||
"com.affine.migration-all-docs-notification.desc": "We are updating the local data to facilitate the recording and filtering of created by and Last edited by information. Please click the “Migrate Data” button and ensure a stable network connection during the process.",
|
||||
"com.affine.migration-all-docs-notification.error": "Migration failed: {{errorMessage}}",
|
||||
"com.affine.migration-all-docs-notification.button": "Migrate data",
|
||||
"error.INTERNAL_SERVER_ERROR": "An internal error occurred.",
|
||||
|
||||
Reference in New Issue
Block a user