Skip to content

Conversation

@k-fish
Copy link
Member

@k-fish k-fish commented Nov 12, 2025

Updates with better fields.

Updates with better fields.
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 12, 2025
@k-fish k-fish enabled auto-merge (squash) November 12, 2025 18:27
metricsSupportedPlatformNameRef.current = metricsSupportedPlatform?.slug;
}

const hasMetricsSupportedPlatform = !!metricsSupportedPlatformNameRef.current;
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Metrics UI Out of Sync with Project Data

The metricsSupportedPlatformNameRef is set conditionally during render and never updates when projects changes. If projects load asynchronously or change later, hasMetricsSupportedPlatform will remain stale, preventing the Metrics nav item from appearing even when supported platforms exist, and causing analytics to report incorrect data.

Fix in Cursor Fix in Web

@k-fish k-fish merged commit 261e83f into master Nov 12, 2025
48 checks passed
@k-fish k-fish deleted the feat/tracemetrics/can-see-metrics-tab-update branch November 12, 2025 18:37
andrewshie-sentry pushed a commit that referenced this pull request Nov 13, 2025
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