mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 22:07:09 +08:00
chore(editor): add edgeless scribbled style feature flag (#11127)
Closes: [BS-2805](https://linear.app/affine-design/issue/BS-2805/下掉线条样式切换功能,需添加-feature-flag)
This commit is contained in:
@@ -264,6 +264,16 @@ export const AFFINE_FLAGS = {
|
||||
configurable: isCanaryBuild,
|
||||
defaultState: false,
|
||||
},
|
||||
enable_edgeless_scribbled_style: {
|
||||
category: 'blocksuite',
|
||||
bsFlag: 'enable_edgeless_scribbled_style',
|
||||
displayName:
|
||||
'com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.name',
|
||||
description:
|
||||
'com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.description',
|
||||
configurable: isCanaryBuild,
|
||||
defaultState: false,
|
||||
},
|
||||
} satisfies { [key in string]: FlagInfo };
|
||||
|
||||
// oxlint-disable-next-line no-redeclare
|
||||
|
||||
@@ -5583,6 +5583,14 @@ export function useAFFiNEI18N(): {
|
||||
* `Once enabled, the editor will be displayed in RTL mode.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-editor-rtl.description"](): string;
|
||||
/**
|
||||
* `Edgeless scribbled style`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.name"](): string;
|
||||
/**
|
||||
* `Once enabled, you can use scribbled style in edgeless mode.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.description"](): string;
|
||||
/**
|
||||
* `Only an owner can edit the workspace avatar and name. Changes will be shown for everyone.`
|
||||
*/
|
||||
|
||||
@@ -1392,6 +1392,8 @@
|
||||
"com.affine.settings.workspace.experimental-features.enable-audio-block.description": "Audio block allows you to play audio files globally and add notes to them.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-editor-rtl.name": "Editor RTL",
|
||||
"com.affine.settings.workspace.experimental-features.enable-editor-rtl.description": "Once enabled, the editor will be displayed in RTL mode.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.name": "Edgeless scribbled style",
|
||||
"com.affine.settings.workspace.experimental-features.enable-edgeless-scribbled-style.description": "Once enabled, you can use scribbled style in edgeless mode.",
|
||||
"com.affine.settings.workspace.not-owner": "Only an owner can edit the workspace avatar and name. Changes will be shown for everyone.",
|
||||
"com.affine.settings.workspace.preferences": "Preference",
|
||||
"com.affine.settings.workspace.billing": "Team's Billing",
|
||||
|
||||
Reference in New Issue
Block a user