From: sebdet Date: Fri, 19 Feb 2021 13:40:00 +0000 (+0100) Subject: Rearrange the UI menu X-Git-Tag: 6.0.1~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F118103%2F5;p=policy%2Fclamp.git Rearrange the UI menu Rearrange the UI menu to improve the usability Issue-ID: POLICY-2925 Signed-off-by: sebdet Change-Id: Icb56655b8b9300fa78d004a8fe88d64e54f42279 Signed-off-by: sebdet --- diff --git a/ui-react/src/components/menu/MenuBar.js b/ui-react/src/components/menu/MenuBar.js index 40a3890a5..ae1387912 100644 --- a/ui-react/src/components/menu/MenuBar.js +++ b/ui-react/src/components/menu/MenuBar.js @@ -86,16 +86,18 @@ export default class MenuBar extends React.Component { render () { return ( - - View All Templates - - - Upload Tosca Model - View Tosca Models + Manage Metadata Dictionaries + View All Policies + View Tosca Models + + Upload Tosca Model + + + View All Templates - + Create Open Close @@ -104,10 +106,10 @@ export default class MenuBar extends React.Component { Properties Refresh Status - - Create and deploy to Policy Engine(SUBMIT) - Undeploy from Policy Engine (STOP) - ReDeploy to Policy Engine (RESTART) + + Create and deploy to Policy Framework (SUBMIT) + Undeploy from Policy Framework (STOP) + ReDeploy to Policy Framework (RESTART) Delete loop instance (DELETE) Deploy to DCAE (DEPLOY) diff --git a/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap b/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap index 69a0e85db..fd9956ed2 100644 --- a/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap +++ b/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap @@ -3,7 +3,7 @@ exports[`Verify MenuBar Test the render method 1`] = ` - View All Templates + Manage Metadata Dictionaries - - + - Upload Tosca Model + View All Policies View Tosca Models + - Manage Metadata Dictionaries + Upload Tosca Model + + - View All Policies + View All Templates - Create and deploy to Policy Engine(SUBMIT) + Create and deploy to Policy Framework (SUBMIT) - Undeploy from Policy Engine (STOP) + Undeploy from Policy Framework (STOP) - ReDeploy to Policy Engine (RESTART) + ReDeploy to Policy Framework (RESTART)