feat: route and breadcrumbs renamed to services (#1566)

* feat: route and breadcrumbs renamed to services
This commit is contained in:
Priyanka Chakraborty 2022-10-03 07:02:03 +05:30 committed by GitHub
parent a94bd9b99b
commit 1b1fb2f13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View File

@ -207,7 +207,7 @@ If you don't want to install the SigNoz backend just for doing frontend developm
Please ping us in the [`#contributing`](https://signoz-community.slack.com/archives/C01LWQ8KS7M) channel or ask `@Prashant Shahi` in our [Slack Community](https://signoz.io/slack) and we will DM you with `<test environment URL>`.
**Frontend should now be accessible at** [`http://localhost:3301/application`](http://localhost:3301/application)
**Frontend should now be accessible at** [`http://localhost:3301/services`](http://localhost:3301/services)
**[`^top^`](#)**

View File

@ -381,10 +381,10 @@ exports[`Not Found page test should render Not Found page without errors 1`] = `
</div>
<a
class="c3"
href="/application"
href="/services"
tabindex="0"
>
Return To Metrics Page
Return To Services Page
</a>
</div>
</DocumentFragment>

View File

@ -37,7 +37,7 @@ function NotFound(): JSX.Element {
to={ROUTES.APPLICATION}
tabIndex={0}
>
Return To Metrics Page
Return To Services Page
</Button>
</Container>
);

View File

@ -1,14 +1,14 @@
const ROUTES = {
SIGN_UP: '/signup',
LOGIN: '/login',
SERVICE_METRICS: '/application/:servicename',
SERVICE_METRICS: '/services/:servicename',
SERVICE_MAP: '/service-map',
TRACE: '/trace',
TRACE_DETAIL: '/trace/:id',
SETTINGS: '/settings',
INSTRUMENTATION: '/get-started',
USAGE_EXPLORER: '/usage-explorer',
APPLICATION: '/application',
APPLICATION: '/services',
ALL_DASHBOARD: '/dashboard',
DASHBOARD: '/dashboard/:dashboardId',
DASHBOARD_WIDGET: '/dashboard/:dashboardId/:widgetId',

View File

@ -4,7 +4,7 @@ import React from 'react';
import { Link, RouteComponentProps, withRouter } from 'react-router-dom';
const breadcrumbNameMap = {
[ROUTES.APPLICATION]: 'Application',
[ROUTES.APPLICATION]: 'Services',
[ROUTES.TRACE]: 'Traces',
[ROUTES.SERVICE_MAP]: 'Service Map',
[ROUTES.USAGE_EXPLORER]: 'Usage Explorer',

View File

@ -16,7 +16,7 @@ function SomethingWentWrong(): JSX.Element {
history.push(ROUTES.APPLICATION);
}}
>
Return to Metrics page
Return to Services page
</Button>
</Container>
);

View File

@ -13,7 +13,7 @@ function UnAuthorizePage(): JSX.Element {
Oops.. you don&apos;t have permission to view this page
</Typography.Title>
<Button to={ROUTES.APPLICATION} tabIndex={0}>
Return To Metrics Page
Return To Services Page
</Button>
</Space>
</Container>