-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Update dependency @elastic/charts to v16 #52619
Conversation
Is this a duplicate of #52621 |
hey @jbudz @simianhacker could you please re-approve/review this PR? I've closed the Renovate one because someone (the Renovate bot, us or someone else) rebased the renovate bot PR removing our changes and to avoid losing again the changes I opened this one. Thanks and sorry for the noise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simianhacker I will add a missing check on your code. I will also update the library to fix that internally (the chart throw that error when you have a chart with no series in it |
139e9f2
to
0f6d7c4
Compare
blocked by elastic/elastic-charts#503 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ML charts and all LGTM. Confirmed that the hover issue is fixed, so if tooltip type is set as None
, the highlighter on bars and points is no longer displayed.
@elasticmachine merge upstream |
80d11ab
to
0b516ec
Compare
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* master: increase delay to make sure license refetched (elastic#53882) Allow custom NP plugin paths in production (elastic#53562) [Maps] show custom color ramps in legend (elastic#53780) [Lens] Expression type on document can be null (elastic#53883) [SIEM] [Detection engine] Add user permission to detection engine (elastic#53778) Update dependency @elastic/charts to v16.0.2 (elastic#52619) Set consistent EOL symbol in core API docs (elastic#53815) [Logs UI] Refactor query bar state to hooks (elastic#52656) [Maps] pass getFieldFormatter to DynamicTextProperty (elastic#53937) Invalidate alert API Key when generating a new one (elastic#53732) [Logs UI] HTTP API for log entries (elastic#53798)
* master: increase delay to make sure license refetched (elastic#53882) Allow custom NP plugin paths in production (elastic#53562) [Maps] show custom color ramps in legend (elastic#53780) [Lens] Expression type on document can be null (elastic#53883) [SIEM] [Detection engine] Add user permission to detection engine (elastic#53778) Update dependency @elastic/charts to v16.0.2 (elastic#52619) Set consistent EOL symbol in core API docs (elastic#53815) [Logs UI] Refactor query bar state to hooks (elastic#52656) [Maps] pass getFieldFormatter to DynamicTextProperty (elastic#53937) Invalidate alert API Key when generating a new one (elastic#53732) [Logs UI] HTTP API for log entries (elastic#53798) [kbn/pm] add caching to bootstrap (elastic#53622) adds createdAt and updatedAt fields to alerting (elastic#53793)
* master: increase delay to make sure license refetched (elastic#53882) Allow custom NP plugin paths in production (elastic#53562) [Maps] show custom color ramps in legend (elastic#53780) [Lens] Expression type on document can be null (elastic#53883) [SIEM] [Detection engine] Add user permission to detection engine (elastic#53778) Update dependency @elastic/charts to v16.0.2 (elastic#52619) Set consistent EOL symbol in core API docs (elastic#53815) [Logs UI] Refactor query bar state to hooks (elastic#52656) [Maps] pass getFieldFormatter to DynamicTextProperty (elastic#53937) Invalidate alert API Key when generating a new one (elastic#53732) [Logs UI] HTTP API for log entries (elastic#53798) [kbn/pm] add caching to bootstrap (elastic#53622) adds createdAt and updatedAt fields to alerting (elastic#53793) [SR] Enable component integration tests (elastic#53893)
…nsole-dependencies * 'master' of github.com:elastic/kibana: (33 commits) adds strict types to Alerting Client (elastic#53821) [Dashboard] Empty screen redesign (elastic#53681) Migrate config deprecations and `ShieldUser` functionality to the New Platform (elastic#53768) increase delay to make sure license refetched (elastic#53882) Allow custom NP plugin paths in production (elastic#53562) [Maps] show custom color ramps in legend (elastic#53780) [Lens] Expression type on document can be null (elastic#53883) [SIEM] [Detection engine] Add user permission to detection engine (elastic#53778) Update dependency @elastic/charts to v16.0.2 (elastic#52619) Set consistent EOL symbol in core API docs (elastic#53815) [Logs UI] Refactor query bar state to hooks (elastic#52656) [Maps] pass getFieldFormatter to DynamicTextProperty (elastic#53937) Invalidate alert API Key when generating a new one (elastic#53732) [Logs UI] HTTP API for log entries (elastic#53798) [kbn/pm] add caching to bootstrap (elastic#53622) adds createdAt and updatedAt fields to alerting (elastic#53793) [SR] Enable component integration tests (elastic#53893) Move index patterns: src/legacy/core_plugins/data 👉 src/plugins/data (elastic#53794) moved Task Manager server code under "server" directory (elastic#53777) Rename `/api/security/oidc` to `/api/security/oidc/callback`. (elastic#53886) ... # Conflicts: # yarn.lock
Summary
This PR contains the following updates:
^14.0.0
->^16.0.1
Release Notes
elastic/elastic-charts
16.0.1 (2020-01-03)
Bug Fixes
16.0.0 (2020-01-02)
Bug Fixes
BREAKING CHANGES
onCursorUpdate
Settings property is changed to a more genericonPointerUpdate
. The same apply for the event typeCursorEvent
that is nowPointerEvent
and can assume aPointerOverEvent
orPointOutEvent
shape (see TS types)15.0.5 (2019-12-12)
Bug Fixes
15.0.4 (2019-12-12)
Bug Fixes
15.0.3 (2019-12-05)
Bug Fixes
15.0.2 (2019-12-05)
Bug Fixes
15.0.1 (2019-12-02)
Bug Fixes
15.0.0 (2019-12-02)
Code Refactoring
BREAKING CHANGES
GeometryId
is nowSeriesIdentifier
.customSeriesColors
prop onSeriesSpec
which used to take aCustomSeriesColorsMap
, now expects aCustomSeriesColors
type.LegendItemListener
now passes theSeriesIdentifier
type as the first callback argument.SpecId
,AxisId
,AnnotationId
types are down-casted to astring
type. ThegetSpecId
,getAxisId
andgetAnnotationId
methods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previouslyid
,axisId
,annotationId
etc are now aligned to use the same prop name:id
. The chart rendering statusdata-ech-render-complete
anddata-ech-render-count
is no more at the root level of theechChart
div, but on its child element:echChartStatus
. TheSpec
has two new private properties calledchartType
andspecType
.Compare Source
PR Notes:
The PR fix the hover issues discovered by @peteharverson in the ML charts.
Missing discussion points
#50513 (comment)
from: @nickofthyme to: @spalger
I wanted to verify with you. I kept getting the following error when react hooks since we are currently using
react
as adependency
not apeerDependency
in@elastic/charts
. Hopefully, this is changed soon 👉elastic/elastic-charts#378I was able to fix it by adding
react
to the yarnresolutions
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.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers