-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New runtime config options: feature flags & logged user.
Split auth api service and logged user service. Minor cleanups on the way
- Loading branch information
1 parent
353cc11
commit 13cbcfb
Showing
30 changed files
with
628 additions
and
286 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"apiServerGqlUrl": "http://localhost:8080/graphql", | ||
"loginEnabled": true | ||
"featureFlags": { | ||
"enableLogin": true, | ||
"enableLogout": true | ||
} | ||
} |
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,22 +1,21 @@ | ||
<app-spinner></app-spinner> | ||
<app-header | ||
[appLogo]="appLogo" | ||
[isMobileView]="isMobileView" | ||
[isVisible]="isHeaderVisible" | ||
[userInfo]="user" | ||
[isLoginEnabled]="isLoginEnabled" | ||
(selectDatasetEmitter)="onSelectDataset($event)" | ||
(clickAppLogoEmitter)="onClickAppLogo()" | ||
(loginEmitter)="onLogin()" | ||
(logOutEmitter)="onLogOut()" | ||
(userProfileEmitter)="onOpenUserInfo()" | ||
(addNewEmitter)="onAddNew()" | ||
(clickHelpEmitter)="onHelp()" | ||
(clickSettingsEmitter)="onSettings()" | ||
(clickAnalyticsEmitter)="onAnalytics()" | ||
(clickBillingEmitter)="onBilling()" | ||
(clickUserDatasetsEmitter)="onUserDatasets()" | ||
(clickUserProfileEmitter)="onUserProfile()" | ||
[loggedUserInfo]="loggedUserInfo" | ||
[featureFlags]="featureFlags" | ||
(onSelectedDataset)="onSelectedDataset($event)" | ||
(onClickedAppLogo)="onAppLogo()" | ||
(onClickedLogin)="onLogin()" | ||
(onClickedLogout)="onLogout()" | ||
(onClickedOpenUserInfo)="onOpenUserInfo()" | ||
(onClickedAddNew)="onAddNew()" | ||
(onClickedHelp)="onHelp()" | ||
(onClickedSettings)="onSettings()" | ||
(onClickedAnalytics)="onAnalytics()" | ||
(onClickedBilling)="onBilling()" | ||
(onClickedUserDatasets)="onUserDatasets()" | ||
(onClickedUserProfile)="onUserProfile()" | ||
></app-header> | ||
<router-outlet></router-outlet> | ||
<modal data-test-id="modal"></modal> |
Oops, something went wrong.