-
-
Notifications
You must be signed in to change notification settings - Fork 22.2k
Add reveal button to EditorPropertyText for secret text #104742
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
base: master
Are you sure you want to change the base?
Conversation
IMO the button needlessly uses 2 icons. It could always show the open eye icon, pressed/released already look different. |
I would stay away from using only a colour to differentiate. Different icons are easier to see, especially for people who have limited eye sight. |
The button changes both icon and pressed state (the eye is colored, because it uses the pressed style). Maybe at least disable the toggle mode to make the button change only icon. Or maybe it's fine, idk. |
c7042f9
to
7af4db5
Compare
Added button tooltip text and rebased. |
Will squash at the end. |
This pull request introduces a new button to the editor text property for properties marked as secrets. The button allows users to toggle between showing and hiding the secret text.
The tooltip is displayed only when the text is revealed to minimize the risk of accidentally exposing sensitive information. Previously, this was the only way to show the plain text, but is no longer necessary.