aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui
diff options
context:
space:
mode:
authorYarin Dekel <yarind@amdocs.com>2018-10-09 14:12:17 +0300
committerYarin Dekel <yarind@amdocs.com>2018-10-09 14:14:36 +0300
commitdbb0287caa2bdd16cfdfffab78495cdb3b2188a2 (patch)
tree01a23658640c07bbb07e911644323028fe19170a /workflow-designer-ui
parent1da7f7d02936620b87f1064f6b31b098b7135f1d (diff)
remove UUID and invriant UUID workflow overflow
Issue-ID: SDC-1826 Change-Id: I548d72f64dc74ad2015c559c718c54bdeebf3c7f Signed-off-by: Yarin Dekel <yarind@amdocs.com>
Diffstat (limited to 'workflow-designer-ui')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx2
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap15
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx17
3 files changed, 1 insertions, 33 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx
index 2c746614..f87dbfa5 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx
+++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/OverviewView.jsx
@@ -94,8 +94,6 @@ class OverviewView extends Component {
description={workflow.description}
modified={workflow.modified}
created={workflow.created}
- workflowId={workflow.id}
- versionId={selectedVersion}
workflowDetailsChanged={this.workflowDetailsChanged}
updateWorkflow={this.onUpdateWorkflow}
/>
diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap
index 4f9df72e..381ec4b8 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap
+++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/__tests__/__snapshots__/OverviewView_snapshot-test.js.snap
@@ -94,21 +94,6 @@ exports[`OverviewView Snapshot renders correctly 1`] = `
</button>
</div>
</form>
- <div
- className="version-info-part"
- >
-
- <div
- className="label"
- >
- Invariant UUID
- </div>
- <div
- className="value selectable"
- >
- id1
- </div>
- </div>
</div>
<div
className="separator overview-separator"
diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx
index f98368ca..5afa8d99 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx
+++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/overview/views/WorkflowDetails.jsx
@@ -19,7 +19,6 @@ import { Input, Button } from 'sdc-ui/lib/react';
import PropTypes from 'prop-types';
import Description from 'shared/components/Description';
-import { VersionInfo, LabeledValue } from 'shared/components/VersionInfo';
class WorkflowDetails extends Component {
handleSubmitForm = e => {
@@ -29,13 +28,7 @@ class WorkflowDetails extends Component {
};
render() {
- const {
- name,
- workflowId,
- versionId,
- description,
- workflowDetailsChanged
- } = this.props;
+ const { name, description, workflowDetailsChanged } = this.props;
return (
<div className="workflow-details">
<form onSubmit={this.handleSubmitForm}>
@@ -57,12 +50,6 @@ class WorkflowDetails extends Component {
</Button>
</div>
</form>
- <VersionInfo>
- {versionId && (
- <LabeledValue title="UUID" value={versionId} />
- )}
- <LabeledValue title="Invariant UUID" value={workflowId} />
- </VersionInfo>
</div>
);
}
@@ -74,8 +61,6 @@ WorkflowDetails.propTypes = {
modified: PropTypes.string,
description: PropTypes.string,
defaultDescription: PropTypes.string,
- workflowId: PropTypes.string,
- versionId: PropTypes.string,
updateWorkflow: PropTypes.func,
workflowDetailsChanged: PropTypes.func
};