From eb8e3f1dd891ac98f1bbaf35a2a0679146785236 Mon Sep 17 00:00:00 2001 From: sebdet Date: Sun, 24 Jan 2021 18:12:36 +0100 Subject: Add New UI component for policies list Add new Ui components to list policies + the small refactoring of React Routes Issue-ID: POLICY-2925 Signed-off-by: sebdet Change-Id: I784d7c144a3a3af98a9d62b5d40b5172dbdaed47 Signed-off-by: sebdet --- .../menu/__snapshots__/MenuBar.test.js.snap | 565 +++++++++++---------- 1 file changed, 308 insertions(+), 257 deletions(-) (limited to 'ui-react/src/components/menu/__snapshots__') 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 92444ea3d..69a0e85db 100644 --- a/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap +++ b/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap @@ -15,29 +15,29 @@ exports[`Verify MenuBar Test the render method 1`] = ` "isStatic": false, "rules": Array [ " - color: ", + color: ", [Function], "; - background-color: ", + background-color: ", [Function], "; - font-weight: normal; - display: block; - width: 100%; - padding: .25rem 1.5rem; - clear: both; - text-align: inherit; - white-space: nowrap; - border: 0; - :hover { - text-decoration: none; - background-color: ", + font-weight: normal; + display: block; + width: 100%; + padding: .25rem 1.5rem; + clear: both; + text-align: inherit; + white-space: nowrap; + border: 0; + :hover { + text-decoration: none; + background-color: ", [Function], "; - color: ", + color: ", [Function], "; - } + } ", ], }, @@ -52,7 +52,7 @@ exports[`Verify MenuBar Test the render method 1`] = ` } } disabled={false} - to="/ViewLoopTemplatesModal" + to="/viewLoopTemplatesModal" > View All Templates @@ -70,29 +70,29 @@ exports[`Verify MenuBar Test the render method 1`] = ` "isStatic": false, "rules": Array [ " - color: ", + color: ", [Function], "; - background-color: ", + background-color: ", [Function], "; - font-weight: normal; - display: block; - width: 100%; - padding: .25rem 1.5rem; - clear: both; - text-align: inherit; - white-space: nowrap; - border: 0; - :hover { - text-decoration: none; - background-color: ", + font-weight: normal; + display: block; + width: 100%; + padding: .25rem 1.5rem; + clear: both; + text-align: inherit; + white-space: nowrap; + border: 0; + :hover { + text-decoration: none; + background-color: ", [Function], "; - color: ", + color: ", [Function], "; - } + } ", ], }, @@ -121,29 +121,29 @@ exports[`Verify MenuBar Test the render method 1`] = ` "isStatic": false, "rules": Array [ " - color: ", + color: ", [Function], "; - background-color: ", + background-color: ", [Function], "; - font-weight: normal; - display: block; - width: 100%; - padding: .25rem 1.5rem; - clear: both; - text-align: inherit; - white-space: nowrap; - border: 0; - :hover { - text-decoration: none; - background-color: ", + font-weight: normal; + display: block; + width: 100%; + padding: .25rem 1.5rem; + clear: both; + text-align: inherit; + white-space: nowrap; + border: 0; + :hover { + text-decoration: none; + background-color: ", [Function], "; - color: ", + color: ", [Function], "; - } + } ", ], }, @@ -172,29 +172,29 @@ exports[`Verify MenuBar Test the render method 1`] = ` "isStatic": false, "rules": Array [ " - color: ", + color: ", [Function], "; - background-color: ", + background-color: ", [Function], "; - font-weight: normal; - display: block; - width: 100%; - padding: .25rem 1.5rem; - clear: both; - text-align: inherit; - white-space: nowrap; - border: 0; - :hover { - text-decoration: none; - background-color: ", + font-weight: normal; + display: block; + width: 100%; + padding: .25rem 1.5rem; + clear: both; + text-align: inherit; + white-space: nowrap; + border: 0; + :hover { + text-decoration: none; + background-color: ", [Function], "; - color: ", + color: ", [Function], "; - } + } ", ], }, @@ -209,10 +209,61 @@ exports[`Verify MenuBar Test the render method 1`] = ` } } disabled={false} - to="/ManageDictionaries" + to="/manageDictionaries" > Manage Metadata Dictionaries + + View All Policies +