From f2d6088b8a5a396bf24310becad1aebb820f6898 Mon Sep 17 00:00:00 2001 From: Arman Date: Mon, 12 Dec 2022 15:21:54 +0100 Subject: [PATCH] feat: improvement to support screens --- package-lock.json | 28 +++++++-------- package.json | 4 +-- src/lib/components/support.svelte | 15 ++++++-- src/lib/layout/header.svelte | 35 ++++++------------ src/lib/layout/wizard.svelte | 16 +++++---- src/routes/console/supportWizard.svelte | 42 ++++++++++++++++++++-- src/routes/console/wizard/step1.svelte | 48 ++++++++++++++++++++----- src/routes/console/wizard/store.ts | 2 ++ 8 files changed, 129 insertions(+), 61 deletions(-) diff --git a/package-lock.json b/package-lock.json index 785ae480a..c4088bf1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "dependencies": { "@analytics/google-analytics": "^1.0.5", "@aw-labs/appwrite-console": "^13.0.0", - "@aw-labs/icons": "0.0.0-77", - "@aw-labs/ui": "0.0.0-77", + "@aw-labs/icons": "0.0.0-79", + "@aw-labs/ui": "0.0.0-79", "@popperjs/core": "^2.11.6", "@sentry/svelte": "^7.19.0", "@sentry/tracing": "^7.19.0", @@ -154,14 +154,14 @@ } }, "node_modules/@aw-labs/icons": { - "version": "0.0.0-77", - "resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-77.tgz", - "integrity": "sha512-z/gH6B//qShnlJbf1sxv0ltSbRvJha1El0pl4jACAWDD+orgh2hzBrv6YdgPi1AVBTacu2GWWTcyobItghbpgA==" + "version": "0.0.0-79", + "resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-79.tgz", + "integrity": "sha512-tp9+1pzaQcKRuyIU/XECfnu+mWFbZ9rq4MqpsHyWDFlIZ3FeUuGzzkam6aq0M66bJdrP/Vhg7t5zpuQQpvZqRg==" }, "node_modules/@aw-labs/ui": { - "version": "0.0.0-77", - "resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-77.tgz", - "integrity": "sha512-y/7cbPFcK+jUnarsn9X1arrIB69RVMPWMjjIiiaX7uSa0rq9ZN1agBZxfA63meyh23kdIK4K5CcJhatShMMsYg==", + "version": "0.0.0-79", + "resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-79.tgz", + "integrity": "sha512-IQNi2UR/0pmJ/aiLtcV9AyjubJfHoT02fgSobEfcdlneHjNQWXjQaTKyKfNcPC7BmJJ4MTpdFUBF7CKjIyuDRQ==", "dependencies": { "@aw-labs/icons": "*", "normalize.css": "^8.0.1", @@ -7749,14 +7749,14 @@ } }, "@aw-labs/icons": { - "version": "0.0.0-77", - "resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-77.tgz", - "integrity": "sha512-z/gH6B//qShnlJbf1sxv0ltSbRvJha1El0pl4jACAWDD+orgh2hzBrv6YdgPi1AVBTacu2GWWTcyobItghbpgA==" + "version": "0.0.0-79", + "resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-79.tgz", + "integrity": "sha512-tp9+1pzaQcKRuyIU/XECfnu+mWFbZ9rq4MqpsHyWDFlIZ3FeUuGzzkam6aq0M66bJdrP/Vhg7t5zpuQQpvZqRg==" }, "@aw-labs/ui": { - "version": "0.0.0-77", - "resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-77.tgz", - "integrity": "sha512-y/7cbPFcK+jUnarsn9X1arrIB69RVMPWMjjIiiaX7uSa0rq9ZN1agBZxfA63meyh23kdIK4K5CcJhatShMMsYg==", + "version": "0.0.0-79", + "resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-79.tgz", + "integrity": "sha512-IQNi2UR/0pmJ/aiLtcV9AyjubJfHoT02fgSobEfcdlneHjNQWXjQaTKyKfNcPC7BmJJ4MTpdFUBF7CKjIyuDRQ==", "requires": { "@aw-labs/icons": "*", "normalize.css": "^8.0.1", diff --git a/package.json b/package.json index cbd2c487c..8c45ccdc7 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "@analytics/google-analytics": "^1.0.5", "analytics": "^0.8.1", "@aw-labs/appwrite-console": "^13.0.0", - "@aw-labs/icons": "0.0.0-77", - "@aw-labs/ui": "0.0.0-77", + "@aw-labs/icons": "0.0.0-79", + "@aw-labs/ui": "0.0.0-79", "@popperjs/core": "^2.11.6", "@sentry/svelte": "^7.19.0", "@sentry/tracing": "^7.19.0", diff --git a/src/lib/components/support.svelte b/src/lib/components/support.svelte index 46f9571ec..8eece0c52 100644 --- a/src/lib/components/support.svelte +++ b/src/lib/components/support.svelte @@ -25,20 +25,29 @@ -

troubleshooting

- +
{/if} - + {#if $feedback.type === 'nps'} @@ -84,22 +78,15 @@ {/if} -
- - {#if showSupport} -
- -
- {/if} -
+ + + + +