From ae1bad673a9c0361aec33a5068b11556f25ef33a Mon Sep 17 00:00:00 2001 From: John Chilton Date: Tue, 19 Dec 2023 12:13:44 -0500 Subject: [PATCH] Handle implicit collection mapping in Markdown's IO streams directives --- .../components/Markdown/Elements/ToolStd.vue | 68 ++++++++++++++----- client/src/components/Markdown/Markdown.vue | 3 - .../components/Markdown/MarkdownContainer.vue | 8 +-- client/src/stores/jobStore.ts | 2 + 4 files changed, 56 insertions(+), 25 deletions(-) diff --git a/client/src/components/Markdown/Elements/ToolStd.vue b/client/src/components/Markdown/Elements/ToolStd.vue index 522d9709ba1e..dc266416f53d 100644 --- a/client/src/components/Markdown/Elements/ToolStd.vue +++ b/client/src/components/Markdown/Elements/ToolStd.vue @@ -1,34 +1,70 @@ diff --git a/client/src/components/Markdown/Markdown.vue b/client/src/components/Markdown/Markdown.vue index 2d84435e7db5..7fdbf5b15f71 100644 --- a/client/src/components/Markdown/Markdown.vue +++ b/client/src/components/Markdown/Markdown.vue @@ -54,7 +54,6 @@ :collections="collections" :histories="histories" :invocations="invocations" - :jobs="jobs" :time="time" :version="version" :workflows="workflows" /> @@ -134,7 +133,6 @@ export default { histories: {}, collections: {}, workflows: {}, - jobs: {}, invocations: {}, loading: true, workflowID: "", @@ -193,7 +191,6 @@ export default { this.histories = config.histories || {}; this.collections = config.history_dataset_collections || {}; this.workflows = config.workflows || {}; - this.jobs = config.jobs || {}; this.invocations = config.invocations || {}; this.loading = false; this.workflowID = Object.keys(this.markdownConfig.workflows)[0]; diff --git a/client/src/components/Markdown/MarkdownContainer.vue b/client/src/components/Markdown/MarkdownContainer.vue index 93db33c4a2df..72f487deb26e 100644 --- a/client/src/components/Markdown/MarkdownContainer.vue +++ b/client/src/components/Markdown/MarkdownContainer.vue @@ -49,10 +49,6 @@ const props = defineProps({ type: Object, default: null, }, - jobs: { - type: Object, - default: null, - }, time: { type: String, default: null, @@ -174,8 +170,8 @@ function argToBoolean(args, name, booleanDefault) { + :implicit-collection-jobs-id="args.implicit_collection_jobs_id" + :name="name" />