Skip to content

Commit a03224a

Browse files
fix(issue-details): Label check-ins and uptime checks lists by their unit (#132220)
On the "All Check-Ins" and "All Uptime Checks" list pages, the issue content label in the event navigation reads "Events in this issue". `TabName` has no entry for `Tab.CHECK_INS` or `Tab.UPTIME_CHECKS`, so the label falls back to the issue type's `eventUnits`, which is "Events" for both crons and uptime. This adds entries for both tabs so the label reads "Check-Ins in this issue" and "Uptime Checks in this issue". This only changes the dropdown and static label path. Orgs that get content tabs (`autofix-page` with AI features allowed) still show the first "Events" tab as selected on these list views, which is the current intended behavior. Fixes IE-91 <!-- junior-request-attribution:start --> via @mrduncan. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0C8Z02BG5Q%3A1795459087.735819 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C8Z02BG5Q%3A1795459087.735819) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C8Z02BG5Q%3A1795459087.735819/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Matt Duncan <14761+mrduncan@users.noreply.github.com>
1 parent 84832c8 commit a03224a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • static/app/views/issueDetails/eventNavigation

‎static/app/views/issueDetails/eventNavigation/index.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ export function IssueEventNavigation({event, group}: IssueEventNavigationProps)
144144
const TabName: Partial<Record<Tab, string>> = {
145145
[Tab.DETAILS]: issueTypeConfig.customCopy.eventUnits,
146146
[Tab.EVENTS]: issueTypeConfig.customCopy.eventUnits,
147+
[Tab.CHECK_INS]: t('Check-Ins'),
148+
[Tab.UPTIME_CHECKS]: t('Uptime Checks'),
147149
[Tab.REPLAYS]: t('Replays'),
148150
[Tab.ATTACHMENTS]: t('Attachments'),
149151
[Tab.USER_FEEDBACK]: t('Feedback'),

0 commit comments

Comments
 (0)