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(router): Provide an API to update the URL without causing a NavigationStart #24617

Open
jasonaden opened this Issue Jun 21, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@jasonaden
Copy link
Contributor

jasonaden commented Jun 21, 2018

In some situations when a page is rendered, data will be fetched from the server that should end up in the URL. For example, a page containing a sortable table where the sort/filter info comes from the server after the route has already been activated.

In a situation like this, we might want to update the URL with the sort values, but don't want to re-run the full navigation flow. There should be an API allowing certain updates to the URL (probably just the query parameters, but if there's use cases for it maybe the matrix parameters as well) to happen without running the navigation flow.

@dawidgarus

This comment has been minimized.

Copy link

dawidgarus commented Jun 24, 2018

I think it's related to #14283

@jasonaden jasonaden added jira: sync and removed jira: sync labels Jul 16, 2018

@jasonaden jasonaden changed the title feature(router): Provide an API to update the URL without causing a NavigationStart GST-15 ⁃ feature(router): Provide an API to update the URL without causing a NavigationStart Jul 19, 2018

@jasonaden jasonaden removed the jira: sync label Jul 19, 2018

@jasonaden jasonaden changed the title GST-15 ⁃ feature(router): Provide an API to update the URL without causing a NavigationStart feature(router): Provide an API to update the URL without causing a NavigationStart Aug 21, 2018

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 5, 2018

feat(router): add ability to set root level filtering of router events
Adds a `filterEventsPredicate` that can be used to filter out router
events. Used at the top level with `RouterModule.forRoot`'s `ExtraOptions`.

Related to angular#24617
FW-29

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 5, 2018

feat(router): add ability to set root level filtering of router events
Adds a `filterEventsPredicate` that can be used to filter out router
events. Used at the top level with `RouterModule.forRoot`'s `ExtraOptions`.

Related to angular#24617
FW-29

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 13, 2018

feat(router): add ability to set root level filtering of router events
Adds a `filterEventsPredicate` that can be used to filter out router
events. Used at the top level with `RouterModule.forRoot`'s `ExtraOptions`.

Related to angular#24617
FW-29

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 15, 2018

feat(router): allow passing state to `navigate` and `navigateById` me…
…thods

This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 16, 2018

feat(router): allow passing `historyState` to routerLink directives
This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 29, 2018

feat(router): allow passing `state` to routerLink directives
This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 29, 2018

feat(router): allow passing `state` to routerLink directives
This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

jasonaden added a commit to jasonaden/angular that referenced this issue Nov 30, 2018

feat(router): allow passing `state` to routerLink directives
This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

IgorMinar added a commit that referenced this issue Nov 30, 2018

feat(router): allow passing `state` to routerLink directives (#27198)
This value will get written to the `history.state` entry.

FW-613 (related)
Related to #24617

PR Close #27198

FrederikSchlemmer added a commit to FrederikSchlemmer/angular that referenced this issue Jan 3, 2019

feat(router): allow passing `state` to routerLink directives (angular…
…#27198)

This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

PR Close angular#27198

ngfelixl added a commit to ngfelixl/angular that referenced this issue Jan 28, 2019

feat(router): allow passing `state` to routerLink directives (angular…
…#27198)

This value will get written to the `history.state` entry.

FW-613 (related)
Related to angular#24617

PR Close angular#27198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.