Skip to content

Commit 707019a

Browse files
authored
Merge pull request #2645 from appwrite/feat-SER-645-Console-Notification-Database-AI-suggestions
2 parents 0fa57b3 + 7d24475 commit 707019a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
834 KB
Loading
856 KB
Loading
-221 KB
Binary file not shown.
-86.2 KB
Binary file not shown.

src/routes/(console)/bottomAlerts.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
import { isCloud } from '$lib/system';
22
import { isSameDay } from '$lib/helpers/date';
33
import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts';
4-
import DbOperatorsDark from '$lib/images/promos/db-operators-dark.png';
5-
import DbOperatorsLight from '$lib/images/promos/db-operators-light.png';
4+
import AiSuggestionsDark from '$lib/images/promos/ai-suggestions-dark.png';
5+
import AiSuggestionsLight from '$lib/images/promos/ai-suggestions-light.png';
66

77
const listOfPromotions: BottomModalAlertItem[] = [];
88

99
if (isCloud) {
10-
const dbOperatorsPromo: BottomModalAlertItem = {
11-
id: 'modal:db_operators_announcement',
10+
const aiSuggestionsPromo: BottomModalAlertItem = {
11+
id: 'modal:database_ai_suggestions_announcement',
1212
src: {
13-
dark: DbOperatorsDark,
14-
light: DbOperatorsLight
13+
dark: AiSuggestionsDark,
14+
light: AiSuggestionsLight
1515
},
16-
title: 'Announcing DB operators',
17-
message: 'Update multiple fields without fetching the entire row.',
16+
title: 'Announcing Database AI suggestions',
17+
message: 'From table name to schema in one click.',
1818
plan: 'free',
1919
importance: 8,
2020
scope: 'project',
2121
cta: {
2222
text: 'Read announcement',
23-
link: () => 'https://appwrite.io/blog/post/announcing-db-operators',
23+
link: () => 'https://appwrite.io/blog/post/announcing-database-ai-suggestions',
2424
external: true,
2525
hideOnClick: true
2626
},
2727
show: true
2828
};
29-
listOfPromotions.push(dbOperatorsPromo);
29+
listOfPromotions.push(aiSuggestionsPromo);
3030
}
3131

3232
export function addBottomModalAlerts() {

0 commit comments

Comments
 (0)