angular/packages/router/test
Andrew Scott 1d3a7529b4 feat(router): Set a different browser URL from the one for route matching (#53318)
This feature adds a property to the `NavigationBehaviorOptions` that
allows developers to define a different path for the browser's address
bar than the one used to match routes. This is useful for redirects
where you want to keep the browser bar the same as the original
attempted navigation but redirect to a different page, such as a 404 or
error page.

fixes #17004

PR Close #53318
2024-06-13 13:59:45 -07:00
..
directives fix(router): Routed components never inherit RouterOutlet EnvironmentInjector (#54265) 2024-04-01 09:19:13 -07:00
operators refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
utils refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
apply_redirects.spec.ts feat(router): Allow Route.redirectTo to be a function which returns a string or UrlTree (#52606) 2024-03-14 11:19:01 -07:00
bootstrap.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
BUILD.bazel fix(router): Ensure title observable gets latest values (#51561) 2023-08-31 16:42:44 +00:00
computed_state_restoration.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
config.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
create_router_state.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
create_url_tree.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
default_export_component.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
default_export_routes.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
helpers.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
integration.spec.ts feat(router): Set a different browser URL from the one for route matching (#53318) 2024-06-13 13:59:45 -07:00
page_title_strategy_spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
recognize.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
regression_integration.spec.ts fix(router): Navigations triggered by cancellation events should cancel previous navigation (#54710) 2024-03-07 13:07:08 -08:00
router.spec.ts fix(router): Routed components never inherit RouterOutlet EnvironmentInjector (#54265) 2024-04-01 09:19:13 -07:00
router_link_active.spec.ts fix(router): RouterLinkActive will always remove active classes when links are not active (#54982) 2024-03-27 10:16:16 -07:00
router_link_spec.ts feat(router): Allow UrlTree as an input to routerLink (#56265) 2024-06-07 09:33:14 -07:00
router_navigation_extras.spec.ts fix(router): preserve replaceUrl when returning a urlTree from CanActivate (#54042) 2024-03-27 10:57:52 -07:00
router_preloader.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
router_scroller.spec.ts fix(router): Scroller should scroll as soon as change detection completes (#55105) 2024-04-30 09:19:06 -07:00
router_state.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
shared.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
standalone.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
url_serializer.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
url_tree.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00
view_transitions.spec.ts refactor: migrate router to prettier formatting (#54318) 2024-02-08 19:17:14 +00:00