From c27ec0b5d32ddf52e30527f310e3393ff923b03e Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:57:36 +0200 Subject: [PATCH] Remove additionalActions from invocation export plugins It will be handled now by the wizard logic --- .../BioComputeObjectExportPlugin.ts | 18 ------------------ .../Export/Plugins/DefaultFileExportPlugin.ts | 1 - .../Export/Plugins/ROCrateExportPlugin.ts | 1 - .../Invocation/Export/Plugins/index.ts | 2 -- 4 files changed, 22 deletions(-) diff --git a/client/src/components/Workflow/Invocation/Export/Plugins/BioComputeObject/BioComputeObjectExportPlugin.ts b/client/src/components/Workflow/Invocation/Export/Plugins/BioComputeObject/BioComputeObjectExportPlugin.ts index 8b7c48ac6ba1..2454fa0b3c87 100644 --- a/client/src/components/Workflow/Invocation/Export/Plugins/BioComputeObject/BioComputeObjectExportPlugin.ts +++ b/client/src/components/Workflow/Invocation/Export/Plugins/BioComputeObject/BioComputeObjectExportPlugin.ts @@ -1,12 +1,5 @@ -import { library } from "@fortawesome/fontawesome-svg-core"; -import { faDatabase } from "@fortawesome/free-solid-svg-icons"; - import { type InvocationExportPlugin } from "@/components/Workflow/Invocation/Export/Plugins"; -import SendForm from "./SendForm.vue"; - -library.add(faDatabase); - export const BIO_COMPUTE_OBJ_EXPORT_PLUGIN: InvocationExportPlugin = { id: "bco", title: "BioCompute Object", @@ -25,15 +18,4 @@ Instructions for [creating a BCO using Galaxy](https://w3id.org/biocompute/tutor includeDeleted: false, includeHidden: false, }, - additionalActions: [ - { - id: "send-to-bco-db", - title: "Send to BCODB", - icon: faDatabase, - run: (modal) => { - modal.showModal(); - }, - modal: SendForm, - }, - ], }; diff --git a/client/src/components/Workflow/Invocation/Export/Plugins/DefaultFileExportPlugin.ts b/client/src/components/Workflow/Invocation/Export/Plugins/DefaultFileExportPlugin.ts index 535478acfafd..3408343b6838 100644 --- a/client/src/components/Workflow/Invocation/Export/Plugins/DefaultFileExportPlugin.ts +++ b/client/src/components/Workflow/Invocation/Export/Plugins/DefaultFileExportPlugin.ts @@ -10,5 +10,4 @@ export const DEFAULT_FILE_EXPORT_PLUGIN: InvocationExportPlugin = { includeDeleted: false, includeHidden: false, }, - additionalActions: [], }; diff --git a/client/src/components/Workflow/Invocation/Export/Plugins/ROCrateExportPlugin.ts b/client/src/components/Workflow/Invocation/Export/Plugins/ROCrateExportPlugin.ts index c1ab386351ea..a7b0a18eb4f2 100644 --- a/client/src/components/Workflow/Invocation/Export/Plugins/ROCrateExportPlugin.ts +++ b/client/src/components/Workflow/Invocation/Export/Plugins/ROCrateExportPlugin.ts @@ -15,5 +15,4 @@ Learn more about [RO Crate](https://www.researchobject.org/ro-crate/).`, includeDeleted: false, includeHidden: false, }, - additionalActions: [], }; diff --git a/client/src/components/Workflow/Invocation/Export/Plugins/index.ts b/client/src/components/Workflow/Invocation/Export/Plugins/index.ts index c0363ea4f76f..429535076b56 100644 --- a/client/src/components/Workflow/Invocation/Export/Plugins/index.ts +++ b/client/src/components/Workflow/Invocation/Export/Plugins/index.ts @@ -38,8 +38,6 @@ export interface InvocationExportPlugin { markdownDescription: string; /** The parameters to use when exporting the invocation. */ exportParams: ExportParams; - /** Any additional actions that can be taken in addition to the main export action. */ - additionalActions: InvocationExportPluginAction[]; } /**