From 52ab9aba01dc469bf970a1cf07281ab56bde7e95 Mon Sep 17 00:00:00 2001 From: Eduardo Herrera Date: Wed, 4 Oct 2023 13:52:50 -0700 Subject: [PATCH 1/8] PSP-6945 : Access to PIMS Overview (Help File) - Header --- .../src/components/layout/Header/Header.tsx | 5 +- .../src/features/help/components/HelpBox.scss | 25 -- .../features/help/components/HelpBox.test.tsx | 56 ----- .../src/features/help/components/HelpBox.tsx | 61 ----- .../features/help/components/HelpModal.tsx | 71 ++++-- .../help/components/HelpSubmitBox.test.tsx | 34 +-- .../help/components/HelpSubmitBox.tsx | 39 +--- .../__snapshots__/HelpBox.test.tsx.snap | 196 ---------------- .../text/DetailNavigationHelpText.tsx | 25 -- .../components/text/DetailViewHelpText.tsx | 21 -- .../text/InventoryFilterHelpText.tsx | 30 --- .../components/text/InventoryListHelpText.tsx | 18 -- .../text/InventoryNavigationHelpText.tsx | 25 -- .../components/text/LandingFilterHelpText.tsx | 20 -- .../components/text/LandingMapHelpText.tsx | 17 -- .../text/LandingNavigationHelpText.tsx | 24 -- .../src/features/help/constants/HelpText.tsx | 86 ------- .../containers/HelpModalContentContainer.tsx | 49 +--- .../HelpModalContentContainer.test.tsx.snap | 219 ++++++++---------- .../src/features/help/forms/BugForm.tsx | 64 ----- .../help/forms/FeatureRequestForm.tsx | 56 ----- .../features/help/forms/HelpRequestForm.tsx | 74 ++++++ .../src/features/help/forms/QuestionForm.tsx | 59 ----- 23 files changed, 241 insertions(+), 1033 deletions(-) delete mode 100644 source/frontend/src/features/help/components/HelpBox.scss delete mode 100644 source/frontend/src/features/help/components/HelpBox.test.tsx delete mode 100644 source/frontend/src/features/help/components/HelpBox.tsx delete mode 100644 source/frontend/src/features/help/components/__snapshots__/HelpBox.test.tsx.snap delete mode 100644 source/frontend/src/features/help/components/text/DetailNavigationHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/DetailViewHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/InventoryFilterHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/InventoryListHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/InventoryNavigationHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/LandingFilterHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/LandingMapHelpText.tsx delete mode 100644 source/frontend/src/features/help/components/text/LandingNavigationHelpText.tsx delete mode 100644 source/frontend/src/features/help/constants/HelpText.tsx delete mode 100644 source/frontend/src/features/help/forms/BugForm.tsx delete mode 100644 source/frontend/src/features/help/forms/FeatureRequestForm.tsx create mode 100644 source/frontend/src/features/help/forms/HelpRequestForm.tsx delete mode 100644 source/frontend/src/features/help/forms/QuestionForm.tsx diff --git a/source/frontend/src/components/layout/Header/Header.tsx b/source/frontend/src/components/layout/Header/Header.tsx index 996b88d995..8a2146a878 100644 --- a/source/frontend/src/components/layout/Header/Header.tsx +++ b/source/frontend/src/components/layout/Header/Header.tsx @@ -3,6 +3,7 @@ import React from 'react'; import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; import { FaBomb } from 'react-icons/fa'; +import { Link } from 'react-router-dom'; import { BCGovLogo } from '@/components/common/BCGovLogo'; import { VerticalBar } from '@/components/common/VerticalBar'; @@ -47,7 +48,9 @@ export const Header = () => { - + + +