From 3d66e71d7d4090c8b28b9ef99bbd3ea4d325d6df Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 9 Sep 2022 20:06:29 +0100 Subject: [PATCH] Fixing an issue with deleting large apps with a lot of internal table data and adding back the export modal which allows picking whether an export includes internal table rows - #7583. --- .../components/start/ExportAppModal.svelte | 14 ++++++++++--- .../pages/builder/portal/apps/index.svelte | 9 +++------ .../overview/[application]/index.svelte | 20 ++++++++++++------- packages/server/src/api/controllers/backup.js | 3 ++- .../server/src/utilities/fileSystem/index.js | 12 +++++------ packages/server/src/utilities/index.js | 8 ++++++++ .../server/src/utilities/usageQuota/rows.js | 3 ++- 7 files changed, 45 insertions(+), 24 deletions(-) diff --git a/packages/builder/src/components/start/ExportAppModal.svelte b/packages/builder/src/components/start/ExportAppModal.svelte index 05a42dfa4a..25c0606c14 100644 --- a/packages/builder/src/components/start/ExportAppModal.svelte +++ b/packages/builder/src/components/start/ExportAppModal.svelte @@ -1,16 +1,24 @@ - + + Apps can be exported with or without data that is within internal tables - + select this below. diff --git a/packages/builder/src/pages/builder/portal/apps/index.svelte b/packages/builder/src/pages/builder/portal/apps/index.svelte index 13d23f6a51..88d35bfa23 100644 --- a/packages/builder/src/pages/builder/portal/apps/index.svelte +++ b/packages/builder/src/pages/builder/portal/apps/index.svelte @@ -15,7 +15,6 @@ import Spinner from "components/common/Spinner.svelte" import CreateAppModal from "components/start/CreateAppModal.svelte" import UpdateAppModal from "components/start/UpdateAppModal.svelte" - import ExportAppModal from "components/start/ExportAppModal.svelte" import { store, automationStore } from "builderStore" import { API } from "api" @@ -33,7 +32,6 @@ let selectedApp let creationModal let updatingModal - let exportModal let creatingApp = false let loaded = $apps?.length || $templates?.length let searchTerm = "" @@ -41,6 +39,9 @@ let creatingFromTemplate = false let automationErrors let accessFilterList = null + let welcomeHeader, welcomeBody + let createAppButtonText + let enrichedApps, filteredApps, lockedApps, unlocked const resolveWelcomeMessage = (auth, apps) => { const userWelcome = auth?.user?.firstName @@ -407,10 +408,6 @@ - - - -