Skip to content

fix(location-strategy): extend support for nested primary outlets #1717

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

Merged
merged 3 commits into from
Feb 8, 2019

Conversation

ADjenkov
Copy link
Contributor

@ADjenkov ADjenkov commented Feb 7, 2019

Extending LocationState with Frame property which holds the Frame that initiated the navigation for the given LocationState. Back in parent Outlet should take care of its children states (remove all states until the current Frame that goes back is reached).

Various bug with nested primary <page-router-outlets> where reported from both Kinvey Shared Application and the North Star project.

@ADjenkov ADjenkov added the bug label Feb 7, 2019
@ADjenkov ADjenkov self-assigned this Feb 7, 2019
@ghost ghost added the in progress label Feb 7, 2019
@ADjenkov ADjenkov force-pushed the djenkov/nested-primary-outlets branch from fd1a010 to 03915a1 Compare February 7, 2019 16:09
vakrilov
vakrilov previously approved these changes Feb 8, 2019
Copy link
Contributor

@vakrilov vakrilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After all tests are green

<page-router-outlet tag="rootPRO"></page-router-outlet>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the tag="rootPRO" used somewhere or just for debugging?

Copy link
Contributor Author

@ADjenkov ADjenkov Feb 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is just for debugging, since it is very easy to distinguish which p-r-o is activated, states and so on..it's also in the test app only

@ADjenkov ADjenkov force-pushed the djenkov/nested-primary-outlets branch 2 times, most recently from bb0db35 to 901277d Compare February 8, 2019 12:31
@ADjenkov
Copy link
Contributor Author

ADjenkov commented Feb 8, 2019

test

@ADjenkov ADjenkov force-pushed the djenkov/nested-primary-outlets branch from 901277d to df484d3 Compare February 8, 2019 15:32
@ADjenkov ADjenkov changed the base branch from master to release February 8, 2019 16:08
@ADjenkov
Copy link
Contributor Author

ADjenkov commented Feb 8, 2019

test package_version#rc

@SvetoslavTsenov SvetoslavTsenov merged commit 625759d into release Feb 8, 2019
@SvetoslavTsenov SvetoslavTsenov deleted the djenkov/nested-primary-outlets branch February 8, 2019 17:02
@ghost ghost removed bug in progress labels Feb 8, 2019
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.

3 participants