diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9fe42390d..86a16d699 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,7 +41,7 @@ jobs: "PUBLIC_CONSOLE_MODE=cloud" "PUBLIC_CONSOLE_FEATURE_FLAGS=" "PUBLIC_APPWRITE_MULTI_REGION=true" - "PUBLIC_CONSOLE_EMAIL_VERIFICATION=true" + "PUBLIC_CONSOLE_EMAIL_VERIFICATION=false" "PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false" "PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}" "PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY }}" @@ -83,7 +83,7 @@ jobs: "PUBLIC_CONSOLE_MODE=cloud" "PUBLIC_CONSOLE_FEATURE_FLAGS=" "PUBLIC_APPWRITE_MULTI_REGION=true" - "PUBLIC_CONSOLE_EMAIL_VERIFICATION=false" + "PUBLIC_CONSOLE_EMAIL_VERIFICATION=true" "PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false" "PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}" "PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY_STAGE }}" diff --git a/Dockerfile b/Dockerfile index 6bdc2d78a..5da6ccbf2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN corepack prepare pnpm@10.0.0 --activate ADD ./package.json /app/package.json ADD ./pnpm-lock.yaml /app/pnpm-lock.yaml -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +RUN pnpm install --frozen-lockfile ADD ./build.js /app/build.js ADD ./tsconfig.json /app/tsconfig.json diff --git a/src/lib/layout/responsiveContainerHeader.svelte b/src/lib/layout/responsiveContainerHeader.svelte index 0f5358a02..29eed0f56 100644 --- a/src/lib/layout/responsiveContainerHeader.svelte +++ b/src/lib/layout/responsiveContainerHeader.svelte @@ -106,11 +106,11 @@ {#if hasSearch} {/if} + + {#if hasFilters && $columns?.length} {/if} - - {#if hasDisplaySettings} {/if} diff --git a/src/lib/layout/wizardStep.svelte b/src/lib/layout/wizardStep.svelte index 4b64ae445..591fb62e8 100644 --- a/src/lib/layout/wizardStep.svelte +++ b/src/lib/layout/wizardStep.svelte @@ -21,14 +21,21 @@ -
- - {#if $$slots.subtitle} -

- -

- {/if} -
+ {#if $$slots.title || $$slots.subtitle} +
+ {#if $$slots.title} + + {/if} + {#if $$slots.subtitle} +

+ +

+ {/if} +
+ {/if}
@@ -42,4 +49,8 @@ padding-block-end: 0; border-block-end: none; } + + .only-subtitle { + margin-block-end: 0.5rem; + } diff --git a/src/routes/(console)/organization-[organization]/+page.svelte b/src/routes/(console)/organization-[organization]/+page.svelte index cd2417f29..947d507d1 100644 --- a/src/routes/(console)/organization-[organization]/+page.svelte +++ b/src/routes/(console)/organization-[organization]/+page.svelte @@ -83,12 +83,13 @@ } $: projectCreationDisabled = - (isCloud && getServiceLimit('projects') <= data.projects.total) || + (isCloud && getServiceLimit('projects', null, data.currentPlan) <= data.projects.total) || (isCloud && $readOnly && !GRACE_PERIOD_OVERRIDE) || !$canWriteProjects; - $: reachedProjectLimit = isCloud && getServiceLimit('projects') <= data.projects.total; - $: projectsLimit = getServiceLimit('projects'); + $: reachedProjectLimit = + isCloud && getServiceLimit('projects', null, data.currentPlan) <= data.projects.total; + $: projectsLimit = getServiceLimit('projects', null, data.currentPlan); $: $registerCommands([ { diff --git a/src/routes/(console)/organization-[organization]/header.svelte b/src/routes/(console)/organization-[organization]/header.svelte index 1a81ae48c..38ec2a743 100644 --- a/src/routes/(console)/organization-[organization]/header.svelte +++ b/src/routes/(console)/organization-[organization]/header.svelte @@ -29,7 +29,7 @@ let areMembersLimited: boolean = $state(false); $effect(() => { - const limit = getServiceLimit('members') || Infinity; + const limit = getServiceLimit('members', null, page.data.currentPlan) || Infinity; const isLimited = limit !== 0 && limit < Infinity; areMembersLimited = isCloud && diff --git a/src/routes/(console)/project-[region]-[project]/messaging/+page.svelte b/src/routes/(console)/project-[region]-[project]/messaging/+page.svelte index 991d0ba6c..6f009719b 100644 --- a/src/routes/(console)/project-[region]-[project]/messaging/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/messaging/+page.svelte @@ -243,11 +243,7 @@ {:else if $hasPageQueries} {:else if data.search} - -
- Sorry, we couldn't find '{data.search}' -

There are no messages that match your search.

-
+
+ external>documentation. diff --git a/src/routes/(console)/project-[region]-[project]/messaging/providers/+page.svelte b/src/routes/(console)/project-[region]-[project]/messaging/providers/+page.svelte index 85b132238..cc80b73af 100644 --- a/src/routes/(console)/project-[region]-[project]/messaging/providers/+page.svelte +++ b/src/routes/(console)/project-[region]-[project]/messaging/providers/+page.svelte @@ -1,45 +1,40 @@ - - - - - - - - {#if $canWriteProviders} - - - - {/if} - - + + {#if $canWriteProviders} + + + + {/if} + {#if data.providers.total} @@ -52,11 +47,7 @@ {:else if $hasPageQueries} {:else if data.search && data.search !== 'empty'} - -
- Sorry, we couldn't find '{data.search}' -

There are no providers that match your search.

-
+ - @@ -227,7 +226,9 @@ hasDivider href={`https://appwrite.io/docs/products/messaging/${$provider}`} title="Read the guide in the docs" - icon={IconBookOpen} /> + icon={IconBookOpen} + target="_blank" + rel="noreferrer" /> { $newMemberModal = true; @@ -241,4 +242,9 @@ {#if $newMemberModal} {/if} + + + + + diff --git a/src/routes/(console)/project-[region]-[project]/messaging/providers/createProviderDropdown.svelte b/src/routes/(console)/project-[region]-[project]/messaging/providers/createProviderDropdown.svelte index ea8f54839..b210dc61b 100644 --- a/src/routes/(console)/project-[region]-[project]/messaging/providers/createProviderDropdown.svelte +++ b/src/routes/(console)/project-[region]-[project]/messaging/providers/createProviderDropdown.svelte @@ -9,7 +9,7 @@ import { ActionMenu, Popover } from '@appwrite.io/pink-svelte'; - + {#each Object.entries(providers) as [type, option]} diff --git a/src/routes/(console)/project-[region]-[project]/messaging/providers/popoverContent.svelte b/src/routes/(console)/project-[region]-[project]/messaging/providers/popoverContent.svelte index 7b9a1e723..ea0f6e270 100644 --- a/src/routes/(console)/project-[region]-[project]/messaging/providers/popoverContent.svelte +++ b/src/routes/(console)/project-[region]-[project]/messaging/providers/popoverContent.svelte @@ -1,30 +1,25 @@ -
+ {#each lines as line} -

{@html line}

+

{@html line}

{/each} {#if image} - + + + {/if} -
+