+
+
+ {{ inProgressMessage }}
+
+
+
+ {{ completedMessage }}
+
+
+
+ {{ failedMessage }}
+
+ Reason: {{ status }}
+
+
+
+ {{ requestFailedMessage }}
+
+
+
From e3cfa01a89165c89021383ff0f79df5aeb051ea5 Mon Sep 17 00:00:00 2001
From: davelopez <46503462+davelopez@users.noreply.github.com>
Date: Mon, 8 Jul 2024 15:06:48 +0200
Subject: [PATCH 16/17] Replace export logic in InvocationExportPluginCard
This will improve the export experience when the process is long so the
user can navigate away from the page and still see the progress of the
export or be able to download the result when it's ready.
- Remove the ExportToRemoteButton and the StsDownloadButton and replace them with a simpler ExportButton that only reacts to the busy state.
- Add 2 persistent progress trackers (alert) one for each type of export task.
---
.../Invocation/Export/ExportButton.vue | 32 ++++++
.../Export/ExportToRemoteButton.vue | 49 ---------
.../Export/InvocationExportPluginCard.vue | 100 ++++++++++++++----
3 files changed, 110 insertions(+), 71 deletions(-)
create mode 100644 client/src/components/Workflow/Invocation/Export/ExportButton.vue
delete mode 100644 client/src/components/Workflow/Invocation/Export/ExportToRemoteButton.vue
diff --git a/client/src/components/Workflow/Invocation/Export/ExportButton.vue b/client/src/components/Workflow/Invocation/Export/ExportButton.vue
new file mode 100644
index 000000000000..fd1199c2f739
--- /dev/null
+++ b/client/src/components/Workflow/Invocation/Export/ExportButton.vue
@@ -0,0 +1,32 @@
+
+
+