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

Voting: Upgrade rxjs to v6 #721

Merged
merged 5 commits into from
Mar 20, 2019
Merged

Voting: Upgrade rxjs to v6 #721

merged 5 commits into from
Mar 20, 2019

Conversation

2color
Copy link
Contributor

@2color 2color commented Mar 20, 2019

What

  • Add rxjs as a dependency
  • Improve dev experience by watching the script in dev/watch mode too
  • Make rxjs v6 code changes where necessary
  • Instead of using rxjs pipe and operators, operate on resolved value with
    native javascript datatypes

This PR is in the same vein as:

Copy link
Contributor

@sohkai sohkai left a comment

Choose a reason for hiding this comment

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

Few small things, but otherwise LGTM 👍

.first()
.subscribe(vote => resolve(loadVoteDescription(marshallVote(vote))))
})
app
Copy link
Contributor

Choose a reason for hiding this comment

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

This should return

@2color 2color force-pushed the rxjs6-upgrade-voting branch from 89ec509 to 11958a2 Compare March 20, 2019 11:31
@2color 2color force-pushed the rxjs6-upgrade-voting branch from 11958a2 to 1313be8 Compare March 20, 2019 11:32
@sohkai sohkai changed the title Upgrade rxjs to v6 in voting app Voting: Upgrade rxjs to v6 Mar 20, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.734% when pulling e0e7ceb on rxjs6-upgrade-voting into 825f8e6 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.734% when pulling e0e7ceb on rxjs6-upgrade-voting into 825f8e6 on master.

Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

✅ ✅ ✅

@2color 2color merged commit 4dfdd6a into master Mar 20, 2019
@2color 2color deleted the rxjs6-upgrade-voting branch March 20, 2019 17:15
ramilexe pushed a commit to ConsiderItDone/aragon-apps that referenced this pull request Dec 9, 2021
* Upgrade to rxjs6 and simplify with toPromise

* Add watch mode for background script

* Use toPromise whereever possible

* fixup! Upgrade to rxjs6 and simplify with toPromise
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.

4 participants