From 9fc1b58e6a315f65cc83f5ad31d15ba66aebcfa4 Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 9 Jan 2024 15:10:22 -0800 Subject: [PATCH 1/2] updating test enviornment banner and adding core home page link --- services/core-web/src/components/common/WarningBanner.js | 2 +- services/core-web/src/components/homepage/HomeSidePanel.tsx | 4 ++++ .../common/__snapshots__/WarningBanner.spec.js.snap | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/services/core-web/src/components/common/WarningBanner.js b/services/core-web/src/components/common/WarningBanner.js index 9035aeaff1..f051b1e887 100644 --- a/services/core-web/src/components/common/WarningBanner.js +++ b/services/core-web/src/components/common/WarningBanner.js @@ -21,7 +21,7 @@ const defaultProps = { const testWarningData = { message: "This is the Core test site", description: - "Features and layout could differ from the live production site and data entered in this system will not be saved.", + "This site is used to test developing and existing features in Core. The live production site may have different features and a different layout, and data entered into this system won't be displayed there.", }; const mobileWarningData = { diff --git a/services/core-web/src/components/homepage/HomeSidePanel.tsx b/services/core-web/src/components/homepage/HomeSidePanel.tsx index f29ebc5deb..63bb674649 100644 --- a/services/core-web/src/components/homepage/HomeSidePanel.tsx +++ b/services/core-web/src/components/homepage/HomeSidePanel.tsx @@ -63,6 +63,10 @@ const ExternalLinksSection = () => { title: "First Nation Consultation System", url: "https://apps.nrs.gov.bc.ca/int/fncs", }, + { + title: "Regional Mines Public Engagement Tool Portal", + url: "http://www.gov.bc.ca/minesengagement", + }, ]; return linkWidget("External Links", links); }; diff --git a/services/core-web/src/tests/components/common/__snapshots__/WarningBanner.spec.js.snap b/services/core-web/src/tests/components/common/__snapshots__/WarningBanner.spec.js.snap index 1282bab315..595b8e9255 100644 --- a/services/core-web/src/tests/components/common/__snapshots__/WarningBanner.spec.js.snap +++ b/services/core-web/src/tests/components/common/__snapshots__/WarningBanner.spec.js.snap @@ -10,7 +10,7 @@ exports[`WarningBanner renders properly 1`] = ` closable={true} description={ - Features and layout could differ from the live production site and data entered in this system will not be saved. + This site is used to test developing and existing features in Core. The live production site may have different features and a different layout, and data entered into this system won't be displayed there. } icon={ From 104a57781430fcd55a57ffc934a4290f05746ba1 Mon Sep 17 00:00:00 2001 From: Sinn Date: Tue, 9 Jan 2024 16:14:29 -0800 Subject: [PATCH 2/2] correction in public engagement tool url --- services/core-web/src/components/homepage/HomeSidePanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core-web/src/components/homepage/HomeSidePanel.tsx b/services/core-web/src/components/homepage/HomeSidePanel.tsx index 63bb674649..a0a6ca26e4 100644 --- a/services/core-web/src/components/homepage/HomeSidePanel.tsx +++ b/services/core-web/src/components/homepage/HomeSidePanel.tsx @@ -65,7 +65,7 @@ const ExternalLinksSection = () => { }, { title: "Regional Mines Public Engagement Tool Portal", - url: "http://www.gov.bc.ca/minesengagement", + url: "https://www.gov.bc.ca/minesengagement", }, ]; return linkWidget("External Links", links);