chore: adjust experimental features text (#8044)

close AF-1313 AF-1312 AF-1311 AF-1310
This commit is contained in:
JimmFly
2024-09-02 07:40:55 +00:00
parent 4caf32629a
commit a802dc4fd6
4 changed files with 13 additions and 3 deletions

View File

@@ -114,7 +114,11 @@ const ExperimentalFeaturesItem = ({ flag }: { flag: Flag }) => {
},
[flag]
);
const link = flag.feedbackType ? feedbackLink[flag.feedbackType] : undefined;
const link = flag.feedbackType
? flag.feedbackLink
? flag.feedbackLink
: feedbackLink[flag.feedbackType]
: undefined;
if (flag.configurable === false) {
return null;

View File

@@ -1340,7 +1340,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.header.subtitle": "Some features available for early access",
"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.",