Skip to content

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

Merged
SvetoslavTsenov merged 3 commits into
releasefrom
djenkov/nested-primary-outlets
Feb 8, 2019
Merged

fix(location-strategy): extend support for nested primary outlets#1717
SvetoslavTsenov merged 3 commits into
releasefrom
djenkov/nested-primary-outlets

Conversation

@ADjenkov
Copy link
Copy Markdown
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
Copy Markdown
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

@@ -1 +1 @@
<page-router-outlet></page-router-outlet> No newline at end of file
<page-router-outlet tag="rootPRO"></page-router-outlet> No newline at end of file
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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