-
Total results: {results?.total}
-
+
+ Select users
+
+ {#if results?.users}
+
+
+
+ {#each results.users as user (user.$id)}
+ {@const role = `user:${user.$id}`}
+ {@const exists = $groups.has(role)}
+
+ |
+ onSelection(event, role)} />
+ |
+
+
+ |
+
+ {/each}
+
+
-
-
-
-
-
+ {/if}
+
+
Total results: {results?.total}
+
+
+
+
+
+
diff --git a/src/lib/layout/wizardExitModal.svelte b/src/lib/layout/wizardExitModal.svelte
index d9ab70bd7..8f29e59d9 100644
--- a/src/lib/layout/wizardExitModal.svelte
+++ b/src/lib/layout/wizardExitModal.svelte
@@ -1,6 +1,6 @@
-
+
+ Exit Process
+
+ Are you sure you want to exit from ? All data will be deleted. This action is
+ irreversible.
+
+
+
+
+
+
diff --git a/src/routes/console/account/delete.svelte b/src/routes/console/account/delete.svelte
index f64b36636..0e6a1e46e 100644
--- a/src/routes/console/account/delete.svelte
+++ b/src/routes/console/account/delete.svelte
@@ -1,6 +1,6 @@
-
+
+ Delete Account
+ Are you sure you want to delete your account?
+
+
+
+
+
diff --git a/src/routes/console/createOrganization.svelte b/src/routes/console/createOrganization.svelte
index acce5fe55..93caa9649 100644
--- a/src/routes/console/createOrganization.svelte
+++ b/src/routes/console/createOrganization.svelte
@@ -1,7 +1,7 @@
-
+
+ Create New Organization
+
+
+ {#if !showCustomId}
+
+
(showCustomId = !showCustomId)}>
+
+ Organization ID
+
+
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
diff --git a/src/routes/console/organization-[organization]/createMember.svelte b/src/routes/console/organization-[organization]/createMember.svelte
index 925708576..8149227b5 100644
--- a/src/routes/console/organization-[organization]/createMember.svelte
+++ b/src/routes/console/organization-[organization]/createMember.svelte
@@ -1,7 +1,7 @@
-
+
+ Invite Member
+
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/organization-[organization]/createProject.svelte b/src/routes/console/organization-[organization]/createProject.svelte
index 92160bd86..953552594 100644
--- a/src/routes/console/organization-[organization]/createProject.svelte
+++ b/src/routes/console/organization-[organization]/createProject.svelte
@@ -1,7 +1,7 @@
-
+
+ Create Project
+
+
+ {#if !showCustomId}
+
+
(showCustomId = !showCustomId)}>
+
+ Project ID
+
+
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
diff --git a/src/routes/console/organization-[organization]/deleteMember.svelte b/src/routes/console/organization-[organization]/deleteMember.svelte
index d40267d58..68e4fcca9 100644
--- a/src/routes/console/organization-[organization]/deleteMember.svelte
+++ b/src/routes/console/organization-[organization]/deleteMember.svelte
@@ -2,7 +2,7 @@
import { base } from '$app/paths';
import { goto } from '$app/navigation';
import { Modal } from '$lib/components';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForConsole } from '$lib/stores/sdk';
import type { Models } from '@aw-labs/appwrite-console';
@@ -40,19 +40,17 @@
$: isUser = selectedMember.userId === $user.$id;
-
+
+
+ {isUser ? 'Leave Organization' : 'Delete Member'}
+
+
+ {isUser
+ ? `Are you sure you want to leave '${selectedMember.teamName}'?`
+ : `Are you sure you want to delete ${selectedMember.userName} from '${selectedMember.teamName}'?`}
+
+
+
+
+
+
diff --git a/src/routes/console/organization-[organization]/deleteOrganization.svelte b/src/routes/console/organization-[organization]/deleteOrganization.svelte
index 15c9ca702..d6de9d113 100644
--- a/src/routes/console/organization-[organization]/deleteOrganization.svelte
+++ b/src/routes/console/organization-[organization]/deleteOrganization.svelte
@@ -1,6 +1,6 @@
-
+
+ Delete Organization
+
+ Are you sure you want to delete {$organization.name}? All projects ({$organization.total})
+ and data associated with this organization will be deleted. This action is irreversible.
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_appleOAuth.svelte b/src/routes/console/project-[project]/authentication/_appleOAuth.svelte
index 181236ece..97f64f1ba 100644
--- a/src/routes/console/project-[project]/authentication/_appleOAuth.svelte
+++ b/src/routes/console/project-[project]/authentication/_appleOAuth.svelte
@@ -1,14 +1,7 @@
-
+
+ {provider.name} OAuth2 Settings
+
+
+ To use {provider.name} authentication in your application, first fill in this form. For more
+ info you can
+
+ visit the docs.
+
+
+
+
+
+
+
+
+ To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_auth0OAuth.svelte b/src/routes/console/project-[project]/authentication/_auth0OAuth.svelte
index 8a07aed3c..b5c85478b 100644
--- a/src/routes/console/project-[project]/authentication/_auth0OAuth.svelte
+++ b/src/routes/console/project-[project]/authentication/_auth0OAuth.svelte
@@ -1,14 +1,7 @@
-
+
+ {provider.name} OAuth2 Settings
+
+
+ To use {provider.name} authentication in your application, first fill in this form. For more
+ info you can
+ visit the docs.
+
+
+
+
+
+
+ To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_createTeam.svelte b/src/routes/console/project-[project]/authentication/_createTeam.svelte
index 88004bd2a..080ed9964 100644
--- a/src/routes/console/project-[project]/authentication/_createTeam.svelte
+++ b/src/routes/console/project-[project]/authentication/_createTeam.svelte
@@ -1,7 +1,7 @@
-
+
+ Create Team
+
+
+ {#if !showCustomId}
+
+
(showCustomId = !showCustomId)}
+ >
+ Team ID
+
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_createUser.svelte b/src/routes/console/project-[project]/authentication/_createUser.svelte
index f4c6858f4..eba9fba72 100644
--- a/src/routes/console/project-[project]/authentication/_createUser.svelte
+++ b/src/routes/console/project-[project]/authentication/_createUser.svelte
@@ -7,7 +7,6 @@
InputEmail,
InputText,
InputPhone,
- Form,
FormList
} from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
@@ -53,40 +52,38 @@
}
-
+ {#if !showDropdown}
+
+
(showDropdown = !showDropdown)}>
+
+ User ID
+
+
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_mainOAuth.svelte b/src/routes/console/project-[project]/authentication/_mainOAuth.svelte
index 5c6074b32..88b5272cf 100644
--- a/src/routes/console/project-[project]/authentication/_mainOAuth.svelte
+++ b/src/routes/console/project-[project]/authentication/_mainOAuth.svelte
@@ -1,14 +1,7 @@
-
+
+ {provider.name} OAuth2 Settings
+
+
+ To use {provider.name} authentication in your application, first fill in this form. For more
+ info you can
+ visit the docs.
+
+
+
+
+
+ To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_microsoftOAuth.svelte b/src/routes/console/project-[project]/authentication/_microsoftOAuth.svelte
index 695453153..84338c5e4 100644
--- a/src/routes/console/project-[project]/authentication/_microsoftOAuth.svelte
+++ b/src/routes/console/project-[project]/authentication/_microsoftOAuth.svelte
@@ -1,14 +1,7 @@
-
+
+ {provider.name} OAuth2 Settings
+
+
+ To use {provider.name} authentication in your application, first fill in this form. For more
+ info you can
+
+ visit the docs.
+
+
+
+
+
+
+
+ To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/_oktaOAuth.svelte b/src/routes/console/project-[project]/authentication/_oktaOAuth.svelte
index 01ec179b7..6b2bac5d7 100644
--- a/src/routes/console/project-[project]/authentication/_oktaOAuth.svelte
+++ b/src/routes/console/project-[project]/authentication/_oktaOAuth.svelte
@@ -1,14 +1,7 @@
-
+
+ To complete set up, add this OAuth2 redirect URI to your {provider.name} app configuration.
+
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/teams/team-[team]/createMembership.svelte b/src/routes/console/project-[project]/authentication/teams/team-[team]/createMembership.svelte
index 742dde867..155c41180 100644
--- a/src/routes/console/project-[project]/authentication/teams/team-[team]/createMembership.svelte
+++ b/src/routes/console/project-[project]/authentication/teams/team-[team]/createMembership.svelte
@@ -1,7 +1,7 @@
-
+
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteMembership.svelte b/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteMembership.svelte
index 19fafb6a3..30c91e5fc 100644
--- a/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteMembership.svelte
+++ b/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteMembership.svelte
@@ -3,7 +3,7 @@
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Modal } from '$lib/components';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import type { Models } from '@aw-labs/appwrite-console';
@@ -34,15 +34,13 @@
};
-
+
+ Delete Member
+
+ Are you sure you want to delete {selectedMembership.userName} from '{selectedMembership.teamName}'?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteTeam.svelte b/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteTeam.svelte
index e906e405e..5447d9162 100644
--- a/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteTeam.svelte
+++ b/src/routes/console/project-[project]/authentication/teams/team-[team]/deleteTeam.svelte
@@ -3,7 +3,7 @@
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Modal } from '$lib/components';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import type { Models } from '@aw-labs/appwrite-console';
@@ -25,16 +25,14 @@
};
-
+
+ Are you sure you want to delete {team.name}?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/user-[user]/deleteAllMemberships.svelte b/src/routes/console/project-[project]/authentication/user-[user]/deleteAllMemberships.svelte
index 0a853040b..58a522966 100644
--- a/src/routes/console/project-[project]/authentication/user-[user]/deleteAllMemberships.svelte
+++ b/src/routes/console/project-[project]/authentication/user-[user]/deleteAllMemberships.svelte
@@ -3,7 +3,7 @@
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Modal } from '$lib/components';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import { user } from './store';
@@ -32,16 +32,14 @@
//TODO: implelment delete all memberships
-
+
+ Are you sure you want to delete {$user.name}'s all memberships?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/user-[user]/deleteAllSessions.svelte b/src/routes/console/project-[project]/authentication/user-[user]/deleteAllSessions.svelte
index 5dbe05bbb..f80d82f50 100644
--- a/src/routes/console/project-[project]/authentication/user-[user]/deleteAllSessions.svelte
+++ b/src/routes/console/project-[project]/authentication/user-[user]/deleteAllSessions.svelte
@@ -3,7 +3,7 @@
import { page } from '$app/stores';
import { Modal } from '$lib/components';
import { Dependencies } from '$lib/constants';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import { user } from './store';
@@ -28,15 +28,13 @@
};
-
+
+ Delete All Sessions
+
+ Are you sure you want to delete all of {$user.name}'s sessions?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/user-[user]/deleteMembership.svelte b/src/routes/console/project-[project]/authentication/user-[user]/deleteMembership.svelte
index 2b1cb76d6..c398d6120 100644
--- a/src/routes/console/project-[project]/authentication/user-[user]/deleteMembership.svelte
+++ b/src/routes/console/project-[project]/authentication/user-[user]/deleteMembership.svelte
@@ -4,7 +4,7 @@
import { page } from '$app/stores';
import { Modal } from '$lib/components';
import { Dependencies } from '$lib/constants';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import type { Models } from '@aw-labs/appwrite-console';
@@ -37,15 +37,13 @@
};
-
+
+ Delete Member
+
+ Are you sure you want to delete {selectedMembership.userName} from '{selectedMembership.teamName}'?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/user-[user]/deleteSession.svelte b/src/routes/console/project-[project]/authentication/user-[user]/deleteSession.svelte
index e346e4ce3..8091070ce 100644
--- a/src/routes/console/project-[project]/authentication/user-[user]/deleteSession.svelte
+++ b/src/routes/console/project-[project]/authentication/user-[user]/deleteSession.svelte
@@ -3,7 +3,7 @@
import { page } from '$app/stores';
import { Modal } from '$lib/components';
import { Dependencies } from '$lib/constants';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
@@ -27,14 +27,12 @@
};
-
+
Are you sure you want to delete this session?
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/authentication/user-[user]/deleteUser.svelte b/src/routes/console/project-[project]/authentication/user-[user]/deleteUser.svelte
index 4a8d50daa..737db2113 100644
--- a/src/routes/console/project-[project]/authentication/user-[user]/deleteUser.svelte
+++ b/src/routes/console/project-[project]/authentication/user-[user]/deleteUser.svelte
@@ -3,7 +3,7 @@
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Modal } from '$lib/components';
- import { Button, Form } from '$lib/elements/forms';
+ import { Button } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdkForProject } from '$lib/stores/sdk';
import { user } from './store';
@@ -29,13 +29,11 @@
};
-
+
+ Delete User
+ Are you sure you want to delete {$user.name} from '{$project.name}'?
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/databases/_create.svelte b/src/routes/console/project-[project]/databases/_create.svelte
index 864baecc4..eed9550f6 100644
--- a/src/routes/console/project-[project]/databases/_create.svelte
+++ b/src/routes/console/project-[project]/databases/_create.svelte
@@ -1,7 +1,7 @@
-
+ {#if !showCustomId}
+
+
(showCustomId = !showCustomId)}
+ >
+ Database ID
+
+
+ {:else}
+
+ {/if}
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte
index 6e9a8388a..2714091da 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/+page.svelte
@@ -120,8 +120,6 @@
-{#if selectedAttribute}
-
-
-
-{/if}
+
+
+
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/createAttribute.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/createAttribute.svelte
index 716158353..7bca49fd3 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/createAttribute.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/createAttribute.svelte
@@ -1,7 +1,7 @@
-
+
+ Are you sure you want to delete the document from {$collection.name}?
+
+
+
+
+
+
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/indexes/createIndex.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/indexes/createIndex.svelte
index a18878840..c8f444c73 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/indexes/createIndex.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/indexes/createIndex.svelte
@@ -1,6 +1,6 @@
-