Skip to content

feat(insights): Adds sub region selectors to web vitals pages#104321

Merged
edwardgou-sentry merged 2 commits intomasterfrom
egou/feat/web-vitals-sub-region-selector
Dec 3, 2025
Merged

feat(insights): Adds sub region selectors to web vitals pages#104321
edwardgou-sentry merged 2 commits intomasterfrom
egou/feat/web-vitals-sub-region-selector

Conversation

@edwardgou-sentry
Copy link
Copy Markdown
Contributor

Adds the sub region selector component to the Web vitals landing and page overview
image

@edwardgou-sentry edwardgou-sentry requested a review from a team December 3, 2025 15:59
@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner December 3, 2025 15:59
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 3, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 3, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
12770 1 12769 10
View the top 1 failed test(s) by shortest run time
WebVitalsLandingPage renders
Stack Traces | 0.383s run time
Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)

n: 1
Expected: Anything, ObjectContaining {"query": ObjectContaining {"dataset": "spans", "field": ["project.id", "project", "transaction", "p75(measurements.lcp)", "p75(measurements.fcp)", "p75(measurements.cls)", "p75(measurements.ttfb)", "p75(measurements.inp)", "opportunity_score(measurements.score.total)", "performance_score(measurements.score.total)", …], "query": "span.op:[ui.interaction.click,ui.interaction.hover,ui.interaction.drag,ui.interaction.press,ui.webvital.cls,ui.webvital.lcp,pageload,\"\"] !transaction:\"<< unparameterized >>\" avg(measurements.score.total):>=0"}}
Received
->     1: "....../organizations/org-slug/events/", {"error": [Function error], "method": "GET", "query": {"dataset": "spans", "environment": [], "field": ["user.geo.subregion", "count()"], "per_page": 50, "project": [], "query": "has:user.geo.subregion", "referrer": "api.insights.user-geo-subregion-selector", "sampling": "NORMAL", "sort": "-count()", "statsPeriod": "14d"}, "skipAbort": undefined, "success": [Function success]}
       2: "....../organizations/org-slug/events/", {"error": [Function error], "method": "GET", "query": {"dataset": "spans", "environment": [], "field": ["project.id", "project", "transaction", "p75(measurements.lcp)", "p75(measurements.fcp)", "p75(measurements.cls)", "p75(measurements.ttfb)", "p75(measurements.inp)", "opportunity_score(measurements.score.total)", "performance_score(measurements.score.total)", …], "per_page": 25, "project": [], "query": "span.op:[ui.interaction.click,ui.interaction.hover,ui.interaction.drag,ui.interaction.press,ui.webvital.cls,ui.webvital.lcp,pageload,\"\"] !transaction:\"<< unparameterized >>\" avg(measurements.score.total):>=0", "referrer": "api.insights.web-vitals.transactions-scores", "sampling": "NORMAL", "sort": "-opportunity_score(measurements.score.total)", "statsPeriod": "14d"}, "skipAbort": undefined, "success": [Function success]}

Number of calls: 4
    at Object.toHaveBeenNthCalledWith (.../webVitals/views/webVitalsLandingPage.spec.tsx:88:24)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@edwardgou-sentry edwardgou-sentry merged commit bd68838 into master Dec 3, 2025
48 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/feat/web-vitals-sub-region-selector branch December 3, 2025 17:13
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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