feat: Add routes for Service Catalog view pages

This commit adds routes for the Monitors, Incidents, and Telemetry Services pages in the Service Catalog view. These routes allow users to navigate to specific sections of the Service Catalog and access relevant information. The addition of these routes enhances the usability and functionality of the application.
This commit is contained in:
Simon Larsen 2024-07-16 15:08:26 -06:00
parent 80b9961bd8
commit 5f2430ff06
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -535,6 +535,24 @@ const RouteMap: Dictionary<Route> = {
}`, }`,
), ),
[PageMap.SERVICE_CATALOG_VIEW_MONITORS]: new Route(
`/dashboard/${RouteParams.ProjectID}/service-catalog/${
ServiceCatalogRoutePath[PageMap.SERVICE_CATALOG_VIEW_MONITORS]
}`,
),
[PageMap.SERVICE_CATALOG_VIEW_INCIDENTS]: new Route(
`/dashboard/${RouteParams.ProjectID}/service-catalog/${
ServiceCatalogRoutePath[PageMap.SERVICE_CATALOG_VIEW_INCIDENTS]
}`,
),
[PageMap.SERVICE_CATALOG_VIEW_TELEMETRY_SERVICES]: new Route(
`/dashboard/${RouteParams.ProjectID}/service-catalog/${
ServiceCatalogRoutePath[PageMap.SERVICE_CATALOG_VIEW_TELEMETRY_SERVICES]
}`,
),
[PageMap.STATUS_PAGES_ROOT]: new Route( [PageMap.STATUS_PAGES_ROOT]: new Route(
`/dashboard/${RouteParams.ProjectID}/status-pages/*`, `/dashboard/${RouteParams.ProjectID}/status-pages/*`,
), ),