Skip to content

Commit

Permalink
ref(feedback): add tooltip to activity section clarifying its purpose (
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewzhang authored and trillville committed Jan 19, 2024
1 parent 8cdf1f3 commit 020fa0a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion static/app/components/feedback/feedbackItem/feedbackItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import ReplaySection from 'sentry/components/feedback/feedbackItem/replaySection
import TagsSection from 'sentry/components/feedback/feedbackItem/tagsSection';
import PanelItem from 'sentry/components/panels/panelItem';
import {Flex} from 'sentry/components/profiling/flex';
import QuestionTooltip from 'sentry/components/questionTooltip';
import TextCopyInput from 'sentry/components/textCopyInput';
import {replayPlatforms} from 'sentry/data/platformCategories';
import {IconChat, IconFire, IconLink, IconPlay, IconTag} from 'sentry/icons';
Expand Down Expand Up @@ -97,7 +98,20 @@ export default function FeedbackItem({feedbackItem, eventData, tags}: Props) {
<TagsSection tags={tags} />
</Section>

<Section icon={<IconChat size="xs" />} title={t('Activity')}>
<Section
icon={<IconChat size="xs" />}
title={
<Fragment>
{t('Activity')}
<QuestionTooltip
size="xs"
title={t(
'Use this section to post comments that are visible only to your organization. It will also automatically update when someone resolves or assigns the feedback.'
)}
/>
</Fragment>
}
>
<FeedbackActivitySection feedbackItem={feedbackItem} />
</Section>
</OverflowPanelItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Section({
contentRight,
}: {
children: ReactNode;
title: string;
title: ReactNode;
contentRight?: ReactNode;
icon?: ReactNode;
}) {
Expand Down

0 comments on commit 020fa0a

Please sign in to comment.