Skip to content

Commit c5833a6

Browse files
evanpurkhiserandrewshie-sentry
authored andcommitted
feat(crons): Link to docs for unknown check-in legend (#81012)
Requires getsentry/sentry-docs#11894
1 parent 72d626f commit c5833a6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

static/app/views/monitors/components/detailsSidebar.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ import styled from '@emotion/styled';
44
import ActorAvatar from 'sentry/components/avatar/actorAvatar';
55
import {SectionHeading} from 'sentry/components/charts/styles';
66
import {KeyValueTable, KeyValueTableRow} from 'sentry/components/keyValueTable';
7+
import ExternalLink from 'sentry/components/links/externalLink';
78
import QuestionTooltip from 'sentry/components/questionTooltip';
89
import Text from 'sentry/components/text';
910
import TimeSince from 'sentry/components/timeSince';
1011
import {Tooltip} from 'sentry/components/tooltip';
1112
import {IconCopy} from 'sentry/icons';
12-
import {t, tn} from 'sentry/locale';
13+
import {t, tct, tn} from 'sentry/locale';
1314
import {space} from 'sentry/styles/space';
1415
import {getFormattedDate} from 'sentry/utils/dates';
1516
import useCopyToClipboard from 'sentry/utils/useCopyToClipboard';
@@ -115,7 +116,14 @@ export default function DetailsSidebar({monitorEnv, monitor, showUnknownLegend}:
115116
{t('Unknown Status')}
116117
<QuestionTooltip
117118
size="sm"
118-
title={t('Sentry was unable to determine the check-in status.')}
119+
title={tct(
120+
'Sentry was unable to determine the check-in status. [link:Learn More].',
121+
{
122+
link: (
123+
<ExternalLink href="https://docs.sentry.io/product/crons/monitor-details/#check-in-statuses" />
124+
),
125+
}
126+
)}
119127
/>
120128
</UnknownText>
121129
</CheckInLegendItem>

0 commit comments

Comments
 (0)