diff --git a/client/gulpfile.js b/client/gulpfile.js index 5707830e2f23..f0393e438b1e 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -15,7 +15,6 @@ const xml2js = require("xml2js"); const STATIC_PLUGIN_BUILD_IDS = [ "annotate_image", "chiraviz", - "cytoscape", "drawrna", "editor", "example", @@ -28,7 +27,6 @@ const STATIC_PLUGIN_BUILD_IDS = [ "mvpapp", "nora", "nvd3/nvd3_bar", - "openlayers", "openseadragon", "PCA_3Dplot", "phylocanvas", @@ -36,9 +34,8 @@ const STATIC_PLUGIN_BUILD_IDS = [ "scatterplot", "tiffviewer", "ts_visjs", - "venn", ]; -const INSTALL_PLUGIN_BUILD_IDS = ["ngl", "msa"]; // todo: derive from XML +const INSTALL_PLUGIN_BUILD_IDS = ["cytoscape", "ngl", "msa", "openlayers", "venn", "vizarr"]; // todo: derive from XML const DIST_PLUGIN_BUILD_IDS = ["new_user"]; const PLUGIN_BUILD_IDS = Array.prototype.concat(DIST_PLUGIN_BUILD_IDS, STATIC_PLUGIN_BUILD_IDS); diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index a2521374c650..779417815453 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -11963,6 +11963,21 @@ export interface components { */ workflow_step_id: number; }; + /** InvocationFailureWorkflowParameterInvalidResponse */ + InvocationFailureWorkflowParameterInvalidResponse: { + /** + * Details + * @description Message raised by validator + */ + details: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + reason: "workflow_parameter_invalid"; + /** Workflow parameter step that failed validation */ + workflow_step_id: number; + }; /** InvocationInput */ InvocationInput: { /** @@ -12044,7 +12059,8 @@ export interface components { | components["schemas"]["InvocationFailureExpressionEvaluationFailedResponse"] | components["schemas"]["InvocationFailureWhenNotBooleanResponse"] | components["schemas"]["InvocationUnexpectedFailureResponse"] - | components["schemas"]["InvocationEvaluationWarningWorkflowOutputNotFoundResponse"]; + | components["schemas"]["InvocationEvaluationWarningWorkflowOutputNotFoundResponse"] + | components["schemas"]["InvocationFailureWorkflowParameterInvalidResponse"]; /** InvocationOutput */ InvocationOutput: { /** diff --git a/client/src/components/Common/ButtonSpinner.vue b/client/src/components/Common/ButtonSpinner.vue index e2b8def400c1..f87f34b33991 100644 --- a/client/src/components/Common/ButtonSpinner.vue +++ b/client/src/components/Common/ButtonSpinner.vue @@ -11,12 +11,14 @@ interface Props { wait?: boolean; tooltip?: string; disabled?: boolean; + size?: string; } withDefaults(defineProps(), { wait: false, tooltip: undefined, disabled: false, + size: "md", }); @@ -25,6 +27,7 @@ withDefaults(defineProps(), { v-if="wait" v-b-tooltip.hover.bottom disabled + :size="size" variant="info" title="Please Wait..." class="d-flex flex-nowrap align-items-center text-nowrap"> @@ -38,6 +41,7 @@ withDefaults(defineProps(), { class="d-flex flex-nowrap align-items-center text-nowrap" :title="tooltip" :disabled="disabled" + :size="size" @click="$emit('onClick')"> {{ title }} diff --git a/client/src/components/Form/FormElement.vue b/client/src/components/Form/FormElement.vue index ed81622799e1..aa3507808661 100644 --- a/client/src/components/Form/FormElement.vue +++ b/client/src/components/Form/FormElement.vue @@ -27,6 +27,7 @@ import FormSelection from "./Elements/FormSelection.vue"; import FormTags from "./Elements/FormTags.vue"; import FormText from "./Elements/FormText.vue"; import FormUpload from "./Elements/FormUpload.vue"; +import FormElementHelpMarkdown from "./FormElementHelpMarkdown.vue"; interface FormElementProps { id?: string; @@ -35,6 +36,7 @@ interface FormElementProps { title?: string; refreshOnChange?: boolean; help?: string; + helpFormat?: string; error?: string; warning?: string; disabled?: boolean; @@ -63,6 +65,7 @@ const props = withDefaults(defineProps(), { connectedDisableText: "Add connection to module.", connectedEnableIcon: "fa fa-times", connectedDisableIcon: "fa fa-arrows-alt-h", + helpFormat: "html", workflowBuildingMode: false, }); @@ -337,7 +340,13 @@ function onAlert(value: string | undefined) {
{{ previewText }}
- + + diff --git a/client/src/components/Form/FormElementHelpMarkdown.vue b/client/src/components/Form/FormElementHelpMarkdown.vue new file mode 100644 index 000000000000..e6271c9a2124 --- /dev/null +++ b/client/src/components/Form/FormElementHelpMarkdown.vue @@ -0,0 +1,56 @@ + + + diff --git a/client/src/components/Form/FormInputs.vue b/client/src/components/Form/FormInputs.vue index 1421a4b79ea3..fafe1734b478 100644 --- a/client/src/components/Form/FormInputs.vue +++ b/client/src/components/Form/FormInputs.vue @@ -11,6 +11,7 @@ v-model="input.test_param.value" :type="input.test_param.type" :help="input.test_param.help" + :help-format="input.test_param.help_format" :refresh-on-change="false" :disabled="sustainConditionals" :attributes="input.test_param" @@ -51,6 +52,7 @@ :error="input.error" :warning="input.warning" :help="input.help" + :help-format="input.help_format" :refresh-on-change="input.refresh_on_change" :attributes="input.attributes || input" :collapsed-enable-text="collapsedEnableText" diff --git a/client/src/components/Grid/GridInvocation.vue b/client/src/components/Grid/GridInvocation.vue index 847127cfa0b7..65aed67b73f7 100644 --- a/client/src/components/Grid/GridInvocation.vue +++ b/client/src/components/Grid/GridInvocation.vue @@ -109,7 +109,7 @@ function refreshTable() { :extra-props="extraProps" :embedded="forStoredWorkflow || forHistory || forBatch">