-
Notifications
You must be signed in to change notification settings - Fork 481
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 'Verified Teacher' string and label added in account settings... #46888
Added 'Verified Teacher' string and label added in account settings... #46888
Conversation
Can we capitalize the "v" in "verified"? |
@@ -15,6 +15,9 @@ | |||
- email_mismatch = current_user.errors.delete(:email_mismatch) | |||
- current_user.reload if email_mismatch.present? | |||
= render "devise/shared/error_messages", resource: resource | |||
- if current_user.permission?(UserPermission::AUTHORIZED_TEACHER) | |||
.field | |||
= f.label '✔ '+t('activerecord.attributes.user.verified_teacher'), class: 'label-bold', style: 'color:green; text-transform: capitalize'; |
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.
Usually it can be buggy to concatinate two strings together because the behaviour with RTL languages is hard to predict. Please verify this still looks good in a RTL language (Arabic / ar-SA)
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.
🎉 🎉 🎉
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.
✨
… for verified teachers.
Our Customer Support manager has asked if we can add some sort of explicit indicator on the Account Settings page, clearly stating "Verified! " or similar, to reduce confusion. Sometimes we verify folks, but their provided email address (under their Code.org account) isn’t a real working accessible inbox, so they’re verified, but they don’t receive our email letting them know. In general, there’s no indicator on the site stating “you are verified.”
Acceptance criteria
Add “Verified teacher” to the i18n sync
A green checkmark icon (not an interactive component) and the string “Verified teacher” appear below the “Edit Account Details” title on http://studio.code.org/users/edit if the User has an authorized_teacher UserPermission.
Links
Testing story
Test Performed
Account settings has been tested locally for the following scenarios:
All tests were successful.
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: