Skip to content

fix(performance): Hide Tags tab in EAP transaction summary#110709

Merged
mjq merged 2 commits intomasterfrom
mjq/txn-summary-no-eap-tags
Mar 16, 2026
Merged

fix(performance): Hide Tags tab in EAP transaction summary#110709
mjq merged 2 commits intomasterfrom
mjq/txn-summary-no-eap-tags

Conversation

@mjq
Copy link
Member

@mjq mjq commented Mar 14, 2026

We don't support the Tags tab in EAP yet. Hide it for now.

…abled

The Tags tab in the non-domain-view path is not relevant when the
performance-transaction-summary-eap feature flag is enabled. Hide it
using the TabList.Item hidden prop and add tests for the behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mjq
Copy link
Member Author

mjq commented Mar 14, 2026

@sentry review

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 14, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Tags tab not hidden in domain view EAP path
    • Added hidden={isEAP} prop to the Tags TabList.Item in the tabList variable used for domain views to match the inline TabList rendering.

Create PR

Or push these changes by commenting:

@cursor push 58f3557336
Preview (58f3557336)
diff --git a/static/app/views/performance/transactionSummary/header.tsx b/static/app/views/performance/transactionSummary/header.tsx
--- a/static/app/views/performance/transactionSummary/header.tsx
+++ b/static/app/views/performance/transactionSummary/header.tsx
@@ -160,7 +160,9 @@
     >
       <TabList.Item key={Tab.TRANSACTION_SUMMARY}>{t('Overview')}</TabList.Item>
       <TabList.Item key={Tab.EVENTS}>{t('Sampled Events')}</TabList.Item>
-      <TabList.Item key={Tab.TAGS}>{t('Tags')}</TabList.Item>
+      <TabList.Item key={Tab.TAGS} hidden={isEAP}>
+        {t('Tags')}
+      </TabList.Item>
       <TabList.Item key={Tab.REPLAYS} textValue={t('Replays')} hidden={!hasSessionReplay}>
         {t('Replays')}
         <ReplayCountBadge count={replaysCount} />

This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

@mjq
Copy link
Member Author

mjq commented Mar 14, 2026

@cursor push 58f3557

Add hidden={isEAP} prop to Tags TabList.Item in the tabList variable
used by domain views (frontend/backend/mobile). This matches the fix
already applied to the inline TabList rendering.

Applied via @cursor push command
@mjq mjq marked this pull request as ready for review March 14, 2026 01:41
@mjq mjq requested a review from a team as a code owner March 14, 2026 01:41
@mjq mjq merged commit 791ed66 into master Mar 16, 2026
62 checks passed
@mjq mjq deleted the mjq/txn-summary-no-eap-tags branch March 16, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants