From 5fde8071512a25068b43b054bc3116b005252b8d Mon Sep 17 00:00:00 2001 From: RanyeM <40363896+RanyeM@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:11:53 -0500 Subject: [PATCH] feat(ui): remove mmdl chip (#893) * removed chip spa eligibility mmdl card * feat(mmdl-faq): add mmdl spa questions and descriptions to faq (#879) * add sections and questions and descriptions * add subsections in prep for links * Update oneMACFAQContent.tsx * added missing preview emails * in the middle of updating the text for these email templates * verified all app k template lang * double checked all the templates are correct * verified all subject lines and added waivers where needed for index.tsx files * fixed all TS errors in the emails folder * Update oneMACFAQContent.tsx --------- Co-authored-by: Andie Swift * feat(upload-sub-doc-email): Add template for upload subsequent documents CHIP SPA (#878) * working through email content * adjust text language * added missing preview emails * add email logic for subseq doc * fix types * remove unused * Update ChipSpaCMS.tsx * remove unused * Delete CHIP_SPA.tsx * adjust template * adjust based on comments * Update ChipSpaState.tsx --------- Co-authored-by: Andie Swift * fix(search): update dashboard search to allow whitespace (#875) --------- Co-authored-by: James Dinh Co-authored-by: Andie Swift Co-authored-by: Ty Bolt --- .../BreadCrumb/create-breadcrumbs.ts | 4 --- .../ExternalAppLandingPage.tsx | 35 ------------------- .../src/features/selection-flow/options.tsx | 5 --- react-app/src/router.tsx | 4 --- test/e2e/tests/a11y/index.spec.ts | 1 - 5 files changed, 49 deletions(-) diff --git a/react-app/src/components/BreadCrumb/create-breadcrumbs.ts b/react-app/src/components/BreadCrumb/create-breadcrumbs.ts index d05f17704d..fc2a7faaeb 100644 --- a/react-app/src/components/BreadCrumb/create-breadcrumbs.ts +++ b/react-app/src/components/BreadCrumb/create-breadcrumbs.ts @@ -27,10 +27,6 @@ const newSubmissionPageRouteMapper: Record< to: "/new-submission/spa/chip", displayText: "CHIP SPA Type", }, - "chip-eligibility": { - to: "/new-submission/spa/chip/landing/chip-eligibility", - displayText: "CHIP Eligibility SPAs", - }, waiver: { to: "/new-submission/waiver", displayText: "Waiver Type", diff --git a/react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx b/react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx index 02f1612498..eae94dcd99 100644 --- a/react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx +++ b/react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx @@ -24,9 +24,6 @@ export interface ExternalAppLandingPageConfig { const MACProLogo = () => ( {"MACPro ); -const MMDLLogo = () => ( - {"MMDL -); const FAQHelperText = () => ( @@ -109,35 +106,3 @@ export const MedicaidEligibilityLandingPage = () => ( buttonLink={EXTERNAL_APP.MAC_PRO} /> ); - -export const CHIPEligibilityLandingPage = () => ( - } - description={ - -

- - CHIP Eligibility SPAs are managed within the{" "} - - Medicaid Model Data Lab (MMDL) - - . - -

-

- The MMDL system allows states to apply for changes to their State - plan, and access report on Medicaid program - administration/implementation. -

-
- } - buttonLabel={"Enter the MMDL system"} - buttonLink={EXTERNAL_APP.MMDL} - /> -); diff --git a/react-app/src/features/selection-flow/options.tsx b/react-app/src/features/selection-flow/options.tsx index b843cff13c..3d37b7ee9f 100644 --- a/react-app/src/features/selection-flow/options.tsx +++ b/react-app/src/features/selection-flow/options.tsx @@ -51,11 +51,6 @@ export const MEDICAID_SPA_OPTIONS: OptionData[] = [ ]; export const CHIP_SPA_OPTIONS: OptionData[] = [ - { - title: "CHIP Eligibility", - description: "Redirects to the MMDL submission system", - to: "/new-submission/spa/chip/landing/chip-eligibility", - }, { title: "All Other CHIP SPA Submissions", description: "Create a new CHIP State Plan Amendment", diff --git a/react-app/src/router.tsx b/react-app/src/router.tsx index f9d494c37a..4cde68620f 100644 --- a/react-app/src/router.tsx +++ b/react-app/src/router.tsx @@ -100,10 +100,6 @@ export const router = createBrowserRouter([ path: "/new-submission/spa/medicaid/landing/medicaid-eligibility", element: , }, - { - path: "/new-submission/spa/chip/landing/chip-eligibility", - element: , - }, { path: "/webforms", element: }, { path: "/webform/:id/:version", element: }, { path: "/profile", element: }, diff --git a/test/e2e/tests/a11y/index.spec.ts b/test/e2e/tests/a11y/index.spec.ts index 64257e438b..613915cfd8 100644 --- a/test/e2e/tests/a11y/index.spec.ts +++ b/test/e2e/tests/a11y/index.spec.ts @@ -15,7 +15,6 @@ const staticRoutes = [ "/new-submission/waiver/b/b4", "/new-submission/waiver/b/capitated", "/new-submission/spa/medicaid/landing/medicaid-eligibility", - "/new-submission/spa/chip/landing/chip-eligibility", "/new-submission/waiver/b/capitated/amendment/create", "/new-submission/waiver/b/capitated/renewal/create", "/new-submission/waiver/b/capitated/initial/create",