Skip to content

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.

refactor(editor): remove unused database-block feature flags (#11072)

zzj3720980952a9b430
diff --git a/packages/frontend/core/src/modules/feature-flag/constant.ts b/packages/frontend/core/src/modules/feature-flag/constant.ts
index 6aff542283..42d9a9e3cb 100644
--- a/packages/frontend/core/src/modules/feature-flag/constant.ts
+++ b/packages/frontend/core/src/modules/feature-flag/constant.ts
@@ -1,6 +1,6 @@
import type { FlagInfo } from './types';
-const isNotStableBuild = BUILD_CONFIG.appBuildType !== 'stable';
+// const isNotStableBuild = BUILD_CONFIG.appBuildType !== 'stable';
const isDesktopEnvironment = BUILD_CONFIG.isElectron;
const isCanaryBuild = BUILD_CONFIG.appBuildType === 'canary';
const isMobile = BUILD_CONFIG.isMobileEdition;
@@ -26,24 +26,6 @@ export const AFFINE_FLAGS = {
configurable: false,
defaultState: true,
},
- enable_database_full_width: {
- category: 'blocksuite',
- bsFlag: 'enable_database_full_width',
- displayName:
- 'com.affine.settings.workspace.experimental-features.enable-database-full-width.name',
- description:
- 'com.affine.settings.workspace.experimental-features.enable-database-full-width.description',
- configurable: isCanaryBuild,
- },
- enable_database_attachment_note: {
- category: 'blocksuite',
- bsFlag: 'enable_database_attachment_note',
- displayName:
- 'com.affine.settings.workspace.experimental-features.enable-database-attachment-note.name',
- description:
- 'com.affine.settings.workspace.experimental-features.enable-database-attachment-note.description',
- configurable: isNotStableBuild,
- },
enable_block_query: {
category: 'blocksuite',
bsFlag: 'enable_block_query',