From ee338a711f7c78da80a7c9cdafa61dc55b7678da Mon Sep 17 00:00:00 2001 From: Justin Orringer Date: Thu, 21 Nov 2024 12:56:49 -0500 Subject: [PATCH 1/2] Adding feedback tab to iam route --- src/components/Header/Header.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index b8ea97be1..68f992397 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -23,10 +23,21 @@ import useWindowWidth from '../../hooks/useWindowWidth'; import ChromeAuthContext, { ChromeAuthContextValue } from '../../auth/ChromeAuthContext'; const FeedbackRoute = () => { + // controls feedback tab visibility const paths = localStorage.getItem('chrome:experimental:feedback') === 'true' ? ['*'] - : ['/', 'insights/*', 'settings/*', 'openshift/*', 'application-services/*', 'ansible/*', 'edge/*', 'subscriptions/*']; + : [ + '/', + 'insights/*', + 'settings/*', + 'openshift/*', + 'application-services/*', + 'ansible/*', + 'edge/*', + 'subscriptions/*', + 'iam/authentication-policy/identity-provider-integration', + ]; return ( {paths.map((path) => ( From a52549eb0cee4f9862ecfb50741e2f18ae7a8291 Mon Sep 17 00:00:00 2001 From: Justin Orringer Date: Thu, 21 Nov 2024 13:06:05 -0500 Subject: [PATCH 2/2] Changing to all of iam --- src/components/Header/Header.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 68f992397..a7bbd9558 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -27,17 +27,7 @@ const FeedbackRoute = () => { const paths = localStorage.getItem('chrome:experimental:feedback') === 'true' ? ['*'] - : [ - '/', - 'insights/*', - 'settings/*', - 'openshift/*', - 'application-services/*', - 'ansible/*', - 'edge/*', - 'subscriptions/*', - 'iam/authentication-policy/identity-provider-integration', - ]; + : ['/', 'insights/*', 'settings/*', 'openshift/*', 'application-services/*', 'ansible/*', 'edge/*', 'subscriptions/*', 'iam/*']; return ( {paths.map((path) => (