Victor Savkin
eb2ceff4ba
fix(router): should reset location if a navigation by location is successful ( #13545 )
...
Closes #13491
2016-12-21 12:47:58 -08:00
Dzmitry Shylovich
a006c1418a
feat(router): routerLink add tabindex attribute ( #13094 )
...
Fixes #10895
2016-12-09 15:38:50 -08:00
Jónatan Núñez
9591a08dfb
fix(router): Use T type in Resolve interface ( #13242 )
2016-12-08 11:24:38 -08:00
Victor Berchet
f562cbf86c
fix(router): fix skipLocationChanges on RouterLink directives
...
fixes #13156
2016-12-05 10:54:10 -08:00
Victor Berchet
804943c9b1
refactor(router): cleanup RouterLink
2016-12-05 10:54:10 -08:00
Victor Savkin
d46b8deeea
fix(router): runs guards every time when unsuccessfully navigating to the same url over and over again ( #13209 )
2016-12-02 15:19:00 -08:00
vsavkin
42cf06fa12
feat(router): add support for custom route reuse strategies
2016-11-29 23:21:41 -08:00
Chuck Jazdzewski
3e548de99d
Revert "fix(router): guards restor an incorrect url when used with skipLocationChange"
...
This reverts commit ad20d7d260
.
2016-11-22 13:31:33 -08:00
vsavkin
ad20d7d260
fix(router): guards restor an incorrect url when used with skipLocationChange
...
Closes #12825
2016-11-17 14:10:59 -08:00
Victor Savkin
773b31de8f
fix(router): should not create a route state if navigation is canceled ( #12868 )
...
Closes #12776
2016-11-15 19:00:20 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Victor Savkin
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
vsavkin
e5a753e111
fix(router): router should not swallow "unhandled" errors
...
closes #12802
2016-11-11 13:22:19 -08:00
Dzmitry Shylovich
3052fb234f
fix(router): ignore null or undefined query parameters ( #12333 )
2016-11-10 14:41:19 -08:00
vsavkin
73407351e7
feat(router): add support for custom url matchers
...
Closes #12442
Closes #12772
2016-11-09 16:24:58 -08:00
vsavkin
2c110931f8
fix(router): do not require the creation of empty-path routes when no url left
...
Closes #12133
2016-11-09 16:24:49 -08:00
Victor Savkin
9ddf9b3d3d
fix(router): advance a route only after its children have been deactivated ( #12676 )
...
Closes #11715
2016-11-03 16:26:10 -07:00
André Werlang
2e78b76fcf
fix(router): resolve guard observables on the first emit ( #10412 )
2016-11-02 21:56:04 -07:00
vsavkin
d509ee078b
fix(router): reset URL to the stable state when a navigation gets canceled
...
Closes #10321
2016-11-02 12:25:23 -07:00
vsavkin
830a780cb3
fix(router): CanDeactivate receives a wrong component
...
Closes #12592
2016-11-02 12:25:23 -07:00
vsavkin
fe47e6b783
fix(router): rerun resolvers when url changes
...
Closes #12603
2016-10-28 15:17:00 -07:00
vsavkin
091c390032
fix(router): run navigations serialy
...
Closes #11754
2016-10-28 14:56:08 -07:00
Jeremy Elbourn
c9f58cf78c
feat(router): export routerLinkActive w/ isActive property
2016-10-26 14:08:22 -07:00
vsavkin
6ccbfd41dd
fix(router): preserve resolve data
...
Closes #12306
2016-10-26 13:53:00 -07:00
vsavkin
7d2554baa1
tests(router): add a test showing how to handle resovle errors
2016-10-26 13:52:59 -07:00
vsavkin
52a853e257
fix(router): change router not to deactivate aux routes when navigating from a componentless routes
2016-10-26 13:52:59 -07:00
vsavkin
fc60fa790c
fix(router): add a test to make sure canDeactivate guards are called for aux routes
...
Closes #11345
2016-10-26 13:52:58 -07:00
vsavkin
b74185369f
fix(router): canDeactivate guards are not triggered for componentless routes
...
Closes #12375
2016-10-26 13:52:58 -07:00
Daniel Leib
da5fc696bb
fix(router): do not update primary route if only secondary outlet is given ( #11797 )
2016-10-20 10:59:08 -07:00
Victor Savkin
b44b6ef8f5
fix(router): module loader should start compiling modules when stubbedModules are set ( #11742 )
2016-10-20 10:58:53 -07:00
vsavkin
0f21a5823b
cleanup(router): add a test verifying than NavigationEnd is not emitted after NavigationCancel
2016-10-20 10:56:12 -07:00
vsavkin
5ae6915600
fix(router): fix lazy loading triggered by redirects from wildcard routes
...
Closes #12183
2016-10-20 10:56:12 -07:00
Victor Savkin
8b9ab44eee
feat(router): add support for ng1/ng2 migration ( #12160 )
2016-10-20 10:44:44 -07:00
Victor Berchet
50c37d45dc
refactor: simplify arrow functions ( #12057 )
2016-10-04 15:57:37 -07:00
vsavkin
5a849829c4
feat(router): add router preloader to optimistically preload routes
2016-09-20 14:53:52 -07:00
Victor Berchet
5a4e46db20
refactor(tests): simplify code ( #11485 )
2016-09-09 12:04:38 -07:00
Victor Berchet
1df69cb4d2
fix(DomSchemaRegistry): detect invalid elements
2016-08-30 21:32:03 -07:00
vsavkin
c350ba29f6
fix(router): do not use rx/add/operator
2016-08-30 20:37:35 -07:00
Victor Savkin
e2241a2f92
fix(router): support guards navigating synchronously ( #11150 )
2016-08-29 17:51:38 -07:00
vsavkin
2fc5c57b31
feat(router): add support for custom error handlers
2016-08-26 10:32:35 -07:00
vsavkin
0bb516fae2
fix(router): fix the order of guards, so canActivateChild runs before canActivate
2016-08-26 10:32:35 -07:00
vsavkin
2ffecc0e14
fix(router): update the location before activating components
2016-08-26 10:32:35 -07:00
Igor Minar
3aaf064d11
refactor(router): remove ROUTER_DIRECTIVES which were replaced by RouterModule
2016-08-25 13:29:03 -07:00
Victor Savkin
f1ce7607a6
fix(router): canLoad should cancel a navigation instead of failing it ( #11001 )
2016-08-24 10:20:44 -07:00
Alex Rickabaugh
5ddecb18a7
feat(router): throw a helpful error when misusing forRoot() from a lazy module. ( #10996 )
2016-08-23 11:57:58 -07:00
Victor Savkin
53c99cfc95
feat(router): add syntax sugar for confuguring RouterTestingModule ( #10906 )
2016-08-19 16:01:59 -07:00
vsavkin
9318033294
refactor(router): update router spec not to use TestComponentBuilder
2016-08-17 08:06:32 -07:00
Victor Savkin
24e280a21a
refactor(router): remove deprecated apis ( #10658 )
2016-08-16 13:40:28 -07:00
Julie Ralph
4c9900dc3a
refactor(testing): remove deprecated testing functions ( #10832 )
...
Remove TestComponentBuilder, addProviders, and withProviders. These
were deprecated in rc5 - see the changelog for update information.
Note - this does not actually remove the functions, but makes them
internal only. They will be removed from the codebase entirely
at a later time.
2016-08-15 21:40:37 -07:00
Victor Savkin
6b26102931
feat(router): extend support for lazy loading children ( #10705 )
2016-08-15 21:11:09 -07:00