From 21191ffed38c62a62855c1b7ce6fd6cc9b20f018 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 2 Nov 2023 19:01:39 +0100 Subject: [PATCH] Simple Wizard for running UDPs without URL manipulation --- src/components/modals/WizardModal.vue | 11 ++-- src/components/wizards/UDP.vue | 73 ++++++++++++++++++++------- 2 files changed, 59 insertions(+), 25 deletions(-) diff --git a/src/components/modals/WizardModal.vue b/src/components/modals/WizardModal.vue index d65ab0b64..c783b7268 100644 --- a/src/components/modals/WizardModal.vue +++ b/src/components/modals/WizardModal.vue @@ -81,17 +81,16 @@ export default { show: true, selected: null, usecases: [ - { - component: 'UDP', - title: () => typeof this.options.process === 'string' ? this.options.process.replace(/@.+/, '') : 'Run UDP', - description: 'Executes a user-defined process', - hide: true - }, { component: 'Download', title: 'Download Data', description: 'Just download a small portion of data.' }, + { + component: 'UDP', + title: () => typeof this.options.process === 'string' ? this.options.process.replace(/@.+/, '') : 'Run UDP', + description: 'Executes a user-defined process' + }, ...(Config.supportedWizards || []) // ToDo: only show usecases that are supported based on processes (requiredProcesses) ], activeTabIndex: 0, diff --git a/src/components/wizards/UDP.vue b/src/components/wizards/UDP.vue index b1da29374..bf71868bf 100644 --- a/src/components/wizards/UDP.vue +++ b/src/components/wizards/UDP.vue @@ -1,11 +1,14 @@