mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-31 19:42:15 +00:00
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations * project grant detail, state update, user-list pad * rm entry components * members nav, i18n, disable actions on non active * add org domain dialog * mv password policy rm to detail view * prefix pinned orgs for userid, fix collapsed pad * fix app back navigation * rem pwd required validator * fix org item overflow * routing * move users modules to users page * reorganize projects * remove child init of translate * hide same preferred loginname
This commit is contained in:
@@ -20,7 +20,7 @@ export class AccountsCardComponent implements OnInit {
|
||||
constructor(public authService: AuthService, private router: Router, private userService: AuthUserService) {
|
||||
this.userService.getMyUserSessions().then(sessions => {
|
||||
this.users = sessions.toObject().userSessionsList;
|
||||
const index = this.users.findIndex(user => user.userName === this.profile.userName);
|
||||
const index = this.users.findIndex(user => user.loginName === this.profile.preferredLoginName);
|
||||
this.users.splice(index, 1);
|
||||
|
||||
this.loadingUsers = false;
|
||||
@@ -34,7 +34,7 @@ export class AccountsCardComponent implements OnInit {
|
||||
}
|
||||
|
||||
public editUserProfile(): void {
|
||||
this.router.navigate(['user/me']);
|
||||
this.router.navigate(['users/me']);
|
||||
this.close.emit();
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,5 @@ import { MemberCreateDialogComponent } from './member-create-dialog.component';
|
||||
SearchRolesAutocompleteModule,
|
||||
OrgMemberRolesAutocompleteModule,
|
||||
],
|
||||
entryComponents: [
|
||||
MemberCreateDialogComponent,
|
||||
],
|
||||
})
|
||||
export class MemberCreateDialogModule { }
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
.meta {
|
||||
position: relative;
|
||||
flex: 1 0 300px;
|
||||
padding: 1rem;
|
||||
|
||||
@media only screen and (min-width: 1500px) {
|
||||
flex-basis: 400px;
|
||||
}
|
||||
padding: 1rem;
|
||||
|
||||
.meta-content {
|
||||
max-height: calc(100vh - 60px);
|
||||
@@ -32,6 +32,7 @@
|
||||
&.hidden {
|
||||
flex: 0 0 0 !important;
|
||||
width: 0;
|
||||
padding: 1px;
|
||||
|
||||
.hide {
|
||||
transform: rotate(180deg);
|
||||
|
||||
@@ -29,6 +29,8 @@ export class UserGrantsComponent implements OnInit, AfterViewInit {
|
||||
|
||||
@Input() allowCreate: boolean = false;
|
||||
@Input() allowDelete: boolean = false;
|
||||
@Input() public disabled: boolean = false;
|
||||
|
||||
|
||||
@Input() userId: string = '';
|
||||
@Input() projectId: string = '';
|
||||
|
||||
@@ -14,8 +14,5 @@ import { WarnDialogComponent } from './warn-dialog.component';
|
||||
TranslateModule,
|
||||
MatButtonModule,
|
||||
],
|
||||
entryComponents: [
|
||||
WarnDialogComponent,
|
||||
],
|
||||
})
|
||||
export class WarnDialogModule { }
|
||||
|
||||
Reference in New Issue
Block a user