Repository navigation
Commit a03224a
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments