Skip to content

Conversation

@narsaynorath
Copy link
Member

@narsaynorath narsaynorath commented Oct 22, 2025

Synchronizes the chart cursors on hover.

Closes LOGS-467

@narsaynorath narsaynorath requested a review from a team as a code owner October 22, 2025 19:10
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 22, 2025
@narsaynorath narsaynorath enabled auto-merge (squash) October 22, 2025 19:12
metricQueries.length,
!timeseriesResult.isPending,
METRICS_CHART_GROUP
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: Hook Misuse Causes Chart Sync Issues

The useSynchronizeCharts hook is called per MetricsGraph component, rather than once for the chart group. This means multiple calls for the same group, each with its own loading state, which can cause inconsistent synchronization or race conditions.

Fix in Cursor Fix in Web

@narsaynorath
Copy link
Member Author

Going to keep this open for a sec, there's an issue with the chart after adding synced cursors (when the panel slider moves, the charts don't resize, the overflow is just hidden)

@narsaynorath narsaynorath marked this pull request as draft October 24, 2025 13:02
@narsaynorath narsaynorath marked this pull request as ready for review November 11, 2025 22:07
@narsaynorath narsaynorath enabled auto-merge (squash) November 11, 2025 22:07
@linear
Copy link

linear bot commented Nov 11, 2025

@narsaynorath narsaynorath merged commit e3ba38b into master Nov 11, 2025
48 checks passed
@narsaynorath narsaynorath deleted the nar/feat/tracemetrics-sync-charts branch November 11, 2025 22:13
Jesse-Box pushed a commit that referenced this pull request Nov 12, 2025
Synchronizes the chart cursors on hover
andrewshie-sentry pushed a commit that referenced this pull request Nov 13, 2025
Synchronizes the chart cursors on hover
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