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

[FEATURE ember-routing-router-service] isActive and Cleanup #15414

Merged
merged 2 commits into from
Jun 26, 2017

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 26, 2017

  • Adding isActive.
  • Ensure that routerService.transitionTo and routerService.replaceWith
    does not elide query params (even the are the default values).
  • Update implementation of routerService.isActive to handle query params.
  • Ensure that the router:main injection property into the routerService is
    at _router.
  • Remove routerService.currentState
  • Add tests around various query param edge cases with transitionTo / replaceWith

Most of the work here is @scalvert's (thank you!!).

I paired with @ef4 at the F2F today to confirm the semantics match the router service RFC, and fix-up some edge cases around isActive / transitionTo / replaceWith.

@rwjblue rwjblue requested a review from ef4 June 26, 2017 03:57
…ehaviors.

* Ensure that `routerService.transitionTo` and `routerService.replaceWith`
  does not elide query params (even the are the default values).
* Update implementation of `routerService.isActive` to handle query params.
* Ensure that the `router:main` injection property into the routerService is
  at `_router`.
* Remove `routerService.currentState`
* Add tests around various query param edge cases with `transitionTo` / `replaceWith`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants