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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: add feature flag for new dnd (#8949)
Saul-Mironef780316f8bbb
diff --git a/packages/common/infra/src/modules/feature-flag/constant.ts b/packages/common/infra/src/modules/feature-flag/constant.tsindex 07fb240bba..385f935ae1 100644--- a/packages/common/infra/src/modules/feature-flag/constant.ts+++ b/packages/common/infra/src/modules/feature-flag/constant.ts@@ -16,6 +16,16 @@ export const AFFINE_FLAGS = {configurable: true,defaultState: true,},+ enable_new_dnd: {+ category: 'blocksuite',+ bsFlag: 'enable_new_dnd',+ displayName:+ 'com.affine.settings.workspace.experimental-features.enable-new-dnd.name',+ description:+ 'com.affine.settings.workspace.experimental-features.enable-new-dnd.description',+ configurable: isCanaryBuild,+ defaultState: false,+ },enable_database_full_width: {category: 'blocksuite',bsFlag: 'enable_database_full_width',diff --git a/packages/frontend/i18n/src/i18n-completenesses.json b/packages/frontend/i18n/src/i18n-completenesses.jsonindex 47ed394c98..50c768158d 100644--- a/packages/frontend/i18n/src/i18n-completenesses.json+++ b/packages/frontend/i18n/src/i18n-completenesses.json@@ -8,11 +8,11 @@"es-AR": 14,"es-CL": 15,"es": 13,- "fr": 67,+ "fr": 66,"hi": 2,"it-IT": 1,"it": 1,- "ja": 100,+ "ja": 99,"ko": 79,"pl": 0,"pt-BR": 86,diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.jsonindex 5a59d5051e..6993e7c671 100644--- a/packages/frontend/i18n/src/resources/en.json+++ b/packages/frontend/i18n/src/resources/en.json@@ -1201,6 +1201,8 @@"com.affine.settings.workspace.experimental-features.prompt-warning-title": "WARNING MESSAGE","com.affine.settings.workspace.experimental-features.enable-ai.name": "Enable AI","com.affine.settings.workspace.experimental-features.enable-ai.description": "Enable or disable ALL AI features.",+ "com.affine.settings.workspace.experimental-features.enable-new-dnd.name": "Enable New DND",+ "com.affine.settings.workspace.experimental-features.enable-new-dnd.description": "Enable new drag and drop features.","com.affine.settings.workspace.experimental-features.enable-database-full-width.name": "Database Full Width","com.affine.settings.workspace.experimental-features.enable-database-full-width.description": "The database will be displayed in full-width mode.","com.affine.settings.workspace.experimental-features.enable-database-attachment-note.name": "Database Attachment Note",