Merge pull request #3113 from appwrite/feat-state-of-appwrite-survey-banner

feat(console): add State of Appwrite Cloud survey banner
This commit is contained in:
Atharva Deosthale authored and GitHub committed 2026-07-10 13:09:16 +05:30
commit c63636ed12
3 files changed
+10 -10

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

+10 -10
View File
@@ -1,33 +1,33 @@
import { isCloud } from '$lib/system';
import { isSameDay } from '$lib/helpers/date';
import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts';
import PresencesApi from '$lib/images/promos/presences-api.png';
import StateOfAppwriteSurvey from '$lib/images/promos/state-of-appwrite-survey.png';
const listOfPromotions: BottomModalAlertItem[] = [];
if (isCloud) {
const presencesApiPromo: BottomModalAlertItem = {
id: 'modal:presences_api_announcement',
const stateOfAppwriteSurveyPromo: BottomModalAlertItem = {
id: 'modal:state_of_appwrite_survey_announcement',
src: {
dark: PresencesApi,
light: PresencesApi
dark: StateOfAppwriteSurvey,
light: StateOfAppwriteSurvey
},
title: 'Announcing the Presences API',
title: 'State of Appwrite Cloud',
message:
'Track who is online, typing, and active in realtime with built-in channels, automatic expiry, and permission-aware subscriptions.',
'Share your experience building with Appwrite Cloud and using AI tools, and help shape our product roadmap for 2026 and beyond.',
plan: 'free',
importance: 8,
scope: 'everywhere',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-presences-api',
text: 'Take the survey',
link: () => 'https://forms.gle/5cvWxTwhonoDCWsi7',
external: true,
hideOnClick: true,
skipUpgradeRedirect: true
},
show: true
};
listOfPromotions.push(presencesApiPromo);
listOfPromotions.push(stateOfAppwriteSurveyPromo);
}
export function addBottomModalAlerts() {