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
Added info about PasswordStrengthIndicator widget #4733
Added info about PasswordStrengthIndicator widget #4733
Conversation
An admin must run tests on this PR before it can be merged. |
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
guides/v2.1/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
Hi @VitaliyBoyko. Thank you for your collaboration. Please, adjust the changes according to the review comments for both versions. Thank you |
Hi @rogyar |
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.
@VitaliyBoyko this looks really good! Just some editorial feedback.
|
||
## Overview {#password_strength_indicator_overview} | ||
|
||
Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} show the user immediate feedback on the validity and strength of a password while it is being typed. |
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.
Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} show the user immediate feedback on the validity and strength of a password while it is being typed. | |
The Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} provides immediate feedback on the validity and strength of a password while it is being typed. |
## Overview {#password_strength_indicator_overview} | ||
|
||
Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} show the user immediate feedback on the validity and strength of a password while it is being typed. | ||
If the password is not strong enough the UI asks the user to choose a new password. |
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.
If the password is not strong enough the UI asks the user to choose a new password. | |
If the password is not strong enough, Magento prompts the user to choose a new password. |
|
||
## Events {#password_strength_indicator_events} | ||
|
||
The password strength indicator widget listens `change`, `keyup` and `paste` events on the password and the email inputs. Listening to the email input is optional. |
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.
The password strength indicator widget listens `change`, `keyup` and `paste` events on the password and the email inputs. Listening to the email input is optional. | |
The password strength indicator widget listens for `change`, `keyup` and `paste` events on the password and the email inputs. Listening to the email input is optional. |
}); | ||
``` | ||
|
||
For details about how to initialize the widget in a`.phtml` template, refer to the [JavaScript initialization] topic. |
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.
Please add the link to the topic: https://devdocs.magento.com/guides/v2.1/javascript-dev-guide/javascript/js_init.html
|
||
## Events {#password_strength_indicator_events} | ||
|
||
The password strength indicator widget listens `change`, `keyup` and `paste` events on the password input. |
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.
The password strength indicator widget listens `change`, `keyup` and `paste` events on the password input. | |
The password strength indicator widget listens for `change`, `keyup`, and `paste` events on the password input. |
}); | ||
``` | ||
|
||
For details about how to initialize the widget in a`.phtml` template, refer to the [JavaScript initialization] topic. |
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.
Please add the link to the topic: https://devdocs.magento.com/guides/v2.1/javascript-dev-guide/javascript/js_init.html
|
||
## Overview {#password_strength_indicator_overview} | ||
|
||
Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} show the user immediate feedback on the validity and strength of a password while it is being typed. |
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.
The Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} provides immediate feedback on the validity and strength of a password while it is being typed.
## Overview {#password_strength_indicator_overview} | ||
|
||
Magento password strength indicator {% glossarytooltip f0dcf847-ce21-4b88-8b45-83e1cbf08100 %}widget{% endglossarytooltip %} show the user immediate feedback on the validity and strength of a password while it is being typed. | ||
If the password is not strong enough the UI asks the user to choose a new password. |
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.
If the password is not strong enough the UI asks the user to choose a new password. | |
If the password is not strong enough, Magento prompts the user to choose a new password. |
|
||
### Result | ||
|
||
The result is a user aware of typed password strength and prevented from using weak one. |
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.
The result is a user aware of typed password strength and prevented from using weak one. | |
The result is an indication of the strength of the user's password. |
guides/v2.2/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
Hi @VitaliyBoyko Thanks for the PR. In the time between your submitting this PR and now, we stopped supporting v2.1. Therefore, we can't accept any changes to that version. If you update your branch and remove the 2.1 file from this PR and keep the changes in 2.2 and 2.3, we can merge it. |
@@ -21,6 +21,7 @@ This guide discusses the following widgets: | |||
- [Menu widget] | |||
- [Modal widget] | |||
- [Navigation widget] | |||
- [PasswordStrengthIndicator widget] |
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.
Please remove changes to the 2.1 version. You should make these in the 2.2 version.
…ator widget to the main menu
Fixed typo
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.
Looks good @VitaliyBoyko!
running tests |
Hi @VitaliyBoyko I think we should add an entry to the 2.2 version of the widgets topic, but wanted to confirm with you: |
Hi @erikmarr And it seems like I had an outdated branch. |
This reverts commit b91bf97
…Boyko/devdocs into PasswordStrengthIndicator-widget
Hi @VitaliyBoyko thanks for all your help with this topic! We need one more change before I can get this merged in. Can you create a symlink for the guides/v2.3 version to your new v2.2 topic: |
running tests |
guides/v2.3/javascript-dev-guide/widgets/widget_password_strength_indicator.md
Outdated
Show resolved
Hide resolved
running tests |
running tests |
Hi @VitaliyBoyko there's something wrong with the symlink. Can you run these commands: Sorry for all the back and forth on this PR! We appreciate your help. |
tested locally and this change looks good! Will run tests and merge. |
running tests |
Hi @VitaliyBoyko, thank you for your contribution! |
Thanks @VitaliyBoyko! |
Purpose of this pull request
This pull request (PR) adds the PasswordStrengthIndicator widget documentation.
Affected DevDocs pages
Links to Magento source code
whatsnew
Added information about the PasswordStrengthIndicator widget.