Skip to content

perf(issues): Collapse stats on group details request#111156

Merged
scttcper merged 1 commit intomasterfrom
scttcper/collapse-group-details-stats-fe
Mar 23, 2026
Merged

perf(issues): Collapse stats on group details request#111156
scttcper merged 1 commit intomasterfrom
scttcper/collapse-group-details-stats-fe

Conversation

@scttcper
Copy link
Member

@scttcper scttcper commented Mar 19, 2026

Adds collapse=stats to the useGroup query key so the group details endpoint skips computing 24h/30d time-series stats. The issue details page uses Discover queries for its event graph, not the stats field from the group response.

This also benefits the stacktrace preview tooltip, which prefetches group data via useGroup on hover.

Add collapse=stats to the useGroup query key so the group details
endpoint skips computing 24h/30d time-series stats. The issue details
page uses Discover queries for its event graph, not these stats. Saves
~100ms on a ~750ms endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@scttcper scttcper requested a review from a team as a code owner March 19, 2026 21:29
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 19, 2026
@scttcper scttcper requested a review from a team March 19, 2026 21:35
@scttcper scttcper merged commit b0eef3c into master Mar 23, 2026
72 checks passed
@scttcper scttcper deleted the scttcper/collapse-group-details-stats-fe branch March 23, 2026 16:32
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