Skip to content

Enhancements for Login Password input.#153

Merged
ExtremeFiretop merged 1 commit intoExtremeFiretop:devfrom
Martinski4GitHub:dev
Mar 1, 2024
Merged

Enhancements for Login Password input.#153
ExtremeFiretop merged 1 commit intoExtremeFiretop:devfrom
Martinski4GitHub:dev

Conversation

@Martinski4GitHub
Copy link
Collaborator

Enhancements to better handle the password string input and make it more user-friendly by providing feedback, indicating the current string length & allowing users to toggle the "visibility" of the real password vs showing an asterisk for each character.

Enhancements to better handle the password string input and make it more user-friendly by providing feedback, indicating the current string length & allowing users to toggle the "visibility" of the real password vs showing an asterisk for each character.
@Martinski4GitHub
Copy link
Collaborator Author

@ExtremeFiretop,

When you get a chance, please review & validate the following functionality:

  • Provide feedback as each character is typed. By default, an asterisk is displayed for each char.
  • The Backspace key works as usual to delete previous characters.
  • The TAB key works as a toggle to make the real password string visible or show asterisks.
  • Only 7-bit ASCII printable chars are considered valid.
  • The current length of the password string is also shown/updated as you type or delete chars.
  • The maximum length allowed is 64 chars (which is double the max length allowed by ASUS).
  • You can use Copy&Paste to enter the password and the entry will show feedback as well.
  • The current password entry stored in the configuration file will be shown as default.

@ExtremeFiretop
Copy link
Owner

Enhancements to better handle the password string input and make it more user-friendly by providing feedback, indicating the current string length & allowing users to toggle the "visibility" of the real password vs showing an asterisk for each character.

9AM my time and I just woke up. Did you sleep at all last night? hahahaha!

Let me review this after my quick meeting this morning and merge, so far quickly looks great!

@ExtremeFiretop
Copy link
Owner

@ExtremeFiretop,

When you get a chance, please review & validate the following functionality:

  • Provide feedback as each character is typed. By default, an asterisk is displayed for each char.
  • The Backspace key works as usual to delete previous characters.
  • The TAB key works as a toggle to make the real password string visible or show asterisks.
  • Only 7-bit ASCII printable chars are considered valid.
  • The current length of the password string is also shown/updated as you type or delete chars.
  • The maximum length allowed is 64 chars (which is double the max length allowed by ASUS).
  • You can use Copy&Paste to enter the password and the entry will show feedback as well.
  • The current password entry stored in the configuration file will be shown as default.

Holy fancy! I love it. I'll test all these features individually

@Martinski4GitHub
Copy link
Collaborator Author

9AM my time and I just woke up. Did you sleep at all last night? hahahaha!

Let me review this after my quick meeting this morning and merge, so far quickly looks great!

I went to sleep a little past midnight. I had the function completed, but I had not yet fully tested it so I woke up about half an hour ago and did testing & validation before letting you take over and do your usual review & testing. I really like the way it turned out (if I do say so myself). It makes inputting the password much more user-friendly with the feedback & how you can toggle the visibility of the real password. I have a 28-char passphrase and this makes it very easy to just copy/paste it and then verify that I got it all correct by pressing the TAB char before hitting the Enter key.

@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Mar 1, 2024

9AM my time and I just woke up. Did you sleep at all last night? hahahaha!
Let me review this after my quick meeting this morning and merge, so far quickly looks great!

I went to sleep a little past midnight. I had the function completed, but I had not yet fully tested it so I woke up about half an hour ago and did testing & validation before letting you take over and do your usual review & testing. I really like the way it turned out (if I do say so myself). It makes inputting the password much more user-friendly with the feedback & how you can toggle the visibility of the real password. I have a 28-char passphrase and this makes it very easy to just copy/paste it and then verify that I got it all correct by pressing the TAB char before hitting the Enter key.

Enjoy your day buddy, your always great! Next time you hear from me I'll have reviewed this for our next release! Keep your head above water these next few months!

(I got us covered in the meantime)

@Martinski4GitHub
Copy link
Collaborator Author

Martinski4GitHub commented Mar 1, 2024

@ExtremeFiretop,

I have another engineering meeting early today in about 1 hour (with one of our European offices), and then another one after lunch, plus other stuff I have to do before Monday, so I'll be busy.

I'll try to do a quick check on messages whenever I can, but I'll be mostly offline for the rest of the day.

fi
charNum="$(printf "%d" "'$theChar")"

## TAB keypress is a toggle to make password string "visible" ##
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Submitted PR: 154 to address a possible user mis-using this by holding TAB.

@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Mar 1, 2024

Sorry for the delay, I started reviewing and then got called into another meeting (Department is moving to WuFB)
It's the talk of the team right now lol.

So for the review, everything went well. Same for testing!
Here are the results below:

  1. Provide feedback as each character is typed. By default, an asterisk is displayed for each char.
    = Tested and confirmed functional

  2. The Backspace key works as usual to delete previous characters.
    = Tested and confirmed functional

  3. The TAB key works as a toggle to make the real password string visible or show asterisks.
    = Tested and confirmed functional
    However, I noticed if the user holds it for some reason as a "hold to view" instead of a "tab to view" then it starts flicking at a million miles a minute lol!

  4. Only 7-bit ASCII printable chars are considered valid.
    = Tested and confirmed functional

  5. The current length of the password string is also shown/updated as you type or delete chars.
    = Tested and confirmed functional

  6. The maximum length allowed is 64 chars (which is double the max length allowed by ASUS).
    = Tested and confirmed functional

  7. You can use Copy&Paste to enter the password and the entry will show feedback as well.
    = Tested and confirmed functional

  8. The current password entry stored in the configuration file will be shown as default.
    = Tested and confirmed functional

@ExtremeFiretop ExtremeFiretop merged commit e92b427 into ExtremeFiretop:dev Mar 1, 2024
@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Mar 1, 2024

Created PR: 154 for the TAB debounce improvement:
#154

@Martinski4GitHub
Copy link
Collaborator Author

3. The TAB key works as a toggle to make the real password string visible or show asterisks.
   **= Tested and confirmed functional**
   However, I noticed if the user holds it for some reason as a "hold to view" instead of a "tab to view" then it starts flicking at a million miles a minute lol!

Man, you like to abuse your system, don't you? LOL :>).
But yeah, I see what you mean. Good find!!

@ExtremeFiretop
Copy link
Owner

3. The TAB key works as a toggle to make the real password string visible or show asterisks.
   **= Tested and confirmed functional**
   However, I noticed if the user holds it for some reason as a "hold to view" instead of a "tab to view" then it starts flicking at a million miles a minute lol!

Man, you like to abuse your system, don't you? LOL :>). But yeah, I see what you mean. Good find!!

I just like pushing things a bit. Remember I worked IT Support for YEARS before I moved into Engineering only in the last few years. I've seen all the dumb things users can do and complain about!

@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Mar 2, 2024

I should mention I got a test router specifically for testing our scripts so it doesn't impact my production internet now that it's all functioning normally haha! So I'm all about abusing it now 😜

@Martinski4GitHub
Copy link
Collaborator Author

I've seen all the dumb things users can do and complain about!

I hear you!! I've had conversations with people from the customer support group as well and the stories they tell us can be both hilarious & frustrating at the same time. Classic PEBKAC stories!! LOL.

@Martinski4GitHub
Copy link
Collaborator Author

I should mention I got a test router specifically for testing our scripts so it doesn't impact my production internet now that it's all functioning normally haha! So I'm all about abusing it now 😜\

Good call. I tend to be gentle with my router, hoping to get another year before I need to replace it (so far it's been solid and good to us).

@ExtremeFiretop ExtremeFiretop mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants