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

Sync global scales when scale changes #288

Merged
merged 7 commits into from
Oct 30, 2023

Conversation

pleek91
Copy link
Collaborator

@pleek91 pleek91 commented Oct 30, 2023

Description

Fixes a bug where the viewport's visible date range would not reflect changes to the horizontal scale

  • Updates NodesContainerFactory to emit a fetched event with the RunGraphData
  • Updates objects/nodes.ts to listen for the fetched event and use that for its run data
  • Update the global horizontal scale when the horizontal layout scale changes
  • Update the viewport's visible date range when the global horizontal scale changes

@pleek91 pleek91 requested a review from a team as a code owner October 30, 2023 19:25
@netlify
Copy link

netlify bot commented Oct 30, 2023

Deploy Preview for prefect-graphs ready!

Name Link
🔨 Latest commit 144b017
🔍 Latest deploy log https://app.netlify.com/sites/prefect-graphs/deploys/654003456454b70008d809c3
😎 Deploy Preview https://deploy-preview-288--prefect-graphs.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pleek91 pleek91 merged commit 0833123 into main Oct 30, 2023
4 checks passed
@pleek91 pleek91 deleted the update-viewport-date-range-when-scale-changes branch October 30, 2023 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants