There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: enable databse feature flag (#1895)
Yifeng Wang23e33a606152
diff --git a/apps/web/src/atoms/public-workspace/index.ts b/apps/web/src/atoms/public-workspace/index.tsindex 6f3e71f976..76924ecc8e 100644--- a/apps/web/src/atoms/public-workspace/index.ts+++ b/apps/web/src/atoms/public-workspace/index.ts@@ -23,7 +23,7 @@ function createPublicWorkspace();blockSuiteWorkspace.awarenessStore.setFlag('enable_block_hub', false);blockSuiteWorkspace.awarenessStore.setFlag('enable_set_remote_flag', false);- blockSuiteWorkspace.awarenessStore.setFlag('enable_database', false);+ blockSuiteWorkspace.awarenessStore.setFlag('enable_database', true);blockSuiteWorkspace.awarenessStore.setFlag('enable_edgeless_toolbar', false);blockSuiteWorkspace.awarenessStore.setFlag('enable_slash_menu', false);blockSuiteWorkspace.awarenessStore.setFlag('enable_drag_handle', false);diff --git a/apps/web/src/pages/workspace/[workspaceId]/[pageId].tsx b/apps/web/src/pages/workspace/[workspaceId]/[pageId].tsxindex 8e3cad4c31..d483e5bb4f 100644--- a/apps/web/src/pages/workspace/[workspaceId]/[pageId].tsx+++ b/apps/web/src/pages/workspace/[workspaceId]/[pageId].tsx@@ -20,7 +20,7 @@ import type { BlockSuiteWorkspace, NextPageWithLayout } from '../../../shared';function enableFullFlags(blockSuiteWorkspace: BlockSuiteWorkspace) {blockSuiteWorkspace.awarenessStore.setFlag('enable_set_remote_flag', false);- blockSuiteWorkspace.awarenessStore.setFlag('enable_database', false);+ blockSuiteWorkspace.awarenessStore.setFlag('enable_database', true);blockSuiteWorkspace.awarenessStore.setFlag('enable_slash_menu', true);blockSuiteWorkspace.awarenessStore.setFlag('enable_edgeless_toolbar', true);blockSuiteWorkspace.awarenessStore.setFlag('enable_block_hub', true);