diff --git a/client/src/components/Common/ErrorPluginTracker.vue b/client/src/components/Common/ErrorPluginTracker.vue new file mode 100644 index 000000000000..ebe946ef8ff1 --- /dev/null +++ b/client/src/components/Common/ErrorPluginTracker.vue @@ -0,0 +1,15 @@ + + diff --git a/client/src/components/Tool/ToolForm.vue b/client/src/components/Tool/ToolForm.vue index cf05496cfed9..f9752c1ad67b 100644 --- a/client/src/components/Tool/ToolForm.vue +++ b/client/src/components/Tool/ToolForm.vue @@ -13,14 +13,22 @@ {{ errorMessage }} + The server could not complete this request. Please verify your parameter settings, retry submission and contact the Galaxy Team if this error persists. A transcript of the submitted data is shown below. - -
{{ errorContentPretty }}
-
+ + ({{ expandedIcon }}) Error transcript: + + +
{{ errorContentPretty }}
+
+
import { getGalaxyInstance } from "app"; +import { BCollapse, BLink } from "bootstrap-vue"; import ButtonSpinner from "components/Common/ButtonSpinner"; import Heading from "components/Common/Heading"; import FormDisplay from "components/Form/FormDisplay"; @@ -132,6 +141,7 @@ import { getToolFormData, submitJob, updateToolFormData } from "./services"; import ToolCard from "./ToolCard"; import { allowCachedJobs } from "./utilities"; +import ErrorPluginTracker from "@/components/Common/ErrorPluginTracker.vue"; import FormSelect from "@/components/Form/Elements/FormSelect.vue"; export default { @@ -145,6 +155,9 @@ export default { ToolEntryPoints, ToolRecommendation, Heading, + ErrorPluginTracker, + BCollapse, + BLink, }, props: { id: { @@ -205,6 +218,7 @@ export default { ], immutableHistoryMessage: "This history is immutable and you cannot run tools in it. Please switch to a different history.", + isExpanded: false, }; }, computed: { @@ -252,6 +266,9 @@ export default { runButtonTitle() { return "Run Tool"; }, + expandedIcon() { + return this.isExpanded ? "-" : "+"; + }, }, watch: { currentHistoryId() {