From 5718bcf7e078d16bf469f7ff3f51aadb4228cf03 Mon Sep 17 00:00:00 2001 From: pearl-truss Date: Fri, 20 Oct 2023 11:56:11 -0400 Subject: [PATCH] resolving bad merge --- services/app-web/src/constants/routes.ts | 6 +++++- services/app-web/src/constants/tealium.ts | 1 + services/app-web/src/pages/App/AppRoutes.tsx | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/services/app-web/src/constants/routes.ts b/services/app-web/src/constants/routes.ts index 98f9beab4f..c839478c4b 100644 --- a/services/app-web/src/constants/routes.ts +++ b/services/app-web/src/constants/routes.ts @@ -12,6 +12,7 @@ const ROUTES = [ 'HELP', 'REPORTS', 'SETTINGS', + 'RATES_SUMMARY', 'SUBMISSIONS', 'SUBMISSIONS_NEW', 'SUBMISSIONS_TYPE', @@ -47,6 +48,7 @@ const RoutesRecord: Record = { HELP: '/help', REPORTS: '/reports', SETTINGS: '/settings', + RATES_SUMMARY: 'rates/:id', SUBMISSIONS: '/submissions', SUBMISSIONS_NEW: '/submissions/new', SUBMISSIONS_EDIT_TOP_LEVEL: '/submissions/:id/edit/*', @@ -102,6 +104,7 @@ const QUESTION_RESPONSE_SHOW_SIDEBAR_ROUTES: RouteTWithUnknown[] = [ const PageHeadingsRecord: Partial> = { ROOT: 'Dashboard', DASHBOARD_SUBMISSIONS: 'Dashboard', + DASHBOARD_RATES: 'Dashboard', SUBMISSIONS_NEW: 'New submission', UNKNOWN_ROUTE: '404', } @@ -121,6 +124,7 @@ const PageTitlesRecord: Record = { DASHBOARD: 'Dashboard', DASHBOARD_RATES: 'Rate Review Dashboard', DASHBOARD_SUBMISSIONS: 'Dashboard', + RATES_SUMMARY: 'Rate summary', SUBMISSIONS: 'Submissions', SUBMISSIONS_NEW: 'New submission', SUBMISSIONS_EDIT_TOP_LEVEL: 'Submissions', @@ -129,10 +133,10 @@ const PageTitlesRecord: Record = { SUBMISSIONS_RATE_DETAILS: 'Rate details', SUBMISSIONS_CONTACTS: 'Contacts', SUBMISSIONS_DOCUMENTS: 'Supporting documents', + SUBMISSIONS_MCCRSID: 'Add MC-CRS record number', SUBMISSIONS_REVIEW_SUBMIT: 'Review and submit', SUBMISSIONS_REVISION: 'Submission revision', SUBMISSIONS_SUMMARY: 'Submission summary', - SUBMISSIONS_MCCRSID: 'Add MC-CRS record number', SUBMISSIONS_QUESTIONS_AND_ANSWERS: 'Q&A', SUBMISSIONS_UPLOAD_QUESTION: 'Add questions', SUBMISSIONS_UPLOAD_RESPONSE: 'Add response', diff --git a/services/app-web/src/constants/tealium.ts b/services/app-web/src/constants/tealium.ts index 59c75b89f8..d3453dd754 100644 --- a/services/app-web/src/constants/tealium.ts +++ b/services/app-web/src/constants/tealium.ts @@ -38,6 +38,7 @@ const CONTENT_TYPE_BY_ROUTE: Record = { GRAPHQL_EXPLORER: 'dev', REPORTS: 'table', SETTINGS: 'table', + RATES_SUMMARY: 'summary', SUBMISSIONS: 'form', SUBMISSIONS_NEW: 'form', SUBMISSIONS_EDIT_TOP_LEVEL: 'form', diff --git a/services/app-web/src/pages/App/AppRoutes.tsx b/services/app-web/src/pages/App/AppRoutes.tsx index 4e51b93124..82e87bf5ed 100644 --- a/services/app-web/src/pages/App/AppRoutes.tsx +++ b/services/app-web/src/pages/App/AppRoutes.tsx @@ -38,6 +38,7 @@ import { UploadQuestions, } from '../QuestionResponse' import { GraphQLExplorer } from '../GraphQLExplorer/GraphQLExplorer' +import { RateSummary } from '../SubmissionSummary/RateSummary' function componentForAuthMode( authMode: AuthModeType @@ -207,6 +208,11 @@ const CMSUserRoutes = ({ /> + } + /> + }