refactor(editor): remove unused database-block feature flags (#11072)
close: BS-2795
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import type { FlagInfo } from './types';
|
import type { FlagInfo } from './types';
|
||||||
|
|
||||||
const isNotStableBuild = BUILD_CONFIG.appBuildType !== 'stable';
|
// const isNotStableBuild = BUILD_CONFIG.appBuildType !== 'stable';
|
||||||
const isDesktopEnvironment = BUILD_CONFIG.isElectron;
|
const isDesktopEnvironment = BUILD_CONFIG.isElectron;
|
||||||
const isCanaryBuild = BUILD_CONFIG.appBuildType === 'canary';
|
const isCanaryBuild = BUILD_CONFIG.appBuildType === 'canary';
|
||||||
const isMobile = BUILD_CONFIG.isMobileEdition;
|
const isMobile = BUILD_CONFIG.isMobileEdition;
|
||||||
@@ -26,24 +26,6 @@ export const AFFINE_FLAGS = {
|
|||||||
configurable: false,
|
configurable: false,
|
||||||
defaultState: true,
|
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: {
|
enable_block_query: {
|
||||||
category: 'blocksuite',
|
category: 'blocksuite',
|
||||||
bsFlag: 'enable_block_query',
|
bsFlag: 'enable_block_query',
|
||||||
|
|||||||
Reference in New Issue
Block a user