From 3dbee46329485e0d51f613f5fcb9bd61948247ac Mon Sep 17 00:00:00 2001 From: JS Fillman Date: Tue, 19 Dec 2023 12:57:49 -0800 Subject: [PATCH 1/3] Adding env options for next cluster --- config.json | 6 ++++++ src/features/layout/TopBar.tsx | 1 + src/features/layout/layoutSlice.ts | 7 ++++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index 1e3340a8..4c415423 100644 --- a/config.json +++ b/config.json @@ -24,6 +24,12 @@ "public_url": "/" }, + "next": { + "domain": "next.kbase.us", + "legacy": "legacy.next.kbase.us", + "public_url": "/" + }, + "production": { "domain": "narrative.kbase.us", "legacy": "legacy.narrative.kbase.us", diff --git a/src/features/layout/TopBar.tsx b/src/features/layout/TopBar.tsx index 251f2a0b..8bcf7a6c 100644 --- a/src/features/layout/TopBar.tsx +++ b/src/features/layout/TopBar.tsx @@ -288,6 +288,7 @@ const Enviroment: FC = () => { ci: faFlask, 'ci-europa': faFlask, 'narrative-dev': faWrench, + next: faWrench, unknown: faQuestionCircle, }[env]; const txt = { diff --git a/src/features/layout/layoutSlice.ts b/src/features/layout/layoutSlice.ts index 068d1b67..a7358dd8 100644 --- a/src/features/layout/layoutSlice.ts +++ b/src/features/layout/layoutSlice.ts @@ -3,12 +3,13 @@ import { useEffect } from 'react'; import { useAppDispatch } from '../../common/hooks'; const environments = [ - 'unknown', - 'production', - 'ci', 'appdev', + 'ci', 'ci-europa', 'narrative-dev', + 'next', + 'production', + 'unknown', ] as const; interface PageState { From c4c6da2fac3f2cd45f2dd1deef56b4a766fae301 Mon Sep 17 00:00:00 2001 From: JS Fillman Date: Tue, 19 Dec 2023 13:02:45 -0800 Subject: [PATCH 2/3] Adding env options for next cluster --- src/features/layout/TopBar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/layout/TopBar.tsx b/src/features/layout/TopBar.tsx index 8bcf7a6c..0b17935f 100644 --- a/src/features/layout/TopBar.tsx +++ b/src/features/layout/TopBar.tsx @@ -296,6 +296,7 @@ const Enviroment: FC = () => { ci: 'CI', 'ci-europa': 'EUR', 'narrative-dev': 'NARDEV', + 'next': 'NEXT', unknown: 'ENV?', }[env]; return ( From 5f77420707262199300ed6c10bdb95346b6a6f39 Mon Sep 17 00:00:00 2001 From: JS Fillman Date: Tue, 19 Dec 2023 13:11:50 -0800 Subject: [PATCH 3/3] Adding env options for next cluster --- src/features/layout/TopBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/layout/TopBar.tsx b/src/features/layout/TopBar.tsx index 0b17935f..5e314285 100644 --- a/src/features/layout/TopBar.tsx +++ b/src/features/layout/TopBar.tsx @@ -296,7 +296,7 @@ const Enviroment: FC = () => { ci: 'CI', 'ci-europa': 'EUR', 'narrative-dev': 'NARDEV', - 'next': 'NEXT', + next: 'NEXT', unknown: 'ENV?', }[env]; return (