Skip to content

Conversation

@hally9k
Copy link
Collaborator

@hally9k hally9k commented Sep 15, 2016

… to the current state and params by changing the way that the STATE_CHANGE_SUCCESS handler in the middleware accesses the previous state and params.

… to the current state and params by changing the way that the STATE_CHANGE_SUCCESS handler in the middleware accesses the previous state and params.
@hally9k hally9k merged commit 9bd4b43 into master Sep 18, 2016
@hally9k hally9k deleted the prev-state-fix branch April 29, 2017 00:30
hally9k added a commit that referenced this pull request Jun 4, 2017
* Support for angular-ui-router 1.0.0-beta.1 (#64)

* Support to ui-router 1.0.0-beta.1
- onStateNotFound action was removed
- evt parameter was removed from onStateChangeStart and onStateChangeError
- example using redux-devtools

* The router listener was simplified

* fixed incorrect params being passed in router middleware on  STATE_CHANGE_SUCCESS

* fix #66 missing parameters passed on transition onStart. Add tests for router-listener (#67)

* Fixed the prev state and params in the redux router state getting set… (#68)

* Fixed the prev state and params in the redux router state getting set to the current state and params by changing the way that the STATE_CHANGE_SUCCESS handler in the middleware accesses the previous state and params.

* added options to the state change start action payload for middle wares etc.

* Add `href` property to the router state object (#51)

* Add `href` property to the router state object

Adding `href` to the router state object gives access to the
`$state.href` function in React code. This allows the creation
of urls for states, which is critical when a component links to
another part of the app and should be crawlable by a crawler.

* Update licenser test

Include `href` payload key in tests

* Fix tests and lint (#70)

* Fix tests for `onStart` and `onError`

Adds a stub for the new options param added in commit
994b8d0

* Fix lint error

* Restrict to node v6 and higher (#75)

* Added MIT license (#79)

* Added stateChangeFinish action to ensure state changes are set in the… (#80)

* Added stateChangeFinish action to ensure state changes are set in the app state before components are instantiated

* added and fixed tests

* updated ui-router to 1.0-beta.3

* missing test

* fixed test

* upgraded ui-router to 1.0.0-rc1 and fixed node engine bug

* upgraded ui-router to 1.0.0-rc1 and fixed node engine bug

* 0.7.0-rc.1

* Expose state activation actions as injectable factory (#81)

* Expose state activation actions as a factory

* Integrate default state activation actions

wrap state activation actions into factory

* Create state-activation-actions.test.js

* Update function name

* added the state activation actions as injectable factory

* 0.7.1-rc.1

* Fixed up example

* bumped patch release

* Upgraded to new ui-router package name
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.

2 participants