mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore: assign todos (#7297)
This commit is contained in:
@@ -68,7 +68,7 @@ class Storage<T extends object> {
|
||||
}
|
||||
} else {
|
||||
const fullConfig = this.get();
|
||||
// TODO: handle key not found, set default value
|
||||
// TODO(@catsjuice): handle key not found, set default value
|
||||
// if (!(key in fullConfig)) {}
|
||||
return fullConfig[key];
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ export function setupEditorFlags(docCollection: DocCollection) {
|
||||
});
|
||||
|
||||
// override this flag in app settings
|
||||
// TODO: need a better way to manage block suite flags
|
||||
// TODO(@eyhn): need a better way to manage block suite flags
|
||||
docCollection.awarenessStore.setFlag('enable_synced_doc_block', true);
|
||||
} catch (err) {
|
||||
logger.error('syncEditorFlags', err);
|
||||
|
||||
@@ -53,7 +53,6 @@ export function checkWorkspaceCompatibility(
|
||||
return MigrationPoint.BlockVersion;
|
||||
}
|
||||
|
||||
// TODO: Catch compatibility error from blocksuite to show upgrade page.
|
||||
// Temporarily follow the check logic of blocksuite.
|
||||
if ((docCollection.meta.docs?.length ?? 0) <= 1) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user