chore: assign todos (#7297)

This commit is contained in:
forehalo
2024-06-21 07:54:14 +00:00
parent e085b927f6
commit 7b3673ae82
121 changed files with 137 additions and 157 deletions

View File

@@ -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];
}

View File

@@ -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);

View File

@@ -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 {