From 87492740efe7c5f8a6a8f7cb1e7ffe0818327ab1 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 | 26 +++++++++++- .../Markdown/Elements/JobParameters.vue | 26 +++++++++++- .../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, 142 insertions(+), 4 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..7620f9539aec 100644 --- a/client/src/components/Markdown/Elements/JobMetrics.vue +++ b/client/src/components/Markdown/Elements/JobMetrics.vue @@ -1,5 +1,10 @@