Skip to content

Commit 9305b92

Browse files
authored
chore(ui): Update language on nav labels (#95340)
Update tooltips so they don't use the same exact wording, hopefully that clarifies a few things. Also `Last` -> `Latest` <img width="257" height="115" alt="image" src="https://github.com/user-attachments/assets/4d292114-662b-409f-a91c-3c0bced3ba8f" /> <img width="429" height="100" alt="image" src="https://github.com/user-attachments/assets/5e05b38a-0b53-4245-acde-3d6368e59499" />
1 parent c68c43f commit 9305b92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

static/app/views/issueDetails/streamline/issueDetailsEventNavigation.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('IssueDetailsEventNavigation', () => {
6464
deprecatedRouterMocks: true,
6565
});
6666

67-
await userEvent.click(await screen.findByRole('tab', {name: 'Last'}));
67+
await userEvent.click(await screen.findByRole('tab', {name: 'Latest'}));
6868

6969
expect(router.push).toHaveBeenCalledWith({
7070
pathname: '/organizations/org-slug/issues/group-id/events/latest/',

static/app/views/issueDetails/streamline/issueDetailsEventNavigation.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ export function IssueDetailsEventNavigation({
9494
const EventNavLabels = {
9595
[EventNavOptions.RECOMMENDED]: isSmallScreen ? t('Rec.') : t('Recommended'),
9696
[EventNavOptions.OLDEST]: t('First'),
97-
[EventNavOptions.LATEST]: t('Last'),
97+
[EventNavOptions.LATEST]: t('Latest'),
9898
[EventNavOptions.CUSTOM]: t('Custom'),
9999
};
100100

101101
const EventNavTooltips = {
102102
[EventNavOptions.RECOMMENDED]: t('Recent event with richer content'),
103-
[EventNavOptions.OLDEST]: t('First event matching filters'),
104-
[EventNavOptions.LATEST]: t('Last event matching filters'),
103+
[EventNavOptions.OLDEST]: t('Earliest event matching filters'),
104+
[EventNavOptions.LATEST]: t('Newest event matching filters'),
105105
};
106106

107107
const onTabChange = (tabKey: typeof selectedOption) => {

0 commit comments

Comments
 (0)