diff --git a/apps/studio/components/interfaces/Storage/BucketDataProtectionFields.tsx b/apps/studio/components/interfaces/Storage/BucketDataProtectionFields.tsx index 91aa1364c3b..4459aa6f8d7 100644 --- a/apps/studio/components/interfaces/Storage/BucketDataProtectionFields.tsx +++ b/apps/studio/components/interfaces/Storage/BucketDataProtectionFields.tsx @@ -179,7 +179,7 @@ export const BucketDataProtectionFields = ({ )} {!!planLimits && isVersioningEnabled && ( - >['control'] hasDays: boolean hasVersions: boolean @@ -208,7 +208,7 @@ interface ExpirationPolicySectionProps { onModeChange: (mode: ExpirationMode) => void } -const ExpirationPolicySection = ({ +const LifecyclePolicySection = ({ control, hasDays, hasVersions, @@ -217,7 +217,7 @@ const ExpirationPolicySection = ({ versions, mode, onModeChange, -}: ExpirationPolicySectionProps) => { +}: LifecyclePolicySectionProps) => { const { trigger } = useFormContext() const hasNoPolicy = !hasDays && !hasVersions @@ -225,7 +225,7 @@ const ExpirationPolicySection = ({

- Expiration policy + Lifecycle policy

)} @@ -349,7 +349,7 @@ const ExpirationSentence = ({ if (!hasDays && !hasVersions) { return (

- No expiration policy configured. Noncurrent versions will be retained indefinitely. + No lifecycle policy configured. Noncurrent versions will be retained indefinitely.

) } diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/DeletedFilesList.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/DeletedFilesList.tsx index f5ae25b7dc0..0dc88f761a7 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/DeletedFilesList.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/DeletedFilesList.tsx @@ -165,7 +165,7 @@ export const DeletedFilesList = ({ bucketId, searchString }: DeletedFilesListPro description={ searchString.length > 0 ? 'No archived files match your search.' - : 'Files and their version history appear here once archived (soft-deleted), and can be restored until an expiration policy removes them.' + : 'Files and their version history appear here once archived (soft-deleted), and can be restored until a lifecycle policy expires them.' } />
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistory.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistory.tsx index 6b0d091c981..0f516b80c0f 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistory.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistory.tsx @@ -417,7 +417,7 @@ const PolicyRow = ({ cap, expiryDays, mode }: PolicyRowProps) => {
-

Expiration policy

+

Lifecycle policy

diff --git a/apps/studio/components/interfaces/Storage/Trash/Trash.tsx b/apps/studio/components/interfaces/Storage/Trash/Trash.tsx index 00ce2c0d7c3..f800b70e7cd 100644 --- a/apps/studio/components/interfaces/Storage/Trash/Trash.tsx +++ b/apps/studio/components/interfaces/Storage/Trash/Trash.tsx @@ -103,8 +103,7 @@ export const Trash = ({ bucketId }: TrashProps) => {

- Deleted versions in this bucket, restorable until their expiration policy removes - them + Deleted versions in this bucket, restorable until a lifecycle policy expires them

{isSuccess && objects.length > 0 && (