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

Updated react-vis to 1.10.2 #999

Merged
merged 4 commits into from
Jul 13, 2018
Merged

Updated react-vis to 1.10.2 #999

merged 4 commits into from
Jul 13, 2018

Conversation

markov00
Copy link
Member

@markov00 markov00 commented Jul 11, 2018

This PR updates react-vis lib to 1.10.2 and sticked to that version (see my comment on this uber/react-vis#861) that's includes our PR uber/react-vis#857 to align XYPlot events handlers introducing some more event handlers we are using on EuiXYChart.
This PR get rid of the introduced XYPlotExtended class used to include these handlers before the PR merge.

The package version in package.json is also updated since the PR was merged and available only from 1.10.2 version.

The div around the XYPlot was also removed since it is not required anymore. All snapshots are updated after this removal.

CHANGELOG.md Outdated
@@ -1,6 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `1.2.1`.
- No public interface changes since `1.2.1`.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove the no changes line

aria-label="aria-label"
class="testClass1 testClass2"
data-test-subj="test subject string"
class="rv-xy-plot "
Copy link
Contributor

Choose a reason for hiding this comment

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

removing the wrapping div takes away support for aria-label, class, data-test-subj, and other custom attributes

@cjcenizal
Copy link
Contributor

@markov00 Sorry, I'm slammed so I'm going to have to remove myself from the review.

@cjcenizal cjcenizal removed their request for review July 11, 2018 17:53
@markov00
Copy link
Member Author

@chandlerprall I've updated the PR following your requested changes.
I've also fixed the version of react-vis to a fixed 1.10.2 because the next patch introduce some errors on tests and it's currently under discussion with uber guys.

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

changes LGTM!

The features we introduced in XYPlot are now merged into react-vis after uber/react-vis#857. The XYPlotExtended class is removed.

The div aroung the XYPlot is also removed since it's not required. All snapshots are updated after this removal.
Check this issue comments to see the status: uber/react-vis#861
@markov00 markov00 merged commit fc54395 into elastic:master Jul 13, 2018
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.

3 participants