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.

feat(core): add database full-width feature flag (#8210)

zzj3720aad7b90859e7
diff --git a/packages/common/infra/src/modules/feature-flag/constant.ts b/packages/common/infra/src/modules/feature-flag/constant.ts
index 92c2b8d336..a7632eb640 100644
--- a/packages/common/infra/src/modules/feature-flag/constant.ts
+++ b/packages/common/infra/src/modules/feature-flag/constant.ts
@@ -13,6 +13,13 @@ export const AFFINE_FLAGS = {
configurable: true,
defaultState: true,
},
+ enable_database_full_width: {
+ category: 'blocksuite',
+ bsFlag: 'enable_database_full_width',
+ displayName: 'Database Full Width',
+ description: 'The database will be displayed in full-width mode.',
+ configurable: isNotStableBuild,
+ },
enable_database_attachment_note: {
category: 'blocksuite',
bsFlag: 'enable_database_attachment_note',