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
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,4 @@ dist
.stylelintcache

# SvelteKit build / generate output
.svelte-kit


.svelte-kit
2 changes: 1 addition & 1 deletion src/lib/components/empty.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<slot>
<div class="u-text-center">
<Heading size="7" tag="h2" trimmed={false}>
Create your first {target} to get started.
Create a {target} to get started.
</Heading>
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Learn more in our documentation.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/permissions/roles.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
</Actions>
</div>
<div class="common-section">
<span class="text"> Add a role to get started </span>
<span class="text"> Add a role </span>
</div>
</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/elements/forms/inputEmail.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
const handleInvalid = (event: Event) => {
event.preventDefault();
if (element.validity.typeMismatch) {
error = 'Your email should be formatted as: name@example.com';
error = 'Emails should be formatted as: name@example.com';
return;
}
if (element.validity.valueMissing) {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/wizards/functions/steps/executeAccess.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<WizardStep>
<svelte:fragment slot="title">Execution permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose who can execute this function using the client API. For more information, check out
the <a
Choose who can execute this function using the client API. For more information, visit our
<a
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
Permissions Guide
Permissions guide
</a>.
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<section class="drop-section">
<ul class="drop-list">
<DropListItem icon="plus" on:click={() => newOrgModal.set(true)}>
New Organization
New organization
</DropListItem>
</ul>
</section></svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<CardGrid>
<Heading tag="h6" size="7">Phone</Heading>
<p>
Update user's phone. A phone number must contain leading '+' and maximum of 15 digits.
Update user's phone. Phone number must start with '+' and maximum of 15 digits, for
example: +14155552671.
</p>
<svelte:fragment slot="aside">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}
}}>
<span class="icon-plus" aria-hidden="true" />
<span class="text">Add Preference</span>
<span class="text">Add preference</span>
</Button>
</form>
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
{:else}
<Empty single target="attribute" on:click={() => (showCreateDropdown = true)}>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first attribute to get started.</Heading>
<Heading size="7" tag="h2">Create an attribute to get started.</Heading>
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Learn more in our documentation.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<Alert type="info">
<svelte:fragment slot="title">Document security is disabled</svelte:fragment>
<p class="text">
If you want to assign document permissions, navigate to Collection settings
and enable document security. Otherwise, only collection permissions will be
If you want to assign document permissions. Go to Collection settings and
enable document security. Otherwise, only collection permissions will be
used.
</p>
</Alert>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
{:else}
<Empty single target="attribute" on:click={() => (showCreateDropdown = true)}>
<div class="u-text-center">
<Heading size="7" tag="h2">Create your first attribute to get started.</Heading>
<Heading size="7" tag="h2">Create an attribute to get started.</Heading>
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Learn more in our documentation.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
<CardGrid>
<Heading tag="h6" size="7">Permissions</Heading>
<p class="text">
Choose who can access your collection and documents. For more information, check out the <a
Choose who can access your collection and documents. For more about <a
href="https://appwrite.io/docs/products/databases/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
Permissions guide
Permissions
</a>.
</p>
<svelte:fragment slot="aside">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<WizardStep>
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose who can access your collection and documents. For more information, check out the <a
Choose who can access your collection and documents. For more information, visit our <a
href="https://appwrite.io/docs/products/databases/permissions"
target="_blank"
rel="noopener noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/project-[project]/databases/grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
</GridItem1>
{/each}
<svelte:fragment slot="empty">
<p>Create a new database</p>
<p>Create a database</p>
</svelte:fragment>
</CardContainer>
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</Button>
</div>
{:else}
<Empty on:click={() => (showEvents = true)}>Add an event to get started</Empty>
<Empty on:click={() => (showEvents = true)}>Add an event</Empty>
{/if}
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,12 @@
<CardGrid>
<Heading tag="h6" size="7" id="permissions">Execute Access</Heading>
<p>
Choose who can execute this function using the client API. For more information, check
out the <a
Choose who can execute this function using the client API. Learn more about <a
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
class="link">
Permissions guide
Permissions
</a>.
</p>
<svelte:fragment slot="aside">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<svelte:fragment slot="title">Permissions</svelte:fragment>
<svelte:fragment slot="subtitle">
Choose which users have permission to execute this function using Client SDKs. For more
information, check out the <a
information, visit our <a
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</Button>
</div>
{:else}
<Empty on:click={() => (showCreate = !showCreate)}>Add an event to get started</Empty>
<Empty on:click={() => (showCreate = !showCreate)}>Add an event</Empty>
{/if}
</WizardStep>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</Button>
</div>
{:else}
<Empty on:click={() => (showCreate = !showCreate)}>Create a variable to get started</Empty>
<Empty on:click={() => (showCreate = !showCreate)}>Create a variable</Empty>
{/if}
</WizardStep>

Expand Down
6 changes: 1 addition & 5 deletions src/routes/console/project-[project]/overview/onboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div class="card">
<header class="card-header common-section grid-1-2" style:--url={`url(${onBoardIntro})`}>
<div class="grid-1-2-col-1">
<h2 class="heading-level-5">Getting started guide</h2>
<h2 class="heading-level-5">Getting started</h2>
<p class="u-line-height-1-5 u-margin-block-start-12">
Here are some next steps to start building
</p>
Expand Down Expand Up @@ -161,10 +161,6 @@
<div class="common-section u-text-center">
<h7 class="heading-level-7">Add a platform to view data about your project</h7>
</div>
<div class="u-margin-block-start-16 u-text-center" style:max-width="550px">
Get insights on bandwidth usage, requests, realtime connections and more after
making your first API call
</div>
</div>
</div>
</article>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
{/if}
<slot>
<div class="u-text-center">
<Heading size="7" tag="h4">Create your first platform to get started.</Heading>
<Heading size="7" tag="h4">Create a platform to get started.</Heading>
<p class="body-text-2 u-bold u-margin-block-start-4">
Need a hand? Learn more in our documentation.
</p>
Expand All @@ -155,16 +155,16 @@
</Button>
<svelte:fragment slot="list">
<DropListItem on:click={() => addPlatform(Platform.Web)}>
Web App
Web
</DropListItem>Ï
<DropListItem on:click={() => addPlatform(Platform.Flutter)}>
Flutter App
Flutter
</DropListItem>
<DropListItem on:click={() => addPlatform(Platform.Android)}>
Android App
Android
</DropListItem>
<DropListItem on:click={() => addPlatform(Platform.Apple)}>
Apple App
Apple
</DropListItem>
</svelte:fragment>
</DropList>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ client
<svelte:fragment slot="title">Initialize SDK</svelte:fragment>

<h2 class="heading-level-7">Initialize your SDK</h2>
<p>
<p data-private>
Initialize your SDK by pointing the client to your Appwrite project using your <Id
value={project}>Project ID</Id>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</Button>
</div>
{:else}
<Empty on:click={() => (showCreateEvent = true)}>Add an event to get started</Empty>
<Empty on:click={() => (showCreateEvent = true)}>Add an event</Empty>
{/if}
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</Button>
</div>
{:else}
<Empty on:click={() => (showCreate = !showCreate)}>Add an event to get started</Empty>
<Empty on:click={() => (showCreate = !showCreate)}>Add an event</Empty>
{/if}
</WizardStep>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/project-[project]/storage/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</GridItem1>
{/each}
<svelte:fragment slot="empty">
<p>Add a new bucket</p>
<p>Create a bucket</p>
</svelte:fragment>
</CardContainer>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{/if}
<Heading tag="h6" size="7">Permissions</Heading>
<p class="text">
Choose who can access your buckets and files. For more information, check out the
Choose who can access your buckets and files. For more information, visit our
<a
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@
<Alert type="info">
<svelte:fragment slot="title">File security is disabled</svelte:fragment>
<p class="text">
If you want to assign document permissions, navigate to Bucket settings
and enable file security. Otherwise, only Bucket permissions will be
used.
If you want to assign document permissions. Go to Bucket settings and
enable file security. Otherwise, only Bucket permissions will be used.
</p>
</Alert>
{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@
<CardGrid hideOverflow>
<Heading tag="h6" size="7" id="permissions">Permissions</Heading>
<p class="text">
Choose who can access your buckets and files. For more information, check out
the <a
Choose who can access your buckets and files. For more information, visit our <a
href="https://appwrite.io/docs/advanced/platform/permissions"
target="_blank"
rel="noopener noreferrer"
Expand Down