From 3ac278b77e50fb2c740aa871ec4d9aaa3169b660 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 26 Apr 2022 16:37:12 +0100 Subject: [PATCH] Improve UI and state management around adding new components --- .../design/components/[screenId]/index.svelte | 9 ++++++--- .../NewComponentTargetPanel.svelte | 11 +++++++++-- .../components/[screenId]/new/index.svelte | 19 +++++++++++++++++++ 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/index.svelte index 02ce985c9f..f8c4cc0868 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/index.svelte @@ -1,11 +1,14 @@ - + - The component you add will be placed inside Screen + The component you add will be placed inside {title} diff --git a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/index.svelte b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/index.svelte index 4f8a42c6d4..8f2042671b 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/components/[screenId]/new/index.svelte @@ -1,6 +1,25 @@