Merge pull request #2104 from HarshMN2345/feat-DRL-1540-Encrypted-String-Attribute-Notification

This commit is contained in:
Darshan
2025-07-10 16:50:08 +05:30
committed by GitHub
3 changed files with 23 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

+23 -2
View File
@@ -7,8 +7,11 @@ import BulkApiLight from '$lib/images/promos/bulk-api-light.png';
import CSVImportDark from '$lib/images/promos/csv-import-placeholder-dark.png';
import CSVImportLight from '$lib/images/promos/csv-import-placeholder-light.png';
import DatabaseUpsertDark from '$lib/images/promos/database-upsert-dark.png';
import DatabaseUpsertLight from '$lib/images/promos/database-upsert-light.png';
import EncryptedDatabasesDark from '$lib/images/promos/encrypted-attribute-dark.png';
import EncryptedDatabasesLight from '$lib/images/promos/encrypted-attribute-light.png';
const listOfPromotions: BottomModalAlertItem[] = [];
@@ -73,8 +76,26 @@ if (isCloud) {
},
show: true
};
listOfPromotions.push(databaseUpsert, bulkApiPromo, csvImportPromo);
const encryptedAttributePromo: BottomModalAlertItem = {
id: 'modal:encrypted_attribute_announcement',
src: {
dark: EncryptedDatabasesDark,
light: EncryptedDatabasesLight
},
title: 'Introducing Encrypted String Attributes',
message: 'Encrypt string attributes at rest, directly from the Appwrite console',
plan: 'free',
importance: 8,
scope: 'project',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-encrypted-string-attributes',
external: true,
hideOnClick: true
},
show: true
};
listOfPromotions.push(encryptedAttributePromo, databaseUpsert, bulkApiPromo, csvImportPromo);
}
export function addBottomModalAlerts() {