Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions static/app/components/group/groupSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import {isValidElement, useEffect, useLayoutEffect, useState} from 'react';
import styled from '@emotion/styled';
import {motion} from 'framer-motion';

import {ExternalLink} from '@sentry/scraps/link';
import {Tooltip} from '@sentry/scraps/tooltip';

import {Button} from 'sentry/components/core/button';
import {Flex} from 'sentry/components/core/layout';
import {Text} from 'sentry/components/core/text';
Expand All @@ -15,7 +18,7 @@ import {
IconRefresh,
IconSpan,
} from 'sentry/icons';
import {t} from 'sentry/locale';
import {t, tct} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import type {Event} from 'sentry/types/event';
import type {Group} from 'sentry/types/group';
Expand Down Expand Up @@ -214,7 +217,20 @@ function GroupSummaryPreview({
<InsightCard key={card.id}>
<CardTitle>
<CardTitleIcon>{card.icon}</CardTitleIcon>
<CardTitleText>{card.title}</CardTitleText>
<Tooltip
title={tct(
'Powered by generative AI. Learn more about our [link:AI privacy principles].',
{
link: (
<ExternalLink href="https://docs.sentry.io/product/ai-in-sentry/ai-privacy-and-security/" />
),
}
)}
showUnderline
isHoverable
>
<CardTitleText>{card.title}</CardTitleText>
</Tooltip>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: AI Privacy Tooltip Inconsistency

The tooltip explaining AI privacy was only added to GroupSummaryPreview but not to GroupSummaryFull. Both components render the same insight cards and should have consistent tooltips. Users viewing the full summary won't see the AI privacy information that appears in the preview.

Fix in Cursor Fix in Web

</CardTitle>
<CardContentContainer>
<CardLineDecorationWrapper>
Expand Down
Loading