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

[WIP] Update Rx.js to version 5 #13255

Closed
wants to merge 9 commits into from
Closed

[WIP] Update Rx.js to version 5 #13255

wants to merge 9 commits into from

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Dec 19, 2016

Rx.js got a new major version, compliant with the ES observable spec, Angular 2 will depend on it .. we should upgrade :).

The real incompatibility is really small onNext vs next, but unifying and separating while at it..

WIP mostly because there's no bower package, so depending on #12581

@miq-bot
Copy link
Member

miq-bot commented Dec 19, 2016

Checked commits https://github.com/himdel/manageiq/compare/fa6df9d4291b3352effdcf794ac7e77c91828fed~...6cd217edd21228ab8827e5f3944f2f1b6756503d with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
0 files checked, 0 offenses detected
Everything looks good. 🏆

@@ -47,8 +47,6 @@
"patternfly-timeline": "~1.0.3",
"phantomjs-polyfill": "~0.0.2",
"qs": "~0.3.10",
"rx-angular": "rx.angular#~1.1.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like we will need to begin to remove rx-angular from https://github.com/ManageIQ/ui-components as well

@karelhala ^^

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, I'm only really removing it because it is never used..

But it also seems like ui-components is not using Rx at all, so we can just remove the two dependencies..

Copy link
Contributor

Choose a reason for hiding this comment

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

Angular RX was in first iteration of ui-components, we had to watch on scope for some changes and it was better to use Rx's observable, instead Angular's (they use setTimeout or something strange in $watch function). But later we did not used it, so feel free to remove it, we'll remove it in ui-components as well.

@karelhala
Copy link
Contributor

Rx 5 rocks! Looking forward to this PR to be merged.

@miq-bot
Copy link
Member

miq-bot commented Dec 22, 2016

<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush.

@himdel
Copy link
Contributor Author

himdel commented Dec 23, 2016

Moved to ManageIQ/manageiq-ui-classic#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants