From 2900704a4c7a151cb201b7e759d7ba3d5679dc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 15 Mar 2021 15:00:34 +0100 Subject: [PATCH] adds routing to the automation tab --- .../AutomationBuilder.svelte | 17 ++------------ .../AutomationBuilder/BlockList.svelte | 1 - .../AutomationPanel/AutomationList.svelte | 2 ++ .../CreateAutomationModal.svelte | 4 +++- .../TableNavigator/TableNavigator.svelte | 1 - .../automate/[automation]/index.svelte | 22 +++++++++++++++++++ .../pages/[application]/automate/index.svelte | 16 ++++++++++++-- 7 files changed, 43 insertions(+), 20 deletions(-) create mode 100644 packages/builder/src/pages/[application]/automate/[automation]/index.svelte diff --git a/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte b/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte index f8a3699f4d..62faff3caa 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte @@ -1,12 +1,9 @@ diff --git a/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte b/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte index 804dceec87..abc7bd9f96 100644 --- a/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/CreateAutomationModal.svelte @@ -1,5 +1,6 @@ diff --git a/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte b/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte index 3719d62c62..55e62a8a36 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte @@ -4,7 +4,6 @@ import { TableNames } from "constants" import EditTablePopover from "./popovers/EditTablePopover.svelte" import EditViewPopover from "./popovers/EditViewPopover.svelte" - import { Switcher } from "@budibase/bbui" import NavItem from "components/common/NavItem.svelte" $: selectedView = diff --git a/packages/builder/src/pages/[application]/automate/[automation]/index.svelte b/packages/builder/src/pages/[application]/automate/[automation]/index.svelte new file mode 100644 index 0000000000..a702864846 --- /dev/null +++ b/packages/builder/src/pages/[application]/automate/[automation]/index.svelte @@ -0,0 +1,22 @@ + + + + \ No newline at end of file diff --git a/packages/builder/src/pages/[application]/automate/index.svelte b/packages/builder/src/pages/[application]/automate/index.svelte index 8ef6090d90..7d8899a055 100644 --- a/packages/builder/src/pages/[application]/automate/index.svelte +++ b/packages/builder/src/pages/[application]/automate/index.svelte @@ -1,7 +1,8 @@ - + +{#if automationCount === 0} + Create your first automation to get started +{:else}Select an automation to edit{/if} + +