Commit c840df2
chore(e2e-tests): add nested tabs test app
feat(location-strategy): refactor location strategy to support nested p-r-o
feat(reuse-strategy): refactor reuse strategy to support nested p-r-o
chore(frame-service): cleanup FrameService from unused methods
feat(router-extensions): extend back() to handle specific outlets by relative route
feat(location-strategy): rework location strategy to support simultaneously outlets back navigation
chore(e2e-tests): extend nested tabs test app with 'split view'
chore: mark states with the current parent route path
chore: add parent outlet to Outlet
chore(router-extensions): prevent back navigation of outlet that already navigating back
chore(reuse-strategy): extend cache key with parent route state string (unique)
fix(router-extensions): fix back navigation when only relative route provided. Should find and back in the current outlet
chore(e2e-tests): extend nested-router-tab-view app with tests
chore(location-strategy): rework location strategy to store outlets by their parent path and current outlet name
chore(reuse-strategy): child components should not be reteached when parent is detached
chore(e2e-tests): extend e2e tests
chore(reuse-strategy): modify shouldDetach to mark parent outlet
chore(location-strategy): Modify getRouteFullPath method
chore(p-r-o): mark all activated routes child routes that have coresponding outlet
chore(router-extensions): find top activated route node for outlet when going back
chore(location-strategy): modify getRouteFullPath to generates proper url path
chore(p-r-o): find the top activated route for outlet inside activateWith method
chore(e2e-tests): extend nested tab view app with lazy loaded home module
feat(router-extensions): extend canGoBack() to handle specific outlets by relative route
e2e tests added
feat(modal-views): remove the back navigation when destroying modal views with p-r-o
Introduce modalNavigationDepth to mark all p-r-o , along with their states, shown as modals.
chore(e2e-modal-navigation): modify goBack to back in the current ActivatedRoute
feat(modal-views): create outlet for any p-r-o displayed as modal view (even if it's 'primary')
feat: introduce NSEmptyOutletComponent to support nested named lazy loaded modules
feat(page-router-outlet): support named lazy loaded outlet
Allow Outlet to be associated with more than one p-r-o (NSEmptyOutlet)1 parent 487abb2 commit c840df2
117 files changed
Lines changed: 2758 additions & 321 deletions
File tree
- e2e
- nested-router-tab-view
- app
- App_Resources
- Android
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- values-v21
- values
- iOS
- Assets.xcassets
- AppIcon.appiconset
- LaunchImage.launchimage
- LaunchScreen.AspectFill.imageset
- LaunchScreen.Center.imageset
- home-lazy
- home
- login
- modal-nested
- modal-second
- modal
- modal-router
- player
- tabs
- team
- e2e
- nativescript-angular
- directives
- router
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments