-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(console): LDAP UI optimization for better required field recognit…
…ion, improve onboarding all done visibility (#5659) * fix: onboarding all done styles * ldap UI change * rm log * set required marker to formfield, max width of string-list comp * seperate formfields * formarray * clear action * validator * hide pwd field * rm dead code * lint
- Loading branch information
1 parent
0ed2906
commit c420de1
Showing
25 changed files
with
277 additions
and
197 deletions.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
console/src/app/modules/form-field/field/form-field.component.html
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 |
---|---|---|
|
@@ -198,6 +198,12 @@ | |
.state-circle { | ||
display: none; | ||
} | ||
|
||
.action-card { | ||
.action-content { | ||
opacity: 1; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
111 changes: 61 additions & 50 deletions
111
console/src/app/modules/providers/ldap-attributes/ldap-attributes.component.html
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,54 +1,65 @@ | ||
<form [formGroup]="form" class="attribute-form"> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.LDAPIDATTRIBUTE' | translate }}*</cnsl-label> | ||
<input cnslInput formControlName="idAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.AVATARURLATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="avatarUrlAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.DISPLAYNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="displayNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.EMAILATTRIBUTEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="emailAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.EMAILVERIFIEDATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="emailVerifiedAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.FIRSTNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="firstNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.LASTNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="lastNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.NICKNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="nickNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PHONEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="phoneAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PHONEVERIFIEDATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="phoneVerifiedAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PREFERREDLANGUAGEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="preferredLanguageAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PREFERREDUSERNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="preferredUsernameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PROFILEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="profileAttribute" /> | ||
<cnsl-label>{{ 'IDP.LDAPIDATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="idAttribute" required /> | ||
</cnsl-form-field> | ||
|
||
<div class="attribute-more-row"> | ||
<span>{{ 'ACTIONS.MORE' | translate }}</span> | ||
<button (click)="showMore = !showMore" type="button" mat-icon-button> | ||
<mat-icon *ngIf="showMore">keyboard_arrow_up</mat-icon> | ||
<mat-icon *ngIf="!showMore">keyboard_arrow_down</mat-icon> | ||
</button> | ||
</div> | ||
|
||
<ng-container *ngIf="showMore"> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.AVATARURLATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="avatarUrlAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.DISPLAYNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="displayNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.EMAILATTRIBUTEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="emailAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.EMAILVERIFIEDATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="emailVerifiedAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.FIRSTNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="firstNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.LASTNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="lastNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.NICKNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="nickNameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PHONEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="phoneAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PHONEVERIFIEDATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="phoneVerifiedAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PREFERREDLANGUAGEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="preferredLanguageAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PREFERREDUSERNAMEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="preferredUsernameAttribute" /> | ||
</cnsl-form-field> | ||
<cnsl-form-field class="formfield"> | ||
<cnsl-label>{{ 'IDP.PROFILEATTRIBUTE' | translate }}</cnsl-label> | ||
<input cnslInput formControlName="profileAttribute" /> | ||
</cnsl-form-field> | ||
</ng-container> | ||
</form> |
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 |
---|---|---|
|
@@ -4,3 +4,8 @@ | |
max-width: 400px; | ||
padding-bottom: 1rem; | ||
} | ||
|
||
.attribute-more-row { | ||
display: flex; | ||
align-items: center; | ||
} |
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
Oops, something went wrong.
c420de1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./
docs-git-main-zitadel.vercel.app
docs-zitadel.vercel.app
zitadel-docs.vercel.app