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
Change behavior of "hide password" checkbox #44
Comments
Hi man , is that issue good as first one . |
So I think there's two possible approaches here: 1) Automatically check the hide password option on selection of "None" encryption type as descried in this issue or 2) hide the password entry box altogether on selection of the "None" encryption type. Option 2) seems to be a more natural implementation IMO. Thoughts? |
@noahhefner You beat me to it! One caveat-- There is the use-case where you have a password but you might not want it on the printout. I think we need the hide password checkbox for that. What if we changed the behavior as follows:
I think that would result in the most intuitive behavior while covering all use-cases. Thoughts? |
Yeah that sounds good to me! So to clarify, selecting "None" encryption would automatically check hide password and hide the password textarea. Also, when selecting "None" encryption, the
EDIT: This seems like an edge case so it's not imperative that this is implemented, just something I found while testing. |
Correct
Nice catch, that sounds like a bug. Clearing the password as you described should resolve it. (I'm not sure if it matters to the end device, but it's something worth cleaning up either way) EDIT: I've updated the first comment in this issue to reflect. I've also opened a separate issue for clearing the password value on "None" encryption. |
@Mouradouchane If you're familiar with React and JavaScript, this could be a reasonable first issue. Alternatively, #46 would be a great first issue. |
@bndw yeah i'am familiar with javascript , but i don't know anything about react |
@Mouradouchane Just added some in #47 |
Hi @bndw , I just want to tell you, I did my best for hours, trying to contribute to your great project, but I couldn't do anything due to my lack of knowledge of "React" |
Change the behavior of the Hide password checkbox as follows:
display: none
. This would make is immediately invisible to the user (expected) as well as the printout.The text was updated successfully, but these errors were encountered: