-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnvFrom reveal/hide secrets within display modal #2378
EnvFrom reveal/hide secrets within display modal #2378
Conversation
</div> | ||
<div class="modal-body"> | ||
<h4>{{$ctrl.overlayPaneEntryDetails.metadata.name}} | ||
<small class="muted">– {{$ctrl.overlayPaneEntryDetails.kind | humanizeKind : true}}</small></h4> | ||
<small ng-if="$ctrl.overlayPaneEntryDetails.kind === 'Secret'" class="mar-left-sm"><a href="" ng-click="$ctrl.showSecret = !$ctrl.showSecret">{{$ctrl.showSecret ? "Hide" : "Reveal"}} Values</a></small> |
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.
role="button"
on the a
element
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.
<span ng-if="$ctrl.overlayPaneEntryDetails.kind === 'Secret'">*****</span> | ||
<span ng-if="!$ctrl.showSecret && $ctrl.overlayPaneEntryDetails.kind === 'Secret'">*****</span> | ||
<div ng-if="$ctrl.showSecret && $ctrl.overlayPaneEntryDetails.kind === 'Secret'"> | ||
{{value}} |
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.
Use truncate-long-text
here, too. Secret values can be long.
This is a small, low-risk change that fixes a usability problem. /kind bug |
d7048b9
to
c6f9716
Compare
/lgtm |
Reveal and hide secret value display within the EnvFrom modal
c6f9716
to
782f6e6
Compare
/lgtm |
/retest |
Automatic merge from submit-queue. |
Reveal and hide secret value display within the EnvFrom modal.
Related to issue #2182