Merge branch 'users' of github.com:appwrite/appwrite-console-poc into storage

This commit is contained in:
Arman committed 2022-06-27 12:14:46 +02:00
commit 29c4f27e65
9 files changed
+29 -23

No files matched your search

+14 -14
View File
@@ -8,8 +8,8 @@
"name": "@appwrite/console",
"version": "0.0.1",
"dependencies": {
"@aw-labs/icons": "^0.0.0-17",
"@aw-labs/ui": "^0.0.0-17",
"@aw-labs/icons": "^0.0.0-18",
"@aw-labs/ui": "^0.0.0-18",
"echarts": "^5.3.3"
},
"devDependencies": {
@@ -58,14 +58,14 @@
}
},
"node_modules/@aw-labs/icons": {
"version": "0.0.0-17",
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-17.tgz",
"integrity": "sha512-/2QX/NWOT7gnQNXv85kgKZDthQTcDZ+WtofLC5ZEar23f1t38Oz2KxUgEVP1/xLiBsSflb8y6IoGT6n04Uh4tA=="
"version": "0.0.0-18",
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-18.tgz",
"integrity": "sha512-ntYgMLihYcSMkpS5NrGokOpr8uP3ELQRktKCZRg0nDqRqPs2U7Z+6c2N895S/lU6P4D4G5TDCagb1d84T2Qt7Q=="
},
"node_modules/@aw-labs/ui": {
"version": "0.0.0-17",
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-17.tgz",
"integrity": "sha512-WCiZ7S5KWZk1ZaF+Z+alTEJn21xM22B5yl+Y4dMYBPu70N0IALZ8RyRQxaQqlpLkIN5LDy4m01X71W3A1miqIw==",
"version": "0.0.0-18",
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-18.tgz",
"integrity": "sha512-T0eYjtZGJuHXUl8ocJ0+07hNbF6+9iMR9e7ObqIoyLkfk+hvY3cUJIWfH1otYArjPLICkaiuWQ+y/pb/eKUL1w==",
"dependencies": {
"@aw-labs/icons": "*"
}
@@ -7807,14 +7807,14 @@
}
},
"@aw-labs/icons": {
"version": "0.0.0-17",
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-17.tgz",
"integrity": "sha512-/2QX/NWOT7gnQNXv85kgKZDthQTcDZ+WtofLC5ZEar23f1t38Oz2KxUgEVP1/xLiBsSflb8y6IoGT6n04Uh4tA=="
"version": "0.0.0-18",
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-18.tgz",
"integrity": "sha512-ntYgMLihYcSMkpS5NrGokOpr8uP3ELQRktKCZRg0nDqRqPs2U7Z+6c2N895S/lU6P4D4G5TDCagb1d84T2Qt7Q=="
},
"@aw-labs/ui": {
"version": "0.0.0-17",
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-17.tgz",
"integrity": "sha512-WCiZ7S5KWZk1ZaF+Z+alTEJn21xM22B5yl+Y4dMYBPu70N0IALZ8RyRQxaQqlpLkIN5LDy4m01X71W3A1miqIw==",
"version": "0.0.0-18",
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-18.tgz",
"integrity": "sha512-T0eYjtZGJuHXUl8ocJ0+07hNbF6+9iMR9e7ObqIoyLkfk+hvY3cUJIWfH1otYArjPLICkaiuWQ+y/pb/eKUL1w==",
"requires": {
"@aw-labs/icons": "*"
}
+2 -2
View File
@@ -19,8 +19,8 @@
"e2e": "playwright test tests/e2e"
},
"dependencies": {
"@aw-labs/icons": "^0.0.0-17",
"@aw-labs/ui": "^0.0.0-17",
"@aw-labs/icons": "^0.0.0-18",
"@aw-labs/ui": "^0.0.0-18",
"echarts": "^5.3.3"
},
"devDependencies": {
+6
View File
@@ -31,6 +31,12 @@
show = false;
dispatch('close');
};
$: if (show) {
document.body.classList.add('u-overflow-hidden');
} else {
document.body.classList.remove('u-overflow-hidden');
}
</script>
<svelte:window on:keydown={handleKeydown} />
@@ -46,7 +46,7 @@
<Container>
<div class="u-flex u-gap-12 common-section u-main-space-between">
<div class="input-text-wrapper u-stretch">
<div class="input-text-wrapper u-stretch" style="max-width: 500px">
<input
type="search"
placeholder="Search by Filename"
@@ -69,7 +69,7 @@
<Container>
<div class="u-flex u-gap-12 common-section u-main-space-between">
<div class="input-text-wrapper u-stretch">
<div class="input-text-wrapper u-stretch" style="max-width: 500px">
<input
type="search"
placeholder="Search Name, Email, or ID"
@@ -48,7 +48,7 @@
<Container>
<div class="u-flex u-gap-12 common-section u-main-space-between">
<div class="input-text-wrapper u-stretch">
<div class="input-text-wrapper u-stretch" style="max-width: 500px">
<input
type="search"
placeholder="Search by Name"
@@ -45,7 +45,7 @@
<Container>
<div class="u-flex u-gap-12 common-section u-main-space-between">
<div class="input-text-wrapper u-stretch">
<div class="input-text-wrapper u-stretch" style="max-width: 500px">
<input
type="search"
placeholder="Search by ID"
@@ -36,8 +36,7 @@
prefs = Object.entries($user.response.prefs);
});
const getAvatar = (name: string) =>
sdkForProject.avatars.getInitials(name, 128, 128).toString();
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 64, 64).toString();
function addError(location: typeof showError, message: string, type: typeof errorType) {
showError = location;
@@ -265,6 +264,7 @@
placeholder="Enter new password"
autocomplete={false}
meter={false}
showPasswordButton={true}
bind:value={newPassword} />
{#if showError === 'password'}
<Helper type={errorType}>{errorMessage}</Helper>
@@ -18,7 +18,7 @@
import DeleteAllMemberships from './_deleteAllMemberships.svelte';
import type { Models } from 'src/sdk';
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 30, 30).toString();
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 40, 40).toString();
const deleted = () => (request = sdkForProject.users.getMemberships($page.params.user));
const project = $page.params.project;