feat: add feature flag for new dnd (#8949)

This commit is contained in:
Saul-Mirone 2024-11-28 03:42:02 +00:00
parent 2eae89d031
commit f780316f8b
No known key found for this signature in database
GPG Key ID: 0D941B4A9125B742
3 changed files with 14 additions and 2 deletions

View File

@ -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',

View File

@ -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,

View File

@ -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",