From e79e9b2bce0ff80c5117d0902cda3c017832c6a0 Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Wed, 23 Aug 2023 17:21:07 -0400 Subject: [PATCH 1/3] Add docs links to wizards --- src/routes/console/(migration-wizard)/step2.svelte | 11 ++++++++++- .../project-[project]/functions/wizard/step1.svelte | 4 ++-- .../project-[project]/functions/wizard/step2.svelte | 6 +++--- .../project-[project]/functions/wizard/step3.svelte | 8 +++++++- .../project-[project]/functions/wizard/step5.svelte | 2 +- .../settings/migrations/(import)/step1.svelte | 5 ++++- .../settings/migrations/(import)/step2.svelte | 10 +++++++++- 7 files changed, 36 insertions(+), 10 deletions(-) diff --git a/src/routes/console/(migration-wizard)/step2.svelte b/src/routes/console/(migration-wizard)/step2.svelte index 005b9e7bc3..6b6998906b 100644 --- a/src/routes/console/(migration-wizard)/step2.svelte +++ b/src/routes/console/(migration-wizard)/step2.svelte @@ -7,6 +7,15 @@ - Select data + Select resources + + Select the resources you need to migrate to Appwrite. Some resources can be migrated, but with limitations. + Learn about which resources are supported. + diff --git a/src/routes/console/project-[project]/functions/wizard/step1.svelte b/src/routes/console/project-[project]/functions/wizard/step1.svelte index fd0c3a118b..93257b01ad 100644 --- a/src/routes/console/project-[project]/functions/wizard/step1.svelte +++ b/src/routes/console/project-[project]/functions/wizard/step1.svelte @@ -21,8 +21,8 @@ - Create your function - Let’s create a function. + Configuration function + Create your new Appwrite Function. - Execute access + Permissions - Choose who can execute this function using the client API. For more information, check out + Choose which users have permission to execute this function using Client SDKs. For more information, check out the - Permissions guide + permissions documentation . diff --git a/src/routes/console/project-[project]/functions/wizard/step3.svelte b/src/routes/console/project-[project]/functions/wizard/step3.svelte index 95319ec88c..7684a7f5e4 100644 --- a/src/routes/console/project-[project]/functions/wizard/step3.svelte +++ b/src/routes/console/project-[project]/functions/wizard/step3.svelte @@ -19,7 +19,13 @@ Events - Set the events that will trigger your function. Maximum 100 events allowed. + Set the events that will trigger your function. Maximum 100 events allowed. + Learn more about events. + . {#if $createFunction?.events?.length} diff --git a/src/routes/console/project-[project]/functions/wizard/step5.svelte b/src/routes/console/project-[project]/functions/wizard/step5.svelte index 932018ffe8..55fed42a63 100644 --- a/src/routes/console/project-[project]/functions/wizard/step5.svelte +++ b/src/routes/console/project-[project]/functions/wizard/step5.svelte @@ -45,7 +45,7 @@ Variables - Create the environment variables or secret keys that will be passed to your function + Create the environment variables or secret keys that will be passed to your function. {#if $createFunction.vars.length} diff --git a/src/routes/console/project-[project]/settings/migrations/(import)/step1.svelte b/src/routes/console/project-[project]/settings/migrations/(import)/step1.svelte index 2162391761..5d7216b19c 100644 --- a/src/routes/console/project-[project]/settings/migrations/(import)/step1.svelte +++ b/src/routes/console/project-[project]/settings/migrations/(import)/step1.svelte @@ -54,7 +54,10 @@ - Choose provider + Select source + + Select a source platform with the project you want to migrate. +
{#each Object.entries(providers) as [key, value]}
diff --git a/src/routes/console/project-[project]/settings/migrations/+page.svelte b/src/routes/console/project-[project]/settings/migrations/+page.svelte index d6f76a42ac..857c0bcdc6 100644 --- a/src/routes/console/project-[project]/settings/migrations/+page.svelte +++ b/src/routes/console/project-[project]/settings/migrations/+page.svelte @@ -140,7 +140,15 @@ Import project data -

Import data from other products or from a different Appwrite instance.

+

+ Import data from another platform or from a different Appwrite instance. + Learn about which platforms are supported. +

{#if data.migrations.length}
@@ -224,7 +232,14 @@ {#if isSelfHosted} Deploy to Cloud -

Export data from your project to Appwrite Cloud

+

+ Export data from your project to Appwrite Cloud. + Learn more in our documentation. +

@@ -244,7 +259,14 @@ {:else} Export to self-hosted instance -

Export data from your project to a self-hosted instance

+

+ Export data from your project to a self-hosted instance. + Learn more in our documentation. +