mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 11:06:25 +08:00
chore: remove multiple cloud server flag (#12531)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - The "Add Selfhosted" and "Add Server" options are now displayed whenever the build configuration is native, without relying on feature flags. - **Refactor** - Simplified conditional rendering for server addition buttons by replacing feature flag checks with build configuration checks. - **Chores** - Removed the "Multiple Cloud Servers" feature flag and its related localization strings, streamlining feature management and UI labels. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -5834,14 +5834,6 @@ export function useAFFiNEI18N(): {
|
||||
* `Once enabled, users can import and export blocksuite snapshots.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-snapshot-import-export.description"](): string;
|
||||
/**
|
||||
* `Multiple Cloud Servers`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-multiple-cloud-servers.name"](): string;
|
||||
/**
|
||||
* `Once enabled, users can connect to selfhosted cloud servers.`
|
||||
*/
|
||||
["com.affine.settings.workspace.experimental-features.enable-multiple-cloud-servers.description"](): string;
|
||||
/**
|
||||
* `Enable Edgeless Editing`
|
||||
*/
|
||||
|
||||
@@ -1456,8 +1456,6 @@
|
||||
"com.affine.settings.workspace.experimental-features.enable-mobile-linked-doc-menu.description": "Enables the mobile linked doc menu.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-snapshot-import-export.name": "Enable Snapshot Import Export",
|
||||
"com.affine.settings.workspace.experimental-features.enable-snapshot-import-export.description": "Once enabled, users can import and export blocksuite snapshots.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-multiple-cloud-servers.name": "Multiple Cloud Servers",
|
||||
"com.affine.settings.workspace.experimental-features.enable-multiple-cloud-servers.description": "Once enabled, users can connect to selfhosted cloud servers.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-mobile-edgeless-editing.name": "Enable Edgeless Editing",
|
||||
"com.affine.settings.workspace.experimental-features.enable-mobile-edgeless-editing.description": "Once enabled, users can edit edgeless canvas.",
|
||||
"com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.name": "PDF embed preview",
|
||||
|
||||
Reference in New Issue
Block a user