From 05c0cc1bacc0d6415808352b5a84db7f7c47bff5 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 29 Nov 2023 12:38:50 -0500 Subject: [PATCH] Expose more tool information / navigability in UI. We had a specific request that job parameter displays that "For: Job parameters as table. The output doesn't show what tool was used, it would be good if it did." I don't want to populate the widget directly with information because it might disrupt the flow of the report but I agree it should be navigable. So I have augmented the widget such that is a title is added - a little info icon will appear in the title span that will show a link to the tool and render the name as it would appear in the tool form. This information should be available in other places for the same reason IMO. So this popover is now used in the job metrics table the same way as well as in the workflow step display Markdown component and in the invocation step display component. --- .../Markdown/Elements/JobMetrics.vue | 30 ++++++++++++-- .../Markdown/Elements/JobParameters.vue | 30 ++++++++++++-- .../Elements/Workflow/WorkflowDisplay.vue | 10 ++++- client/src/components/Tool/ToolLink.vue | 41 +++++++++++++++++++ .../src/components/Tool/ToolLinkPopover.vue | 24 +++++++++++ .../WorkflowInvocationStep.vue | 14 ++++++- client/src/stores/jobStore.ts | 2 + lib/galaxy/managers/workflows.py | 2 + lib/galaxy/model/__init__.py | 1 + 9 files changed, 146 insertions(+), 8 deletions(-) create mode 100644 client/src/components/Tool/ToolLink.vue create mode 100644 client/src/components/Tool/ToolLinkPopover.vue diff --git a/client/src/components/Markdown/Elements/JobMetrics.vue b/client/src/components/Markdown/Elements/JobMetrics.vue index e350e3ac11c1..1f6bd4e66d5c 100644 --- a/client/src/components/Markdown/Elements/JobMetrics.vue +++ b/client/src/components/Markdown/Elements/JobMetrics.vue @@ -1,5 +1,10 @@