{
name="dataDimensionsTaxonomyRoots"
label="Data taxonomy roots:"
rules={[{ required: true, message: 'A data taxonomy root is required' }]}
- tooltip={{ title: 'Ontology classes (full IRI or class label) that correspond to the data taxonomy roots, separated by "tab", "space", "comma" or ";".', color: 'black' }}
+ tooltip={{ title: 'Ontology classes (full IRI or class label) that correspond to the data taxonomy roots, separated by "space", "comma" or ";".', color: 'black' }}
>
diff --git a/front-end/src/components/Explore/ConstraintBox/ConstraintBox.module.less b/front-end/src/components/Explore/ConstraintBox/ConstraintBox.module.less
index 3838183..4ffe0c2 100644
--- a/front-end/src/components/Explore/ConstraintBox/ConstraintBox.module.less
+++ b/front-end/src/components/Explore/ConstraintBox/ConstraintBox.module.less
@@ -11,5 +11,5 @@
align-items: center;
justify-content: center;
min-height: 100vh;
- padding-right: 5px
+ padding-right: 5px;
}
diff --git a/front-end/src/components/Explore/ConstraintBox/ConstraintBox.tsx b/front-end/src/components/Explore/ConstraintBox/ConstraintBox.tsx
index 9016f86..ef16700 100644
--- a/front-end/src/components/Explore/ConstraintBox/ConstraintBox.tsx
+++ b/front-end/src/components/Explore/ConstraintBox/ConstraintBox.tsx
@@ -64,6 +64,9 @@ interface ConstraintBoxProps {
defaultData: () => Data;
defaultTool: () => Tool;
defaultConstraint: () => Constraint;
+
+ /** Function to clear all constraints. */
+ clearConstraints: () => void;
}
/**
@@ -72,7 +75,8 @@ interface ConstraintBoxProps {
* Wrapper around {@link WorkflowConstraintList}.
*/
function ConstraintBox(props: ConstraintBoxProps) {
- const { constraints,
+ const {
+ constraints,
dataOntology,
toolOntology,
constraintOptions,
@@ -86,7 +90,9 @@ function ConstraintBox(props: ConstraintBoxProps) {
sketchIndex,
defaultData,
defaultTool,
- defaultConstraint } = props;
+ defaultConstraint,
+ clearConstraints,
+ } = props;
return (
@@ -94,6 +100,7 @@ function ConstraintBox(props: ConstraintBoxProps) {
title="Constraints"
style={{ minWidth: 350, width: '100%' }}
headStyle={{ background: '#F1634C' }}
+ bodyStyle={{ paddingRight: 0 }}
extra={(
diff --git a/front-end/src/components/Explore/InOutBox/InOutBox.tsx b/front-end/src/components/Explore/InOutBox/InOutBox.tsx
index 040e836..a327d90 100644
--- a/front-end/src/components/Explore/InOutBox/InOutBox.tsx
+++ b/front-end/src/components/Explore/InOutBox/InOutBox.tsx
@@ -45,6 +45,8 @@ interface InOutBoxProps {
headerText: string;
/** The tooltip to provide in the box' header */
tooltip: string;
+ /** Function to clear all workflow data. */
+ clearWorkflowData: () => void;
}
/**
@@ -53,14 +55,17 @@ interface InOutBoxProps {
* Wrapper around {@link WorkflowDataList}.
*/
function InOutBox(props: InOutBoxProps) {
- const { dataOntology,
+ const {
+ dataOntology,
onChange,
onAdd,
onRemove,
inOuts,
title,
headerText,
- tooltip } = props;
+ tooltip,
+ clearWorkflowData,
+ } = props;
return (
@@ -68,6 +73,7 @@ function InOutBox(props: InOutBoxProps) {
title={headerText}
style={{ minWidth: 350, width: '100%' }}
headStyle={{ background: '#F1634C' }}
+ bodyStyle={{ paddingRight: 0 }}
extra={
}
@@ -79,6 +85,7 @@ function InOutBox(props: InOutBoxProps) {
onChange={onChange}
onAdd={onAdd}
onRemove={onRemove}
+ clearWorkflowData={clearWorkflowData}
/>
diff --git a/front-end/src/components/WorkflowInput/WorkflowConstraint.tsx b/front-end/src/components/WorkflowInput/WorkflowConstraint.tsx
index da75180..74f3920 100644
--- a/front-end/src/components/WorkflowInput/WorkflowConstraint.tsx
+++ b/front-end/src/components/WorkflowInput/WorkflowConstraint.tsx
@@ -207,10 +207,10 @@ function WorkflowConstraint(props: WorkflowConstraintProps) {
-
+
{ parameters }
-
+