Skip to content

feat(performance): Add search support to EAP txn summary sample events#111349

Merged
mjq merged 6 commits intomasterfrom
mjq/txn-summary-sample-events-search
Mar 24, 2026
Merged

feat(performance): Add search support to EAP txn summary sample events#111349
mjq merged 6 commits intomasterfrom
mjq/txn-summary-sample-events-search

Conversation

@mjq
Copy link
Member

@mjq mjq commented Mar 23, 2026

Extract EAPSpansQueryBuilder into a shared component and wire up search/filtering in the Sample Events tab when using EAP mode. The spans table now respects the search query from URL params, and non-applicable controls (percentile filter, Open in Discover) are hidden in EAP mode.

Fixes BROWSE-463.

…vents for EAP

Extract EAPSpansQueryBuilder into a shared component and wire up
search/filtering in the Sample Events tab when using EAP mode. The
spans table now respects the search query from URL params, and
non-applicable controls (percentile filter, Open in Discover) are
hidden in EAP mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 23, 2026
cursor[bot]

This comment was marked as resolved.

@linear-code
Copy link

linear-code bot commented Mar 23, 2026

cursor[bot]

This comment was marked as resolved.

@mjq mjq marked this pull request as ready for review March 24, 2026 00:36
@mjq mjq requested a review from a team as a code owner March 24, 2026 00:36
Copy link
Contributor

Choose a reason for hiding this comment

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

@mjq Would it be possible to avoid creating another abstraction on the trace item search query builder, or just create it locally where it's needed?

I cleaned up a couple of these abstractions a little while back because they weren't doing anything really unique for their use case, and they were popping up when you would try to implement a query builder and might cause some confusion on which query builder you should use.

Copy link
Member Author

Choose a reason for hiding this comment

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

@nsdeschenes Okay cool, makes sense. I inlined the two uses and removed the component. 👍

cursor[bot]

This comment was marked as resolved.

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 is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

>
{t('Open in Discover')}
</LinkButton>
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Grid template not adjusted for fewer EAP children

Low Severity

The FilterActions grid template defines 5 columns on xl screens (auto auto 1fr auto auto) and 4 on sm (repeat(4, min-content)), designed for the non-EAP case with 5 children. In EAP mode, only 3 children are rendered (the Percentile select and Open in Discover button are hidden). The empty auto columns still produce gap space (space.xl = 16px each), making the search bar ~32px narrower than intended. The analogous EAP layout in transactionOverview/content.tsx correctly uses a 3-column grid (auto auto 1fr).

Fix in Cursor Fix in Web

Copy link
Contributor

@nsdeschenes nsdeschenes left a comment

Choose a reason for hiding this comment

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

🚀 🌔

@mjq mjq merged commit 7590847 into master Mar 24, 2026
70 checks passed
@mjq mjq deleted the mjq/txn-summary-sample-events-search branch March 24, 2026 18:40
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.

2 participants