mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
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';
|
||||
|
||||
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',
|
||||
|
||||
Reference in New Issue
Block a user