Check which system to submit your state plan in with this
crosswalk training document.
diff --git a/src/services/ui/src/pages/form/chip-form.tsx b/src/services/ui/src/pages/form/chip-form.tsx
index 4eac08b26f..7ba013f194 100644
--- a/src/services/ui/src/pages/form/chip-form.tsx
+++ b/src/services/ui/src/pages/form/chip-form.tsx
@@ -12,7 +12,6 @@ import {
SimplePageContainer,
} from "@/components";
import * as Inputs from "@/components/Inputs";
-import { FAQ_TARGET } from "@/routes";
import { PlanType } from "shared-types";
import {
zAttachmentOptional,
@@ -105,7 +104,7 @@ export const ChipForm = () => {
diff --git a/src/services/ui/src/pages/form/content.tsx b/src/services/ui/src/pages/form/content.tsx
index 28137640c8..f1dac7df09 100644
--- a/src/services/ui/src/pages/form/content.tsx
+++ b/src/services/ui/src/pages/form/content.tsx
@@ -1,5 +1,4 @@
import { Link } from "react-router-dom";
-import { FAQ_TARGET } from "@/routes";
import { RequiredIndicator } from "@/components/Inputs";
import { Alert } from "@/components";
import { Info } from "lucide-react";
@@ -50,7 +49,7 @@ export const AttachmentsSizeTypesDesc = ({
{
@@ -66,7 +65,7 @@ export const AttachmentsSizeTypesDesc = ({
{
diff --git a/src/services/ui/src/pages/form/medicaid-form.tsx b/src/services/ui/src/pages/form/medicaid-form.tsx
index 3cf9b9ee63..224e85a51a 100644
--- a/src/services/ui/src/pages/form/medicaid-form.tsx
+++ b/src/services/ui/src/pages/form/medicaid-form.tsx
@@ -12,7 +12,6 @@ import {
SimplePageContainer,
SectionCard,
} from "@/components";
-import { FAQ_TARGET } from "@/routes";
import { submit } from "@/api/submissionService";
import { PlanType } from "shared-types";
import {
@@ -110,7 +109,7 @@ export const MedicaidForm = () => {
diff --git a/src/services/ui/src/pages/welcome/index.tsx b/src/services/ui/src/pages/welcome/index.tsx
index b219d86ace..4bf7fabaa6 100644
--- a/src/services/ui/src/pages/welcome/index.tsx
+++ b/src/services/ui/src/pages/welcome/index.tsx
@@ -5,7 +5,6 @@ import { QueryClient } from "@tanstack/react-query";
import { getUser } from "@/api/useGetUser";
import { Link } from "@/components/Routing";
import { Button } from "@/components/Inputs";
-import { FAQ_TARGET } from "@/routes";
export const loader = (queryClient: QueryClient) => {
return async () => {
@@ -191,7 +190,7 @@ export const Welcome = () => {
Do you have questions or need support?
diff --git a/src/services/ui/src/utils/crumbs.ts b/src/services/ui/src/utils/crumbs.ts
index 7c03c35aa1..cc0ec1b9e7 100644
--- a/src/services/ui/src/utils/crumbs.ts
+++ b/src/services/ui/src/utils/crumbs.ts
@@ -1,4 +1,3 @@
-import { ROUTES } from "@/routes";
import { BreadCrumbConfig } from "@/components";
import { mapActionLabel, mapSubmissionCrumb } from "@/utils/labelMappers";
import { Action } from "shared-types";
@@ -8,7 +7,7 @@ export const dashboardCrumb: BreadCrumbConfig = {
displayText: "Dashboard",
order: 1,
default: true,
- to: ROUTES.DASHBOARD,
+ to: "/dashboard",
};
export const detailsCrumb = (id: string): BreadCrumbConfig => ({
From 148efcb59da1812badb87fe17a37e58d24d7468a Mon Sep 17 00:00:00 2001
From: 13bfrancis <40218571+13bfrancis@users.noreply.github.com>
Date: Fri, 19 Jan 2024 10:38:50 -0500
Subject: [PATCH 3/6] fix type error
---
src/services/ui/src/pages/faq/content/oneMACFAQContent.tsx | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/services/ui/src/pages/faq/content/oneMACFAQContent.tsx b/src/services/ui/src/pages/faq/content/oneMACFAQContent.tsx
index fd3fb3acdf..640995805a 100644
--- a/src/services/ui/src/pages/faq/content/oneMACFAQContent.tsx
+++ b/src/services/ui/src/pages/faq/content/oneMACFAQContent.tsx
@@ -4,7 +4,6 @@ import IDMInstructionsforOneMACUsers from "../../../assets/onboarding/IDMInstruc
import OneMACIDMGuide from "../../../assets/onboarding/OneMACIDMGuide.pdf";
import OneMACStateUserGuide from "../../../assets/onboarding/OneMACStateUserGuide.pdf";
import OneMACCMSUserGuide from "../../../assets/onboarding/OneMACCMSUserGuide.pdf";
-import { FAQ_SECTION } from "@/routes";
import { FILE_TYPES } from "shared-types/uploads";
type QuestionAnswer = {
From 022641e48614d3207acf39ddfbd35ca1c5b961cd Mon Sep 17 00:00:00 2001
From: 13bfrancis <40218571+13bfrancis@users.noreply.github.com>
Date: Fri, 19 Jan 2024 13:20:10 -0500
Subject: [PATCH 4/6] fix issue?
---
src/services/ui/src/components/Routing/consts.ts | 1 +
src/services/ui/src/pages/form/chip-form.tsx | 3 ++-
src/services/ui/src/pages/form/content.tsx | 5 +++--
src/services/ui/src/pages/form/medicaid-form.tsx | 3 ++-
src/services/ui/src/pages/welcome/index.tsx | 3 ++-
5 files changed, 10 insertions(+), 5 deletions(-)
create mode 100644 src/services/ui/src/components/Routing/consts.ts
diff --git a/src/services/ui/src/components/Routing/consts.ts b/src/services/ui/src/components/Routing/consts.ts
new file mode 100644
index 0000000000..c9e051cf53
--- /dev/null
+++ b/src/services/ui/src/components/Routing/consts.ts
@@ -0,0 +1 @@
+export const FAQ_TAB = "faq-tab";
diff --git a/src/services/ui/src/pages/form/chip-form.tsx b/src/services/ui/src/pages/form/chip-form.tsx
index 7ba013f194..17eaf8587a 100644
--- a/src/services/ui/src/pages/form/chip-form.tsx
+++ b/src/services/ui/src/pages/form/chip-form.tsx
@@ -21,6 +21,7 @@ import {
import * as Content from "@/pages/form/content";
import { ModalProvider, useModalContext } from "@/pages/form/modals";
import { formCrumbsFromPath } from "@/pages/form/form-breadcrumbs";
+import { FAQ_TAB } from "@/components/Routing/consts";
const formSchema = z.object({
id: zSpaIdSchema,
@@ -104,7 +105,7 @@ export const ChipForm = () => {
diff --git a/src/services/ui/src/pages/form/content.tsx b/src/services/ui/src/pages/form/content.tsx
index f1dac7df09..eea8f592cf 100644
--- a/src/services/ui/src/pages/form/content.tsx
+++ b/src/services/ui/src/pages/form/content.tsx
@@ -2,6 +2,7 @@ import { Link } from "react-router-dom";
import { RequiredIndicator } from "@/components/Inputs";
import { Alert } from "@/components";
import { Info } from "lucide-react";
+import { FAQ_TAB } from "@/components/Routing/consts";
export const FormIntroText = () => (
@@ -49,7 +50,7 @@ export const AttachmentsSizeTypesDesc = ({
{
@@ -65,7 +66,7 @@ export const AttachmentsSizeTypesDesc = ({
{
diff --git a/src/services/ui/src/pages/form/medicaid-form.tsx b/src/services/ui/src/pages/form/medicaid-form.tsx
index 224e85a51a..9303c04682 100644
--- a/src/services/ui/src/pages/form/medicaid-form.tsx
+++ b/src/services/ui/src/pages/form/medicaid-form.tsx
@@ -21,6 +21,7 @@ import {
} from "@/pages/form/zod";
import { ModalProvider, useModalContext } from "@/pages/form/modals";
import { formCrumbsFromPath } from "@/pages/form/form-breadcrumbs";
+import { FAQ_TAB } from "@/components/Routing/consts";
const formSchema = z.object({
id: zSpaIdSchema,
@@ -109,7 +110,7 @@ export const MedicaidForm = () => {
diff --git a/src/services/ui/src/pages/welcome/index.tsx b/src/services/ui/src/pages/welcome/index.tsx
index 4bf7fabaa6..d24399f979 100644
--- a/src/services/ui/src/pages/welcome/index.tsx
+++ b/src/services/ui/src/pages/welcome/index.tsx
@@ -5,6 +5,7 @@ import { QueryClient } from "@tanstack/react-query";
import { getUser } from "@/api/useGetUser";
import { Link } from "@/components/Routing";
import { Button } from "@/components/Inputs";
+import { FAQ_TAB } from "@/components/Routing/consts";
export const loader = (queryClient: QueryClient) => {
return async () => {
@@ -190,7 +191,7 @@ export const Welcome = () => {
Do you have questions or need support?
From 1462deff044f92893f4a344450ba83c253f33090 Mon Sep 17 00:00:00 2001
From: 13bfrancis <40218571+13bfrancis@users.noreply.github.com>
Date: Fri, 19 Jan 2024 13:25:14 -0500
Subject: [PATCH 5/6] add missing target for faq
---
src/services/ui/src/components/Layout/index.tsx | 3 ++-
.../pages/create/external-landing/ExternalAppLandingPage.tsx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/services/ui/src/components/Layout/index.tsx b/src/services/ui/src/components/Layout/index.tsx
index 1447361810..a3a31f5795 100644
--- a/src/services/ui/src/components/Layout/index.tsx
+++ b/src/services/ui/src/components/Layout/index.tsx
@@ -12,6 +12,7 @@ import { useUserContext } from "../Context/userContext";
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
import config from "@/config";
import { useNavigate } from "../Routing";
+import { FAQ_TAB } from "../Routing/consts";
const getLinks = (isAuthenticated: boolean, role?: boolean) => {
const isProd = window && window.location.hostname === "mako.cms.gov";
@@ -181,7 +182,7 @@ const ResponsiveNav = ({ isDesktop }: ResponsiveNavProps) => {
{getLinks(!!data.user, role).map((link) => (
diff --git a/src/services/ui/src/pages/create/external-landing/ExternalAppLandingPage.tsx b/src/services/ui/src/pages/create/external-landing/ExternalAppLandingPage.tsx
index 18b59df9e1..e00c3233f9 100644
--- a/src/services/ui/src/pages/create/external-landing/ExternalAppLandingPage.tsx
+++ b/src/services/ui/src/pages/create/external-landing/ExternalAppLandingPage.tsx
@@ -6,6 +6,7 @@ import { SimplePageTitle } from "@/pages/create/create-options";
import { SimplePageContainer } from "@/components";
import { BreadCrumbs } from "@/components/BreadCrumb";
import { optionCrumbsFromPath } from "@/pages/create/create-breadcrumbs";
+import { FAQ_TAB } from "@/components/Routing/consts";
export enum EXTERNAL_APP {
MAC_PRO = "https://www.medicaid.gov/resources-for-states/medicaid-and-chip-program-macpro-portal/index.html#MACPro",
MMDL = "https://wms-mmdl.cms.gov/MMDL/faces/portal.jsp",
@@ -31,7 +32,7 @@ const FAQHelperText = () => (
{/* TODO: Get desired FAQ `target` from Wale */}
From de0cb86e29f548078ce9bf3488ee88286f173f68 Mon Sep 17 00:00:00 2001
From: 13bfrancis <40218571+13bfrancis@users.noreply.github.com>
Date: Fri, 19 Jan 2024 13:27:30 -0500
Subject: [PATCH 6/6] fix last one hopefully
---
src/services/ui/src/components/Layout/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/services/ui/src/components/Layout/index.tsx b/src/services/ui/src/components/Layout/index.tsx
index a3a31f5795..ea86f87fe8 100644
--- a/src/services/ui/src/components/Layout/index.tsx
+++ b/src/services/ui/src/components/Layout/index.tsx
@@ -227,7 +227,7 @@ const ResponsiveNav = ({ isDesktop }: ResponsiveNavProps) => {
{link.name}