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

Removes stale chart files and upgrades remaining d3 dependencies. #7132

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

na9da
Copy link
Collaborator

@na9da na9da commented May 3, 2024

What this PR does

Supersedes #7121

  • Removes some carry over stale chart files from terriajs#v7 and corresponding d3 dependencies
  • Upgrades remaining d3 dependencies
  • Fix for a small breaking change in d3-selection

The d3 upgrades should fix GHSA-36jr-mh4h-2g58, GHSA-36jr-mh4h-2g58.

Test me

  • Charts: Expand the charts in these examples and make sure they are zoomable:
  • Color maps
    • From the style editor for this dataset, make sure all the color map types work correctly.

image

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • [ ] I've updated CHANGES.md with what I changed. There are a few of these dependency upgrade PRs, I'll add a single line for all of them before we do a next release.
  • I've provided instructions in the PR description on how to test this PR.

@na9da na9da mentioned this pull request May 3, 2024
4 tasks
Comment on lines 23 to 25
.on("zoom", (event) => {
props.onZoom(event.transform.rescaleX(this.props.initialScale))
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

d3event is removed in latest d3-selection, instead the event is passed as argument for the zoom callback.

@ljowen ljowen self-assigned this May 29, 2024
@na9da na9da mentioned this pull request May 31, 2024
4 tasks
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.

None yet

2 participants