Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10.0.x] TimeSeries: Fix zoom not working after editing panel #72224

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 425c92a from #72163


Fixes #71976

honestly, i'm not sure why this fixes it 😅 , but less useEffect is always better.

@nmarrs and i looked at this but unfortunately were not able to figure out why we're still accumulating an additional setSelect hook call after every exit from panel edit. there's probably a memory leak somewhere and we only got as far as verifying that it only happens with components based on GraphNG, but not those using UPlotChart directly. not sure if it's worth investigating further since we want to get rid of GraphNG eventually, but should still keep an eye out for this issue in case it re-surfaces in the future.

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
(cherry picked from commit 425c92a)
@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team as a code owner July 24, 2023 19:32
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.0.x milestone Jul 24, 2023
@grafana-delivery-bot grafana-delivery-bot bot requested a review from nmarrs July 24, 2023 19:32
@nmarrs nmarrs self-assigned this Jul 24, 2023
@nmarrs nmarrs enabled auto-merge (squash) July 24, 2023 20:13
@nmarrs nmarrs merged commit ff5cf0f into v10.0.x Jul 24, 2023
@nmarrs nmarrs deleted the backport-72163-to-v10.0.x branch July 24, 2023 20:14
@zerok zerok modified the milestones: 10.0.x, 10.0.4 Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants