Skip to content

Commit

Permalink
♻️ Undo text change
Browse files Browse the repository at this point in the history
  • Loading branch information
leeandher committed Mar 5, 2025
1 parent 18587fc commit 2d10e1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export function NewIssueExperienceButton() {
} = useIssueDetailsTour();

// XXX: We use a ref to track the previous state of tour completion
// since we only show the banner when the tour goes from uncompleted to completed.
// since we only show the banner when the tour goes from incomplete to complete
const isTourCompletedRef = useRef(isTourCompleted);
const [isReminderVisible, setIsReminderVisible] = useState(false);
useEffect(() => {
// If the tour becomes completed, and started off uncompleted, show the reminder.
// If the tour becomes completed, and started off incomplete, show the reminder.
if (isTourCompleted && !isTourCompletedRef.current) {
setIsReminderVisible(true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ export function EventDetailsHeader({group, event, project}: EventDetailsHeaderPr
<DateFilter
triggerProps={{
borderless: true,
style: {
borderRadius: 0,
},
style: {borderRadius: 0},
}}
/>
<Flex>
Expand Down
8 changes: 4 additions & 4 deletions static/app/views/issueDetails/streamline/eventNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export function IssueEventNavigation({event, group}: IssueEventNavigationProps)
analyticsEventKey="issue_details.all_events_clicked"
analyticsEventName="Issue Details: All Events Clicked"
>
{t('All %s', issueTypeConfig.customCopy.eventUnits)}
{t('View More %s', issueTypeConfig.customCopy.eventUnits)}
</LinkButton>
)}
{issueTypeConfig.pages.openPeriods.enabled && (
Expand All @@ -227,7 +227,7 @@ export function IssueEventNavigation({event, group}: IssueEventNavigationProps)
analyticsEventKey="issue_details.all_open_periods_clicked"
analyticsEventName="Issue Details: All Open Periods Clicked"
>
{t('All Open Periods')}
{t('View More Open Periods')}
</LinkButton>
)}
{issueTypeConfig.pages.checkIns.enabled && (
Expand All @@ -240,7 +240,7 @@ export function IssueEventNavigation({event, group}: IssueEventNavigationProps)
analyticsEventKey="issue_details.all_checks_ins_clicked"
analyticsEventName="Issue Details: All Checks-Ins Clicked"
>
{t('All Check-Ins')}
{t('View More Check-Ins')}
</LinkButton>
)}
{issueTypeConfig.pages.uptimeChecks.enabled && (
Expand All @@ -253,7 +253,7 @@ export function IssueEventNavigation({event, group}: IssueEventNavigationProps)
analyticsEventKey="issue_details.all_uptime_checks_clicked"
analyticsEventName="Issue Details: All Uptime Checks Clicked"
>
{t('All Uptime Checks')}
{t('View More Uptime Checks')}
</LinkButton>
)}
</Fragment>
Expand Down

0 comments on commit 2d10e1e

Please sign in to comment.