Repository
https://github.com/utopian-io/signup.utopian.io
Bug Fixes
Improve Username Input Validation
Details
- Github Issue: https://github.com/utopian-io/signup.utopian.io/issues/21
src/components/steps/account/pick_account.vue
- Added three feedback
spanelements to hold thefa-spinner(checking account feedback),fa-check(valid or available account), andfa-times(invalid or unavailable account name)
- Added the
input_errorandsuccess_msgdiv holders to display the error message and success message, respectively. Used vue'sv-htmlproperty to render the html content of the error and success messages;
- use
_.debounce()to add a1 seconddelay to check for account's existence
- Added three feedback
New Features
Add Recaptcha to Signup Page
Implementation Details
-
- Added
lodashandvue-recaptchadependencies. The former fordebounce()when user type's the account name.
- Added
-
- Import reCAPTCHA's api.js
- Added
font-awesome.cssfor user account's feedback icons
-
- Main file updated
- Encapsulated Github signup button inside a
vue-recaptchacomponent
- Added
onGithubCaptchaVerifiedandonGithubCaptchaExpiredevent handlers; inonGithubCaptchaVerified, re-use existingauthenticate(<provider>)
- Main file updated
Link to Merged Pull Request
https://github.com/utopian-io/signup.utopian.io/pull/22