fix(core): remove quota modal (#12586)

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

- **Removed Features**
  - Removed all quota-reached modal dialogs, including both cloud and local storage quota notifications.
  - Users will no longer see modal alerts when storage limits are reached in workspaces.
- **User Interface**
  - Quota-reached modals and related styles have been removed from workspace layouts on both desktop and mobile.
- **Other Changes**
  - Quota notification logic and related settings have been eliminated from the application.
  - Maximum blob size enforcement and related callbacks have been removed from blob management.
  - Localization entries related to file upload size limits and quota tips have been removed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
EYHN
2025-05-28 08:04:22 +00:00
parent 274319dd6c
commit b847de4980
10 changed files with 3 additions and 274 deletions

View File

@@ -14,7 +14,7 @@
"it-IT": 100,
"it": 1,
"ja": 100,
"ko": 53,
"ko": 54,
"pl": 100,
"pt-BR": 100,
"ru": 100,

View File

@@ -3622,36 +3622,6 @@ export function useAFFiNEI18N(): {
* `Tell us your use case`
*/
["com.affine.payment.billing-type-form.title"](): string;
/**
* `The maximum file upload size for local workspaces is {{quota}}.`
*/
["com.affine.payment.blob-limit.description.local"](options: {
readonly quota: string;
}): string;
/**
* `The maximum file upload size for this joined workspace is {{quota}}. You can contact the owner of this workspace.`
*/
["com.affine.payment.blob-limit.description.member"](options: {
readonly quota: string;
}): string;
/**
* `The maximum file upload size for this workspace is {{quota}}. To proceed, you can:`
*/
["com.affine.payment.blob-limit.description.owner"](options: {
readonly quota: string;
}): string;
/**
* `Upgrade your account for larger file upload limits`
*/
["com.affine.payment.blob-limit.description.owner.tips-1"](): string;
/**
* `Upgrade the workspace plan to increase storage for all member`
*/
["com.affine.payment.blob-limit.description.owner.tips-2"](): string;
/**
* `Compress your file and upload again`
*/
["com.affine.payment.blob-limit.description.owner.tips-3"](): string;
/**
* `You have reached the limit`
*/

View File

@@ -903,12 +903,6 @@
"com.affine.payment.billing-type-form.description": "Please tell us more about your use case, to make AFFiNE better.",
"com.affine.payment.billing-type-form.go": "Go",
"com.affine.payment.billing-type-form.title": "Tell us your use case",
"com.affine.payment.blob-limit.description.local": "The maximum file upload size for local workspaces is {{quota}}.",
"com.affine.payment.blob-limit.description.member": "The maximum file upload size for this joined workspace is {{quota}}. You can contact the owner of this workspace.",
"com.affine.payment.blob-limit.description.owner": "The maximum file upload size for this workspace is {{quota}}. To proceed, you can:",
"com.affine.payment.blob-limit.description.owner.tips-1": "Upgrade your account for larger file upload limits",
"com.affine.payment.blob-limit.description.owner.tips-2": "Upgrade the workspace plan to increase storage for all member",
"com.affine.payment.blob-limit.description.owner.tips-3": "Compress your file and upload again",
"com.affine.payment.blob-limit.title": "You have reached the limit",
"com.affine.payment.book-a-demo": "Book a demo",
"com.affine.payment.buy-pro": "Buy Pro",