Merge remote-tracking branch 'origin/main' into feat-project-changes

This commit is contained in:
Damodar Lohani
2025-07-17 08:44:48 +00:00
14 changed files with 48 additions and 73 deletions
@@ -12,7 +12,7 @@
$organization.$id,
$paymentMissingMandate.$id
);
await confirmSetup(method.clientSecret, method.$id);
await confirmSetup(method.clientSecret, method.providerMethodId);
}
</script>
Binary file not shown.

After

Width:  |  Height:  |  Size: 949 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

+45 -70
View File
@@ -1,81 +1,16 @@
import { isCloud } from '$lib/system';
import { isSameDay } from '$lib/helpers/date';
import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts';
import BulkApiDark from '$lib/images/promos/bulk-api-dark.png';
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 AutoIncrementDark from '$lib/images/promos/auto-increment-dark.png';
import AutoIncrementLight from '$lib/images/promos/auto-increment-light.png';
import EncryptedDatabasesDark from '$lib/images/promos/encrypted-attribute-dark.png';
import EncryptedDatabasesLight from '$lib/images/promos/encrypted-attribute-light.png';
import OptInRelationDark from '$lib/images/promos/opt-relation-dark.png';
import OptInRelationLight from '$lib/images/promos/opt-relation-light.png';
const listOfPromotions: BottomModalAlertItem[] = [];
if (isCloud) {
const csvImportPromo: BottomModalAlertItem = {
id: 'modal:csv_import_announcement',
src: {
dark: CSVImportDark,
light: CSVImportLight
},
title: 'Introducing CSV import',
message:
"We're introducing a new way to populate your Appwrite databases: document imports from CSV files.",
plan: 'free',
importance: 8,
scope: 'everywhere',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-csv-imports',
external: true,
hideOnClick: true
},
show: true
};
const bulkApiPromo: BottomModalAlertItem = {
id: 'modal:bulk_api_announcement',
src: {
dark: BulkApiDark,
light: BulkApiLight
},
title: 'Introducing Bulk API',
message:
'A new Appwrite Databases feature, explicitly designed to handle heavy write workloads.',
plan: 'free',
importance: 8,
scope: 'project',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-bulk-api',
external: true,
hideOnClick: true
},
show: true
};
const databaseUpsert: BottomModalAlertItem = {
id: 'modal:database_upsert_announcement',
src: {
dark: DatabaseUpsertDark,
light: DatabaseUpsertLight
},
title: 'Introducing Database Upsert',
message: 'A new Appwrite Database feature, built to simplify your database interactions.',
plan: 'free',
importance: 8,
scope: 'project',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-database-upsert',
external: true,
hideOnClick: true
},
show: true
};
const encryptedAttributePromo: BottomModalAlertItem = {
id: 'modal:encrypted_attribute_announcement',
src: {
@@ -95,7 +30,47 @@ if (isCloud) {
},
show: true
};
listOfPromotions.push(encryptedAttributePromo, databaseUpsert, bulkApiPromo, csvImportPromo);
const autoIncrementPromo: BottomModalAlertItem = {
id: 'modal:auto_increment_announcement',
src: {
dark: AutoIncrementDark,
light: AutoIncrementLight
},
title: 'Announcing Auto-increment support',
message:
'Get a built-in numeric identifier that increases predictably with every new document added.',
plan: 'free',
importance: 8,
scope: 'project',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-auto-increment-support',
external: true,
hideOnClick: true
},
show: true
};
const optInRelationPromo: BottomModalAlertItem = {
id: 'modal:opt_in_relation_announcement',
src: {
dark: OptInRelationDark,
light: OptInRelationLight
},
title: 'Introducing Opt-in relationship loading',
message:
'Gain full control over which related documents to fetch and drastically reduce payload sizes.',
plan: 'free',
importance: 8,
scope: 'project',
cta: {
text: 'Read announcement',
link: () => 'https://appwrite.io/blog/post/announcing-opt-in-relationship-loading',
external: true,
hideOnClick: true
},
show: true
};
listOfPromotions.push(optInRelationPromo, autoIncrementPromo, encryptedAttributePromo);
}
export function addBottomModalAlerts() {
@@ -196,7 +196,7 @@
<svelte:fragment slot="actions">
<Button
external
href="#/"
href="https://appwrite.io/docs/products/network/dns"
text
event="empty_documentation"
size="s"
@@ -64,7 +64,7 @@
<svelte:fragment slot="actions">
<Button
external
href="#/"
href="https://appwrite.io/docs/products/functions/domains"
text
event="empty_documentation"
size="s"