From fd0eb91e81b6c2321101157aae77470339f9842b Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 20 Dec 2022 12:06:08 +0000 Subject: [PATCH] Update overview automation history tab --- .../src/components/deploy/DeployModal.svelte | 8 +- .../overview/automation/StatusRenderer.svelte | 39 ---- .../[appId]/_components/AutomationTab.svelte | 11 - .../_components}/HistoryDetailsPanel.svelte | 0 .../_components/StatusRenderer.svelte | 27 +++ .../[appId]/automation-history/index.svelte} | 189 +++++++++--------- .../_components}/ActionsRenderer.svelte | 0 .../_components}/AppSizeRenderer.svelte | 0 .../_components}/CreateBackupModal.svelte | 0 .../_components}/CreateRestoreModal.svelte | 0 .../_components}/DatasourceRenderer.svelte | 0 .../backups/_components}/NameRenderer.svelte | 0 .../_components}/StatusRenderer.svelte | 0 .../backups/_components}/TypeRenderer.svelte | 0 .../backups/_components}/UserRenderer.svelte | 0 .../overview/[appId]/backups/index.svelte} | 14 +- 16 files changed, 134 insertions(+), 154 deletions(-) delete mode 100644 packages/builder/src/components/portal/overview/automation/StatusRenderer.svelte delete mode 100644 packages/builder/src/pages/builder/portal/overview/[appId]/_components/AutomationTab.svelte rename packages/builder/src/{components/portal/overview/automation => pages/builder/portal/overview/[appId]/automation-history/_components}/HistoryDetailsPanel.svelte (100%) create mode 100644 packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/StatusRenderer.svelte rename packages/builder/src/{components/portal/overview/automation/HistoryTab.svelte => pages/builder/portal/overview/[appId]/automation-history/index.svelte} (59%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/ActionsRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/AppSizeRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/CreateBackupModal.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/CreateRestoreModal.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/DatasourceRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/NameRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/StatusRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/TypeRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups => pages/builder/portal/overview/[appId]/backups/_components}/UserRenderer.svelte (100%) rename packages/builder/src/{components/portal/overview/backups/BackupsTab.svelte => pages/builder/portal/overview/[appId]/backups/index.svelte} (94%) diff --git a/packages/builder/src/components/deploy/DeployModal.svelte b/packages/builder/src/components/deploy/DeployModal.svelte index 870091eb0e..587873e716 100644 --- a/packages/builder/src/components/deploy/DeployModal.svelte +++ b/packages/builder/src/components/deploy/DeployModal.svelte @@ -57,15 +57,13 @@ - The changes you have made will be published to the production version of - the application. + The changes you have made will be published to the production version of the + application. diff --git a/packages/builder/src/components/portal/overview/automation/StatusRenderer.svelte b/packages/builder/src/components/portal/overview/automation/StatusRenderer.svelte deleted file mode 100644 index a50932c582..0000000000 --- a/packages/builder/src/components/portal/overview/automation/StatusRenderer.svelte +++ /dev/null @@ -1,39 +0,0 @@ - - -
- -
- {status.message} -
-
- - diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/_components/AutomationTab.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/_components/AutomationTab.svelte deleted file mode 100644 index 56dcc40f87..0000000000 --- a/packages/builder/src/pages/builder/portal/overview/[appId]/_components/AutomationTab.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - -
- - diff --git a/packages/builder/src/components/portal/overview/automation/HistoryDetailsPanel.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/HistoryDetailsPanel.svelte similarity index 100% rename from packages/builder/src/components/portal/overview/automation/HistoryDetailsPanel.svelte rename to packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/HistoryDetailsPanel.svelte diff --git a/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/StatusRenderer.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/StatusRenderer.svelte new file mode 100644 index 0000000000..f041faa349 --- /dev/null +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/_components/StatusRenderer.svelte @@ -0,0 +1,27 @@ + + + + {info.message} + diff --git a/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte b/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/index.svelte similarity index 59% rename from packages/builder/src/components/portal/overview/automation/HistoryTab.svelte rename to packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/index.svelte index 0ba9ff97d5..02414f4a2b 100644 --- a/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[appId]/automation-history/index.svelte @@ -1,21 +1,27 @@ -
- -