feat(core): support install license for self hosted client (#12287)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Added the ability to upload and replace license files for self-hosted team workspaces via a new modal dialog.
  - Introduced clearer UI flows for activating, deactivating, and managing team licenses, including one-time purchase licenses.
  - Provided direct links and guidance for requesting licenses and managing payments.

- **Enhancements**
  - Improved license management interface with updated button labels and descriptions.
  - Added new styles for better layout and clarity in license dialogs.
  - Updated internationalization with new and revised texts for license operations.

- **Bug Fixes**
  - Prevented duplicate opening of license or plan dialogs when already open.

- **Chores**
  - Updated support and pricing links for clarity and accuracy.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
JimmFly
2025-05-27 04:56:13 +00:00
parent 382c237dac
commit 1b715e588c
13 changed files with 714 additions and 75 deletions

View File

@@ -36,9 +36,9 @@ const links = [
label: 'Self-host Document',
},
{
href: 'https://affine.pro/pricing',
href: 'https://affine.pro/pricing/?type=selfhost#table',
icon: <UploadCloudIcon size={20} />,
label: 'Upgrade to Pro',
label: 'Upgrade to Team',
},
];