From 03d6a75af8fc62e3723f7acad2b7db9d80eb1acf Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 22 Jul 2022 12:04:20 +0100 Subject: [PATCH 01/28] Replace preview icon with button --- .../components/deploy/DeployNavigation.svelte | 16 +++++++++++++++- .../builder/app/[application]/_layout.svelte | 19 ++++++++----------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/packages/builder/src/components/deploy/DeployNavigation.svelte b/packages/builder/src/components/deploy/DeployNavigation.svelte index d12b31beaf..676d7a5b7f 100644 --- a/packages/builder/src/components/deploy/DeployNavigation.svelte +++ b/packages/builder/src/components/deploy/DeployNavigation.svelte @@ -56,6 +56,10 @@ } } + const previewApp = () => { + window.open(`/${application}`) + } + const viewApp = () => { analytics.captureEvent(Events.APP_VIEW_PUBLISHED, { appId: selectedApp.appId, @@ -174,7 +178,10 @@ Are you sure you want to unpublish the app {selectedApp?.name}? - +
+ + +
diff --git a/packages/builder/src/pages/builder/app/[application]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/_layout.svelte index df84277142..54b685f541 100644 --- a/packages/builder/src/pages/builder/app/[application]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_layout.svelte @@ -1,7 +1,14 @@ - $goto("../new")} - showExpandIcon - borderRight -> + +
+ +