Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/pages/domains/wizard/step1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</script>

<WizardStep beforeSubmit={createDomain}>
<svelte:fragment slot="title">Add function domain</svelte:fragment>
<svelte:fragment slot="title">Domain</svelte:fragment>
<svelte:fragment slot="subtitle">
Use your self-owned domain as the endpoint of your Appwrite API. <a
href="https://appwrite.io/docs/advanced/platform/custom-domains"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/wizards/functions/steps/executeAccess.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Execution permissions</svelte:fragment>
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose who can execute this function using the client API. For more information, visit our
<a
Expand Down
5 changes: 1 addition & 4 deletions src/routes/console/(migration-wizard)/step1.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
let selectedOrg = organizations.length ? organizations[0].$id : null;

let projects = [] as Models.ProjectList['projects'];
$: hasProjects = projects.length > 0;
let loadingProjects = false;

let projectType = 'existing';
Expand Down Expand Up @@ -43,9 +42,7 @@
</script>

<WizardStep {beforeSubmit}>
<svelte:fragment slot="title">
{hasProjects ? 'Select project' : 'Create project'}
</svelte:fragment>
<svelte:fragment slot="title">Project</svelte:fragment>

<div class="u-flex u-flex-vertical u-gap-24">
{#if organizations.length > 1}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/(migration-wizard)/step2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Select resources</svelte:fragment>
<svelte:fragment slot="title">Resources</svelte:fragment>
<svelte:fragment slot="subtitle">
Select the resources you need to migrate to Appwrite. Some resources can be migrated, but
with limitations. <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</script>

<WizardStep beforeSubmit={validateCoupon}>
<svelte:fragment slot="title">Add credits</svelte:fragment>
<svelte:fragment slot="title">Credits</svelte:fragment>
<svelte:fragment slot="subtitle">
Add Appwrite credits to your organization. A payment method is required before credits can
be applied.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</script>

<WizardStep beforeSubmit={handleSubmit}>
<svelte:fragment slot="title">Payment details</svelte:fragment>
<svelte:fragment slot="title">Details</svelte:fragment>
<svelte:fragment slot="subtitle">
Add a payment method to your organization. You will not be charged until you upgrade to a
Pro or Scale plan.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Project Details</svelte:fragment>
<svelte:fragment slot="title">Details</svelte:fragment>
<FormList>
<InputText
label="Name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Create data</svelte:fragment>
<svelte:fragment slot="title">Data</svelte:fragment>
<svelte:fragment slot="subtitle">
Provide document data based on attributes you created earlier.
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Configuration function</svelte:fragment>
<svelte:fragment slot="title">Configuration</svelte:fragment>
<svelte:fragment slot="subtitle">Create your new Appwrite Function.</svelte:fragment>
<FormList>
<InputText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

const stepsComponents: WizardStepsType = new Map();
stepsComponents.set(1, {
label: 'Proivder',
label: 'Provider',
component: Provider
});
stepsComponents.set(2, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Create an API key</svelte:fragment>
<svelte:fragment slot="title">API key</svelte:fragment>
<svelte:fragment slot="subtitle">Let's create an API key.</svelte:fragment>
<FormList>
<InputText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Add Scopes</svelte:fragment>
<svelte:fragment slot="title">Scopes</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose which permission scopes to grant your application. It is best practice to allow only
the permissions you need to meet your project goals.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</script>

<WizardStep {beforeSubmit}>
<svelte:fragment slot="title">Register your Android app</svelte:fragment>
<svelte:fragment slot="title">Android registration</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Get the SDK</svelte:fragment>
<svelte:fragment slot="title">Install</svelte:fragment>
<p>First, add this to your root level <code class="inline-code">build.gradle</code> file.</p>
<Code label="Groovy" labelIcon="android" language="kotlin" code={example1} withCopy />
<p class="common-section">And add this to your project's build.gradle file.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val client = Client(context)
</script>

<WizardStep>
<svelte:fragment slot="title">Initialize SDK</svelte:fragment>
<svelte:fragment slot="title">Initialize</svelte:fragment>

<h2 class="heading-level-7">Initialize your SDK</h2>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</script>

<WizardStep {beforeSubmit}>
<svelte:fragment slot="title">Register your bundle ID</svelte:fragment>
<svelte:fragment slot="title">Apple registration</svelte:fragment>

<FormList isCommonSection>
<FormItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Get the SDK</svelte:fragment>
<svelte:fragment slot="title">Install</svelte:fragment>
<div class="u-flex u-gap-16 u-margin-block-start-8">
<Pill button on:click={() => (method = Method.Xcode)} selected={method === Method.Xcode}>
Xcode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let client = Client()
</script>

<WizardStep>
<svelte:fragment slot="title">Initialize SDK</svelte:fragment>
<svelte:fragment slot="title">Initialize</svelte:fragment>

<h2 class="heading-level-7">Initialize your SDK</h2>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,16 @@

$: registee = {
[PlatformType.Flutterandroid]: 'package name',
[PlatformType.Flutterios]: 'bundle ID',
[PlatformType.Flutterlinux]: 'package name',
[PlatformType.Fluttermacos]: 'bundle ID',
[PlatformType.Flutterwindows]: 'package name',
[PlatformType.Flutterweb]: 'hostname'
[PlatformType.Flutterios]: 'Bundle ID',
[PlatformType.Flutterlinux]: 'Package name',
[PlatformType.Fluttermacos]: 'Bundle ID',
[PlatformType.Flutterwindows]: 'Package name',
[PlatformType.Flutterweb]: 'Hostname'
}[platform];
</script>

<WizardStep {beforeSubmit}>
<svelte:fragment slot="title">Register your {registee}</svelte:fragment>
<svelte:fragment slot="title">{registee} registration</svelte:fragment>
<svelte:fragment slot="subtitle">
<div class="u-flex u-gap-16 u-margin-block-start-8 u-flex-wrap">
<Pill
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Get the SDK</svelte:fragment>
<svelte:fragment slot="title">Install</svelte:fragment>

<p>
Add Appwrite SDK to your package's <code class="inline-code">pubspec.yaml</code> file. You can
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ client
</script>

<WizardStep>
<svelte:fragment slot="title">Initialize SDK</svelte:fragment>
<svelte:fragment slot="title">Initialize</svelte:fragment>

<h2 class="heading-level-7">Initialize your SDK</h2>
<p data-private>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">You're ready to go 🎉</svelte:fragment>
<svelte:fragment slot="title">All set</svelte:fragment>
<p>
{#if isFirstProject}
Congratulations on adding the first platform to your project! Start exploring by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</script>

<WizardStep {beforeSubmit}>
<svelte:fragment slot="title">Register your hostname</svelte:fragment>
<svelte:fragment slot="title">Hostname registration</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Get the SDK</svelte:fragment>
<svelte:fragment slot="title">Install</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose your preferred method of installation
<div class="u-flex u-gap-16 u-margin-block-start-8">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Select source</svelte:fragment>
<svelte:fragment slot="title">Source</svelte:fragment>
<svelte:fragment slot="subtitle">
Select a source platform with the project you want to migrate. <a
class="link"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Select source</svelte:fragment>
<svelte:fragment slot="title">Resources</svelte:fragment>
<svelte:fragment slot="subtitle">
Select the resources you need to migrate to Appwrite. Some resources can be migrated, but
with limitations. <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Add your webhook</svelte:fragment>
<svelte:fragment slot="title">Configuration</svelte:fragment>
<svelte:fragment slot="subtitle">
Use webhooks to build integrations that subscribe to specific events on Appwrite. Appwrite
will send an HTTP POST payload to the webhook's configured URL when one of the specified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Create file</svelte:fragment>
<svelte:fragment slot="title">File</svelte:fragment>
<svelte:fragment slot="subtitle">Upload a file to add it to your bucket.</svelte:fragment>

{#if isCloud}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Update Permissions</svelte:fragment>
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose who can access your buckets and files. For more information, check out the
<a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</script>

<WizardStep beforeSubmit={handleBefore}>
<svelte:fragment slot="title">Confirm your details</svelte:fragment>
<svelte:fragment slot="title">Details</svelte:fragment>
<svelte:fragment slot="subtitle">
Confirm the details of your new organization and start your free trial.
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Invite organization members</svelte:fragment>
<svelte:fragment slot="title">Invites</svelte:fragment>
<svelte:fragment slot="subtitle">
Invite team members to collaborate with you in the Appwrite console. Members will have
access to all services and payment data within your organization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</script>

<WizardStep beforeSubmit={handleBefore}>
<svelte:fragment slot="title">Choose a plan</svelte:fragment>
<svelte:fragment slot="title">Plan selection</svelte:fragment>

<p class="body-text-1 u-bold common-section">Plan</p>
<p class="text u-margin-block-start-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

{#if downgradeToStarter}
<WizardStep>
<svelte:fragment slot="title">Confirm plan change</svelte:fragment>
<svelte:fragment slot="title">Change confirmation</svelte:fragment>
<svelte:fragment slot="subtitle">
Your feedback is important to us and helps us improve the services Appwrite offer. If
there is a specific reason you chose to change your plan at this time, please let us
Expand All @@ -65,7 +65,7 @@
</WizardStep>
{:else}
<WizardStep>
<svelte:fragment slot="title">Confirm your details</svelte:fragment>
<svelte:fragment slot="title">Details</svelte:fragment>
<svelte:fragment slot="subtitle">
Confirm the details of your new organization and start your free trial.
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Invite organization members</svelte:fragment>
<svelte:fragment slot="title">Invites</svelte:fragment>
<svelte:fragment slot="subtitle">
Invite team members to collaborate with you in the Appwrite console. Members will have
access to all services and payment data within your organization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</script>

<WizardStep>
<svelte:fragment slot="title"
>Your usage exceeds the limits of the {tierToPlan($organization.billingPlan).name} plan</svelte:fragment>
<svelte:fragment slot="title">
Your usage exceeds the limits of the {tierToPlan($organization.billingPlan).name} plan</svelte:fragment>
<svelte:fragment slot="subtitle">
View the current usage for <b>{$organization.name}</b> and where you will exceed the limits of
your new plan.
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/wizard/feedback/step2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Thanks for the feedback!</svelte:fragment>
<svelte:fragment slot="title">Thank you</svelte:fragment>

<div class="u-flex u-main-center">
{#if $app.themeInUse === 'dark'}
Expand Down