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>`. 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^`](#)** **[`^top^`](#)**

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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