This repository has been archived by the owner on Mar 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: keep sidenav visibility state on the server for every user (#1194)
PR Close #994
- Loading branch information
1 parent
28aca8b
commit 02ae499
Showing
21 changed files
with
141 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
<div class="wrapper"> | ||
<mat-sidenav-container> | ||
<mat-sidenav [opened]="isDrawerOpen" mode="side"> | ||
<cs-sidenav [title]="title"></cs-sidenav> | ||
</mat-sidenav> | ||
<mat-sidenav-container fullscreen> | ||
<mat-sidenav [opened]="isSidenavVisible$ | async" mode="side"> | ||
<cs-sidenav [title]="title"></cs-sidenav> | ||
</mat-sidenav> | ||
|
||
<router-outlet></router-outlet> | ||
</mat-sidenav-container> | ||
</div> | ||
<router-outlet></router-outlet> | ||
</mat-sidenav-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export { RootStoreModule } from './root-store.module'; | ||
export * from './state'; | ||
export * from './server-data'; | ||
export * from './layout'; | ||
export { IdleMonitorActions } from './idle-monitor'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as layoutActions from './layout.actions'; | ||
import * as layoutSelectors from './layout.selectors'; | ||
|
||
export { | ||
layoutActions, | ||
layoutSelectors | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { OpenSidenav, CloseSidenav } from '../server-data/user-tags/user-tags.actions'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import * as UserTagsSelectors from '../server-data/user-tags/user-tags.selectors'; | ||
|
||
export const isSidenavVisible = UserTagsSelectors.isSidenavVisible; |
Oops, something went wrong.