AFFiNE/packages/common
JimmFly 25897dc404
feat(workspace): add blob and storage limit (#5535)
close TOV-343 AFF-508 TOV-461 TOV-460 TOV-419

Add `isOverCapacity ` status to detect if blob usage exceeds limits.
Add `onCapacityChange` and `onBlobSet` to monitor if the storage or blob exceeds the capacity limit.
Global modals `LocalQuotaModal` and `CloudQuotaModal` have been added, with the upload size of the blob being limited within the modal components.
The notification component has been adjusted, now you can pass in `action` click events and `actionLabel` .
2024-01-24 07:34:51 +00:00
..
debug chore: bump up all non-major dependencies to v1.1.3 (#5519) 2024-01-05 09:53:28 +00:00
env feat: bump blocksuite (#5673) 2024-01-24 15:13:12 +08:00
infra feat: bump blocksuite (#5673) 2024-01-24 15:13:12 +08:00
theme refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
workspace feat(workspace): add blob and storage limit (#5535) 2024-01-24 07:34:51 +00:00
y-indexeddb feat: bump blocksuite (#5673) 2024-01-24 15:13:12 +08:00
y-provider feat: bump blocksuite (#5673) 2024-01-24 15:13:12 +08:00