mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #2104 from HarshMN2345/feat-DRL-1540-Encrypted-String-Attribute-Notification
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 415 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user