-
Notifications
You must be signed in to change notification settings - Fork 3k
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
implement character limit checking for custom pronouns #6899
implement character limit checking for custom pronouns #6899
Conversation
tweak lang variable implementation to be consistent restore [type]NameLength translations for API errors make getCharacterLimitErrors use of personalDetails.error.characterLimit variable driven
refactor error function to use destructured variables
I'll get to this tomorrow |
@anthony-hull Could you please fix the lint errors? |
the lint error is for a file I didn't change, should I be fixing lint errors for files not related to the PR? |
Please merge main... |
Looks to me like a use of ExpensifyText in ReportItemActionMessage.js hasn't been renamed to Text. |
Yeah, Please wait. I will create a new PR to fix this. |
#7006 |
Great. No issues. Let's wait for it to merge. |
The fix PR should be merged very soon. |
@anthony-hull that PR is merged now. |
I'll re-request a review when this is ready |
rename variable in getMaxCharacterError to improve self description
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.
So far so good. Only one change. Thanks for your patience.
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.
I missed this sorry. But looks good.
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.
I forgot to merge this 🙃 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @Julesssss in version: 1.1.26-2 🚀
|
🚀 Deployed to staging by @Julesssss in version: 1.1.27-0 🚀
|
@anthony-hull We are getting errors under each fields during QA. |
Hi @mvtglobally. I believe this instruction could be out of date now. Seeing the same message (
|
I agree. That instruction shouldn't be there anymore.
Sorry I should have removed that. The form won't submit if the characters are too many. This means the server error popup should never be fired as the request shouldn't ever be made to the server.
The error below is what I was referring to when I wrote 'contextual'. |
🚀 Deployed to production by @roryabraham in version: 1.1.27-1 🚀
|
Details
Fixed Issues
$ #6492
Tests
QA Steps
Retry the above steps for First and Last name. First and Last name will give an API error toast as well as the contextual input error state. This is not part of the change but there is some inconsistency there.
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android