diff --git a/package-lock.json b/package-lock.json
index 084c82e10..ed7dca220 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@analytics/google-analytics": "^1.0.5",
- "@appwrite.io/pink": "^0.0.6-rc.2",
+ "@appwrite.io/pink": "^0.0.6-rc.3",
"@aw-labs/appwrite-console": "^13.1.0",
"@popperjs/core": "^2.11.6",
"@sentry/svelte": "^7.36.0",
@@ -147,9 +147,9 @@
"integrity": "sha512-1Yw7u/COtxx06BfwlI+kVhsa/upKYzmCNrT4c8QDeCY2KMYlnijkUjtHiPU08HxyTIVB5j6d75O0YWVIHwQS8g=="
},
"node_modules/@appwrite.io/pink": {
- "version": "0.0.6-rc.2",
- "resolved": "https://registry.npmjs.org/@appwrite.io/pink/-/pink-0.0.6-rc.2.tgz",
- "integrity": "sha512-PR2TVhLgRwXfdrB+0w9pZv7X2n6WOawArSJXq8jsRF58EzWcl4nf8XkjTsJ9BSU+in9fkmhxNIBywM707jqUcg==",
+ "version": "0.0.6-rc.3",
+ "resolved": "https://registry.npmjs.org/@appwrite.io/pink/-/pink-0.0.6-rc.3.tgz",
+ "integrity": "sha512-oeRwchmRdHjspYJFipc6k/oWOOdaD7TKFwJ1weZMJMF2/GmQ44zCYo2qJhN2tPRb73Wje2dTvnkV6MH/Rxg7vw==",
"dependencies": {
"@appwrite.io/pink-icons": "*",
"normalize.css": "^8.0.1",
diff --git a/package.json b/package.json
index 8a89b8257..cdc61d56f 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@analytics/google-analytics": "^1.0.5",
- "@appwrite.io/pink": "^0.0.6-rc.2",
+ "@appwrite.io/pink": "^0.0.6-rc.3",
"@aw-labs/appwrite-console": "^13.1.0",
"@popperjs/core": "^2.11.6",
"@sentry/svelte": "^7.36.0",
diff --git a/src/lib/components/drop.svelte b/src/lib/components/drop.svelte
index 8e71f7730..4e96d3ab1 100644
--- a/src/lib/components/drop.svelte
+++ b/src/lib/components/drop.svelte
@@ -77,7 +77,7 @@
class="drop-tooltip"
class:u-width-full-line={fullWidth}
bind:this={tooltip}
- style="z-index: 10">
+ style:z-index="10">
{#if show}
diff --git a/src/lib/components/modal.svelte b/src/lib/components/modal.svelte
index afbc40b37..c54fba078 100644
--- a/src/lib/components/modal.svelte
+++ b/src/lib/components/modal.svelte
@@ -5,7 +5,6 @@
export let show = false;
export let size: 'small' | 'big' = null;
- // export let WASD = false;
export let icon: string = null;
export let state: 'success' | 'warning' | 'error' | 'info' = null;
export let error: string = null;
diff --git a/src/routes/console/project-[project]/databases/[[page]]/+page.svelte b/src/routes/console/project-[project]/databases/[[page]]/+page.svelte
index 9c71f0a29..a1cb024e3 100644
--- a/src/routes/console/project-[project]/databases/[[page]]/+page.svelte
+++ b/src/routes/console/project-[project]/databases/[[page]]/+page.svelte
@@ -24,7 +24,7 @@
await goto(`${base}/console/project-${project}/databases/database-${event.detail.$id}`);
}
- $: prefs.subscribe((prefs) => {
+ prefs.subscribe((prefs) => {
if (prefs?.preferredView) {
invalidate(Dependencies.DATABASES);
}
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte
index 164cb626b..dcf0c2dd2 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte
@@ -37,19 +37,13 @@
-
-
+
+
Indicate whether this is a required attribute
-
+
Indicate whether this attribute should act as an array
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte
index a094152ca..deca81e39 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte
@@ -39,7 +39,7 @@
-
-
+
+
-
+
Indicate whether this is a required attribute
-
+
Indicate whether this attribute should act as an array
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte
index 120b1fabe..1f66b62f8 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte
@@ -41,7 +41,6 @@
-
-
+
+
-
+ disabled={data.required || data.array} />
+
Indicate whether this is a required attribute
-
+
Indicate whether this attribute should act as an array
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte
index 0ed4adf4a..14307dba3 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte
@@ -36,12 +36,9 @@
-
+
-
+ disabled={data.required || data.array} />
+
Indicate whether this is a required attribute
-
+
Indicate whether this attribute should act as an array
diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte
index f34f6eae1..b2e1b5e09 100644
--- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte
+++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte
@@ -37,12 +37,9 @@
-
+{#if attribute.direction === 'one'}
+
+{:else if attribute.direction === 'many'}
+
+
+
+
+
+ Relation
+
+
+
+
+ {#if addRelationship === false}
+
+ {/if}
+ {#each attribute?.relationships as relationship}
+ -
+
+
+
+ {/each}
+
+
+
+
Total results: {attribute?.relationships?.length}
+
+
+
+
+{/if}