+ toggleSetting(key as keyof BlockSuiteFlags, checked)
+ }
+ />
+ );
+ })}
>
);
};
@@ -171,6 +234,9 @@ const ExperimentalFeaturesMain = () => {
title={t[
'com.affine.settings.workspace.experimental-features.header.plugins'
]()}
+ subtitle={t[
+ 'com.affine.settings.workspace.experimental-features.header.subtitle'
+ ]()}
/>
{
const hasPaymentFeature = useLiveData(
serverConfigService.serverConfig.features$.map(f => f?.payment)
);
- const isEarlyAccess = useLiveData(
- userFeatureService.userFeature.isEarlyAccess$
- );
useEffect(() => {
userFeatureService.userFeature.revalidate();
@@ -86,7 +83,7 @@ export const useGeneralSettingList = (): GeneralSettingList => {
}
}
- if (isEarlyAccess || runtimeConfig.enableExperimentalFeature) {
+ if (runtimeConfig.enableExperimentalFeature) {
settings.push({
key: 'experimental-features',
title: t['com.affine.settings.workspace.experimental-features'](),
diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json
index 68d16618d9..c679f18132 100644
--- a/packages/frontend/i18n/src/resources/en.json
+++ b/packages/frontend/i18n/src/resources/en.json
@@ -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.",