From 980952a9b430f81f5d9caf150545d529cbdd03ae Mon Sep 17 00:00:00 2001 From: zzj3720 <17165520+zzj3720@users.noreply.github.com> Date: Fri, 21 Mar 2025 09:48:13 +0000 Subject: [PATCH] refactor(editor): remove unused database-block feature flags (#11072) close: BS-2795 --- .../core/src/modules/feature-flag/constant.ts | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) 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',