From 2f669e7b26ba350af6c0c14bff7eb96afaa3b680 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 6 Oct 2021 14:33:21 +0100 Subject: [PATCH] Redesign UX, get rid of welcome screen --- .../components/start/CreateAppModal.svelte | 14 ++-- .../components/start/OnboardingModal.svelte | 45 ------------- .../src/components/start/TemplateList.svelte | 64 ++++++++++++++----- .../pages/builder/portal/apps/index.svelte | 3 +- 4 files changed, 58 insertions(+), 68 deletions(-) delete mode 100644 packages/builder/src/components/start/OnboardingModal.svelte diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index 18281d2e5f..fae0f80f0d 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -140,8 +140,8 @@ {#if showTemplateSelection} { showTemplateSelection = false @@ -150,12 +150,14 @@ showCancelButton={false} showCloseIcon={false} > - - One of the coolest things about Budibase is that you don't have to start - from scratch. Simply select a template below, and get to work. - + Select a template below, or start from scratch. { + if (!selected) { + showTemplateSelection = false + return + } + template = selected }} /> diff --git a/packages/builder/src/components/start/OnboardingModal.svelte b/packages/builder/src/components/start/OnboardingModal.svelte deleted file mode 100644 index 3041585577..0000000000 --- a/packages/builder/src/components/start/OnboardingModal.svelte +++ /dev/null @@ -1,45 +0,0 @@ - - -{#if step === 0} - - -

Welcome to Budibase!

-

- We're different from other development tools in some really special - ways, so we'd like to take you through them. -

- - Budibase community world -
-{:else if step === 1} - -{/if} - - diff --git a/packages/builder/src/components/start/TemplateList.svelte b/packages/builder/src/components/start/TemplateList.svelte index d555fcf273..576415762a 100644 --- a/packages/builder/src/components/start/TemplateList.svelte +++ b/packages/builder/src/components/start/TemplateList.svelte @@ -1,5 +1,5 @@