mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
feat(editor): add block meta feature flag (#10548)
This commit is contained in:
@@ -103,6 +103,16 @@ export const AFFINE_FLAGS = {
|
||||
configurable: false,
|
||||
defaultState: true,
|
||||
},
|
||||
enable_block_meta: {
|
||||
category: 'blocksuite',
|
||||
bsFlag: 'enable_block_meta',
|
||||
displayName:
|
||||
'com.affine.settings.workspace.experimental-features.enable-block-meta.name',
|
||||
description:
|
||||
'com.affine.settings.workspace.experimental-features.enable-block-meta.description',
|
||||
configurable: isCanaryBuild,
|
||||
defaultState: false,
|
||||
},
|
||||
enable_emoji_folder_icon: {
|
||||
category: 'affine',
|
||||
displayName:
|
||||
|
||||
@@ -208,11 +208,11 @@ export function useAFFiNEI18N(): {
|
||||
*/
|
||||
["Export Description"](): string;
|
||||
/**
|
||||
* `You can export the entire Workspace data for backup, and the exported data can be re-imported, but you are offline now which will cause the exported data not up to date.`
|
||||
* `You can export the entire Workspace data for backup, and the exported data can be re-imported. But you are offline now which will cause the exported data not up to date.`
|
||||
*/
|
||||
["Export Description(Offline)"](): string;
|
||||
/**
|
||||
* `You can export the entire Workspace data for backup, and the exported data can be re-imported, but you must sync all cloud data first to keep your exported data up to date.`
|
||||
* `You can export the entire Workspace data for backup, and the exported data can be re-imported. But you must sync all cloud data first to keep your exported data up to date.`
|
||||
*/
|
||||
["Full Sync Description"](): string;
|
||||
/**
|
||||
@@ -5361,6 +5361,14 @@ export function useAFFiNEI18N(): {
|
||||
* `Enables mind map import.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-mind-map-import.description"](): string;
|
||||
/**
|
||||
* `Block Meta`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-block-meta.name"](): string;
|
||||
/**
|
||||
* `Once enabled, all blocks will have created time, updated time, created by and updated by.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-block-meta.description"](): string;
|
||||
/**
|
||||
* `Emoji Folder Icon`
|
||||
*/
|
||||
|
||||
@@ -1338,6 +1338,8 @@
|
||||
"com.affine.settings.workspace.experimental-features.enable-ai-onboarding.description": "Enables AI onboarding.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-mind-map-import.name": "Mind Map Import",
|
||||
"com.affine.settings.workspace.experimental-features.enable-mind-map-import.description": "Enables mind map import.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-block-meta.name": "Block Meta",
|
||||
"com.affine.settings.workspace.experimental-features.enable-block-meta.description": "Once enabled, all blocks will have created time, updated time, created by and updated by.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-emoji-folder-icon.name": "Emoji Folder Icon",
|
||||
"com.affine.settings.workspace.experimental-features.enable-emoji-folder-icon.description": "Once enabled, you can use an emoji as the folder icon. When the first character of the folder name is an emoji, it will be extracted and used as its icon.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-emoji-doc-icon.name": "Emoji Doc Icon",
|
||||
|
||||
Reference in New Issue
Block a user