You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
142495: ui: upgrade d3 to latest version r=kyle-a-wong a=kyle-a-wong
replaced the usage of the d3 package with only the
d3-* modules that we use in cluster-ui / db-console
and upgraded to the latest versions of each of these
packages.
Changes:
- This commit includes an updated world.json geojson
file used to drop the world for the overview node map.
For unknown reasons, the previous version of the geojson
didn't render the united states, random parts of africa,
and a few other countries. This is semi-custom because
I wasn't able to find a source for a version that included
countries AND us state borders. To create this file, I
downloaded a world geo json file and a a united states
geo json file and merged the feature collections. I also
edited the id fields of the stats to include the
abbreviations of each state to replace numerical ids.
- The capacity chart was updated to properly render
the capacity chart in the overview page. The main change
involves adding a call to .merge() to ensure that the d3
components are properly rendered on the screen the first
time they are appeneded to the main svg. See:
https://github.com/d3/d3/blob/main/CHANGES.md#selections-d3-selection
for more details.
- Some zoom behavior functionality changed, and zoom transform is
now available on event.transform. mapLayout.tsx was updated to
account for these changes. See:
https://github.com/d3/d3/blob/main/CHANGES.md#zooming-d3-zoom
for more details.
- nestedLocations was reimplemente to use array.reduce() and no longer
uses d3's nest function
- replaced d3.keys with Object.keys
- Updated db-console babel.config and jest.config to match cluster-ui's
corresponding configs
Resolves: [CRDB-48219](https://cockroachlabs.atlassian.net/browse/CRDB-48219)
Epic: [CRDB-32154](https://cockroachlabs.atlassian.net/browse/CRDB-32154)
Release note: None
143330: release: merge ER commits to RC branches r=celiala a=rail
Previously, as a part of post-publishing tasks, we created merge commits to the main release branch. When we have an extraordinary release, there is a chance of having the next release's branch already cut. If the extraordinary release PRs are not backported to the next release's branch, we may have a regression, when the next version doesn't have the fix merged to the extraordinary release branch.
This PR adds an additional check to verify that all changes from the extraordinary branch are backported to the next release branch if it's already cut. If there are changes, automation creates a merge PR to have all extraordinary changes in the next release branch.
Additionally, add a check if there were no changes on the baking/staging branch after it was cut and skip the merge PR creation.
Added a global flag pointing to the artifacts directory for cases we need to store some outputs.
Fixes: RE-817
Release note: None
Co-authored-by: Kyle Wong <[email protected]>
Co-authored-by: Rail Aliiev <[email protected]>
0 commit comments