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
GeometryId is now SeriesIdentifier. customSeriesColors prop on SeriesSpec which used to take a CustomSeriesColorsMap, now expects a CustomSeriesColors type. LegendItemListener now passes the SeriesIdentifier type as the first callback argument.
SpecId,AxisId, AnnotationId types are down-casted to a string type. The getSpecId, getAxisId and getAnnotationId methods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previously id, axisId,annotationId etc are now aligned to use the same prop name: id. The chart rendering status data-ech-render-complete and data-ech-render-count is no more at the root level of the echChart div, but on its child element: echChartStatus. The Spec has two new private properties called chartType and specType.
GeometryId is now SeriesIdentifier. customSeriesColors prop on SeriesSpec which used to take a CustomSeriesColorsMap, now expects a CustomSeriesColors type. LegendItemListener now passes the SeriesIdentifier type as the first callback argument.
SpecId,AxisId, AnnotationId types are down-casted to a string type. The getSpecId, getAxisId and getAnnotationId methods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previously id, axisId,annotationId etc are now aligned to use the same prop name: id. The chart rendering status data-ech-render-complete and data-ech-render-count is no more at the root level of the echChart div, but on its child element: echChartStatus. The Spec has two new private properties called chartType and specType.
👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.
@spalger I wanted to verify with you. I kept getting the following error when react hooks since we are currently using react as a dependency not a peerDependency in @elastic/charts. Hopefully, this is changed soon 👉elastic/elastic-charts#378
Uncaught Invariant Violation: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
I was able to fix it by adding react to the yarn resolutions to force the version to match/use that of kibana but wanted to make sure this doesn't have any negative consequences that I'm not aware of, so long as all checks pass.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the VRTs are slightly off because of a small change in the CanvasBBoxCalculator implementation added in the MobX -> Redux refactoring. I think we can approve all of them
@elastic/ml-ui & @elastic/logs-metrics-ui Could someone please review the elastic charts in your apps and make sure these changes don't cause a regression? Thanks!
The reason will be displayed to describe this comment to others. Learn more.
Looking at the ML charts, has the behavior changed to disable hover events? We now see a circle for line charts, where before we intentionally have no hover effect:
and for bar charts, the color of the hovered over bar lightens slightly:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^14.0.0->^15.0.1Release Notes
elastic/elastic-charts
v15.0.0Compare Source
Code Refactoring
BREAKING CHANGES
GeometryIdis nowSeriesIdentifier.customSeriesColorsprop onSeriesSpecwhich used to take aCustomSeriesColorsMap, now expects aCustomSeriesColorstype.LegendItemListenernow passes theSeriesIdentifiertype as the first callback argument.SpecId,AxisId,AnnotationIdtypes are down-casted to astringtype. ThegetSpecId,getAxisIdandgetAnnotationIdmethods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previouslyid,axisId,annotationIdetc are now aligned to use the same prop name:id. The chart rendering statusdata-ech-render-completeanddata-ech-render-countis no more at the root level of theechChartdiv, but on its child element:echChartStatus. TheSpechas two new private properties calledchartTypeandspecType.v14.2.0Compare Source
Code Refactoring
BREAKING CHANGES
GeometryIdis nowSeriesIdentifier.customSeriesColorsprop onSeriesSpecwhich used to take aCustomSeriesColorsMap, now expects aCustomSeriesColorstype.LegendItemListenernow passes theSeriesIdentifiertype as the first callback argument.SpecId,AxisId,AnnotationIdtypes are down-casted to astringtype. ThegetSpecId,getAxisIdandgetAnnotationIdmethods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previouslyid,axisId,annotationIdetc are now aligned to use the same prop name:id. The chart rendering statusdata-ech-render-completeanddata-ech-render-countis no more at the root level of theechChartdiv, but on its child element:echChartStatus. TheSpechas two new private properties calledchartTypeandspecType.v14.1.0Compare Source
Features
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.