mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 21:26:02 +08:00
feat: route and breadcrumbs renamed to services (#1566)
* feat: route and breadcrumbs renamed to services
This commit is contained in:
parent
a94bd9b99b
commit
1b1fb2f13b
@ -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^`](#)**
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
);
|
);
|
||||||
|
@ -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',
|
||||||
|
@ -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',
|
||||||
|
@ -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>
|
||||||
);
|
);
|
||||||
|
@ -13,7 +13,7 @@ function UnAuthorizePage(): JSX.Element {
|
|||||||
Oops.. you don't have permission to view this page
|
Oops.. you don'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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user