Skip to content

Conversation

@Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Nov 7, 2025

Frontend for #102965 to add the selected metric into the params of the aggregate function.

@Zylphrex Zylphrex requested a review from a team as a code owner November 7, 2025 21:25
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 7, 2025
}),
chartType: undefined,
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Chart Type Persists Incorrectly

The updateVisualizeYAxis function passes chartType: undefined to visualize.replace(), but the replace method uses nullish coalescing (??) which falls back to this.selectedChartType when chartType is undefined. This prevents resetting the chart type to auto-determine based on the new aggregate function, causing the user's previously selected chart type to persist inappropriately when changing metrics or aggregations.

Fix in Cursor Fix in Web

@Zylphrex Zylphrex merged commit 3df2736 into master Nov 10, 2025
48 checks passed
@Zylphrex Zylphrex deleted the txiao/feat/add-metric-to-aggregate-params branch November 10, 2025 15:13
Jesse-Box pushed a commit that referenced this pull request Nov 12, 2025
Frontend for #102965 to add the selected metric into the params of the
aggregate function.
andrewshie-sentry pushed a commit that referenced this pull request Nov 13, 2025
Frontend for #102965 to add the selected metric into the params of the
aggregate function.
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 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.

3 participants