Conversation
|
@Tushu17 please add tests, and elaborate them. It's fine to overexplain the steps without making any assumptions |
| </Text> | ||
| )} | ||
| </View> | ||
| {!_.isEmpty(this.props.errorText) && ( |
There was a problem hiding this comment.
@Tushu17 correct me if I'm wrong, but is it really necessary to perform this check?
Because InlineErrorText is doing this check for us, and returning null :)
App/src/components/InlineErrorText.js
Lines 20 to 23 in c1bb574
There was a problem hiding this comment.
Yeah we don't need it, but I checked other places and that's how we had implemented this. Should I change it?
mountiny
left a comment
There was a problem hiding this comment.
Thanks @Tushu17.
Can you please confirm, that if user inputs too many characters OR they hit the limit (not sure now if they will be able to input more than max, probably not), is there some indication of this? This is not a problem now, just wanted to ask (ie does it inform the user max length has been used)
Thanks!
When the user hits the limit we don't allow adding more characters, so the user will know that they have reached the max character limit. |
Yeah, maybe it might be better for UX to indicate to the user somehow this is the case, but we will see in future if this will be a problem actually. Thanks! |
|
yeah, it can be frustrating if you don't realize that only last 4 digits of SSN is being asked. Typing more than that does nothing |
|
The placeholder at least says it so I would not worry about that one so much, but if there are some other fields, where the limit is not completely intuitive, it could be problematic, but I would not worry about it now and time will tell if it is actual problem and we can fix it later! |
rushatgabhane
left a comment
There was a problem hiding this comment.
@Tushu17 we also need to remove the default error message. It was originally added for testing purposes ig.
App/src/components/InlineErrorText.js
Lines 15 to 16 in 06bfc16
|
After this is merged, I'll submit a clean-up PR to remove some dead code |
Removed it. |
rushatgabhane
left a comment
There was a problem hiding this comment.
@mountiny LGTM! 🎉
PR Reviewer Checklist
- I verified the PR has a small number of commits behind
main - I verified the correct issue is linked in the
### Fixed Issuessection above - I verified testing steps are clear and they cover the changes made in this PR
- I verified the testing environment is mentioned in the test steps
- I verified testing steps cover success & fail scenarios (if applicable)
- I checked that screenshots or videos are included for tests on all platforms
- I verified tests pass on all platforms & I tested again on:
- iOS / native
- Android / native
- iOS / Safari
- Android / Chrome
- MacOS / Chrome
- MacOS / Desktop
- I verified there are no console errors related to changes in this PR
- I verified proper code patterns were followed (see Reviewing the code)
- I verified comments were added when the code was not self explanatory
- I verified any copy / text shown in the product was added in all
src/languages/*files (if applicable) - I verified proper naming convention for platform-specific files was followed (if applicable)
- I verified style guidelines were followed
- I verified the JSDocs style guidelines (in
STYLE.md) were followed
- I verified that this PR follows the guidelines as stated in the Review Guidelines
- I verified other components are not impacted by changes in this PR (i.e. if the PR modifies a shared library or component like
Avatar, I verified the components usingAvatarare working as expected) - I verified the UI performance was not affected (the performance is the same than
mainbranch) - If a new component is created I verified that a similar component doesn't exist in the codebase
mountiny
left a comment
There was a problem hiding this comment.
Looks good! Just gonna wait for Rushat to test this one out! Thank you very much!
mountiny
left a comment
There was a problem hiding this comment.
@rushatgabhane @Tushu17 Thank you very much!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |

Details
Fixed Issues
Removed character limit counter
$ #8044
Tests
PR Review Checklist
Contributor (PR Author) Checklist
main### Fixed Issuessection abovesrc/languages/*files (if applicable)Styling.md) for all style edits I madeSTYLE.md)Avatar, I verified the components usingAvatarare working as expected)mainbranch)PR Reviewer Checklist
main### Fixed Issuessection abovesrc/languages/*files (if applicable)STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)mainbranch)QA Steps
Screenshots
Web
Mobile Web
Desktop
iOS
Android