Skip to content

Commit

Permalink
feat(web-vitals): Rename "Real User Monitoring" to "Web Vitals" (#21310)
Browse files Browse the repository at this point in the history
  • Loading branch information
dashed committed Oct 13, 2020
1 parent ac90851 commit 9c0fc80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Expand Up @@ -94,7 +94,7 @@ class RealUserMonitoring extends React.Component<Props> {

return (
<Container>
<SectionHeading>{t('Real User Monitoring')}</SectionHeading>
<SectionHeading>{t('Web Vitals')}</SectionHeading>
<Measurements>{this.renderMeasurements()}</Measurements>
</Container>
);
Expand Down
Expand Up @@ -57,7 +57,7 @@ class Breadcrumb extends React.Component<Props> {

crumbs.push({
to: rumTarget,
label: t('Real User Monitoring'),
label: t('Web Vitals'),
preserveGlobalSelection: true,
});
} else {
Expand Down
Expand Up @@ -129,7 +129,7 @@ class TransactionHeader extends React.Component<Props> {
to={`${baseUrl}rum/${location.search}`}
isActive={() => currentTab === Tab.RealUserMonitoring}
>
{t('Real User Monitoring')}
{t('Web Vitals')}
</ListLink>
</StyledNavTabs>
);
Expand Down
4 changes: 2 additions & 2 deletions tests/js/spec/views/performance/realUserMonitoring.spec.jsx
Expand Up @@ -62,7 +62,7 @@ const vitals = [
},
];

describe('Performance > Real User Monitoring', function () {
describe('Performance > Web Vitals', function () {
beforeEach(function () {
MockApiClient.addMockResponse({
url: '/organizations/org-slug/projects/',
Expand Down Expand Up @@ -188,7 +188,7 @@ describe('Performance > Real User Monitoring', function () {
wrapper.update();

expect(wrapper.find('Breadcrumb').text()).toEqual(
expect.stringContaining('Real User Monitoring')
expect.stringContaining('Web Vitals')
);
});

Expand Down

0 comments on commit 9c0fc80

Please sign in to comment.