diff --git a/static/app/components/group/inboxBadges/statusBadge.spec.tsx b/static/app/components/group/inboxBadges/statusBadge.spec.tsx index a31da3d1fe5b0a..ddaf86eef0e6a6 100644 --- a/static/app/components/group/inboxBadges/statusBadge.spec.tsx +++ b/static/app/components/group/inboxBadges/statusBadge.spec.tsx @@ -12,7 +12,7 @@ describe('GroupStatusBadge', () => { /> ); await userEvent.hover(screen.getByText('Archived')); - expect(await screen.findByText('Archived until escalating')).toBeInTheDocument(); + expect(await screen.findByText('Archived until escalating.')).toBeInTheDocument(); }); it('should display new', () => { render( diff --git a/static/app/components/group/inboxBadges/statusBadge.tsx b/static/app/components/group/inboxBadges/statusBadge.tsx index f3d8ddcd4cc39c..bd7ab17a418b34 100644 --- a/static/app/components/group/inboxBadges/statusBadge.tsx +++ b/static/app/components/group/inboxBadges/statusBadge.tsx @@ -18,6 +18,7 @@ export function getBadgeProperties( return { tagType: 'highlight', status: t('Resolved'), + tooltip: t('This issue was marked as fixed.'), }; } if (status === 'unresolved') { @@ -25,23 +26,29 @@ export function getBadgeProperties( return { tagType: 'highlight', status: t('Regressed'), + tooltip: t('This issue was resolved then occurred again.'), }; } if (substatus === GroupSubstatus.ESCALATING) { return { tagType: 'error', status: t('Escalating'), + tooltip: t('This issue is occurring significantly more often it used to.'), }; } if (substatus === GroupSubstatus.NEW) { return { tagType: 'warning', status: t('New'), + tooltip: t('This issue first occurred in the last 7 days.'), }; } return { tagType: 'default', status: t('Ongoing'), + tooltip: t( + 'This issue was created more than 7 days ago or has manually been marked as reviewed.' + ), }; } if (status === 'ignored') { @@ -50,10 +57,10 @@ export function getBadgeProperties( status: t('Archived'), tooltip: substatus === GroupSubstatus.ARCHIVED_FOREVER - ? t('Archived forever') + ? t('Archived forever.') : substatus === GroupSubstatus.ARCHIVED_UNTIL_ESCALATING - ? t('Archived until escalating') - : t('Archived until condition met'), + ? t('Archived until escalating.') + : t('Archived until condition met.'), }; } return undefined; diff --git a/static/app/views/issueDetails/streamline/header/header.tsx b/static/app/views/issueDetails/streamline/header/header.tsx index 0e0e02f583348a..0043c4ac83f910 100644 --- a/static/app/views/issueDetails/streamline/header/header.tsx +++ b/static/app/views/issueDetails/streamline/header/header.tsx @@ -12,11 +12,12 @@ import ErrorBoundary from 'sentry/components/errorBoundary'; import EventMessage from 'sentry/components/events/eventMessage'; import {getBadgeProperties} from 'sentry/components/group/inboxBadges/statusBadge'; import UnhandledTag from 'sentry/components/group/inboxBadges/unhandledTag'; +import ExternalLink from 'sentry/components/links/externalLink'; import Link from 'sentry/components/links/link'; import {TourElement} from 'sentry/components/tours/components'; import {MAX_PICKABLE_DAYS} from 'sentry/constants'; import {IconInfo} from 'sentry/icons'; -import {t} from 'sentry/locale'; +import {t, tct} from 'sentry/locale'; import HookStore from 'sentry/stores/hookStore'; import {space} from 'sentry/styles/space'; import type {Event} from 'sentry/types/event'; @@ -177,7 +178,15 @@ export default function StreamlinedGroupHeader({ )} {statusProps?.status ? ( - + + ), + })} + > {statusProps?.status}