mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
feat(core): add configuration for experimental features (#7699)
close AF-1218 AF-1219
Added configuration for experimental features
Example:
```
const blocksuiteFeatureFlags = {
...
enable_expand_database_block: {
displayName: 'Enable Expand Database Block',
description: 'Allows expanding database blocks for better view and management.',
feedbackType: 'discord',
displayChannel: ['stable', 'beta', 'canary', 'internal'],
restrictedPlatform: 'client'
},
enable_ai_onboarding: {
displayName: 'AI Onboarding',
description: 'Enables AI onboarding.',
displayChannel: [],
defaultState: true,
},
...
}
```

This commit is contained in:
@@ -1247,6 +1247,7 @@
|
||||
"com.affine.settings.workspace.experimental-features": "Experimental features",
|
||||
"com.affine.settings.workspace.experimental-features.get-started": "Get started",
|
||||
"com.affine.settings.workspace.experimental-features.header.plugins": "Experimental features",
|
||||
"com.affine.settings.workspace.experimental-features.header.subtitle": "You can customize your workspace here.",
|
||||
"com.affine.settings.workspace.experimental-features.prompt-disclaimer": "I am aware of the risks, and I am willing to continue to use it.",
|
||||
"com.affine.settings.workspace.experimental-features.prompt-header": "Do you want to use the plugin system that is in an experimental stage?",
|
||||
"com.affine.settings.workspace.experimental-features.prompt-warning": "You are about to enable an experimental feature. This feature is still in development and may contain errors or behave unpredictably. Please proceed with caution and at your own risk.",
|
||||
|
||||
Reference in New Issue
Block a user