-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix an error message is in English in Spanish account when validate 2nd contact #22100
Conversation
Reviewer Checklist
Screenshots/VideosWeb22100.Web.movMobile Web - Chrome22100.mWeb.Chrome.webmMobile Web - Safari22100.mWeb.Safari.mp4Desktop22100.Desktop.moviOS22100.iOS.mp4Android22100.Android.webm |
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.
LGTM and tests well!
Just small fix regarding the JSDoc.
src/libs/ErrorUtils.js
Outdated
@@ -88,6 +88,27 @@ function getLatestErrorField(onyxData, fieldName) { | |||
.value(); | |||
} | |||
|
|||
/** | |||
* Get the first error in the errorFields ordering by its key |
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.
We don't need the comment because the function name already explains what it is.
/** | ||
* Get the first error in the errorFields ordering by its key | ||
* | ||
* @param {Object} onyxData |
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.
I just updated the above feedbacks. Please help me review this PR again. Thanks
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.
LGTM and tests well 👍
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.
Code looking great, but one refactor question
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.
LGTM
✋ 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 https://github.com/Beamanator in version: 1.3.38-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.38-7 🚀
|
Details
Fixed Issues
$ #21001
PROPOSAL: #21001 (comment)
Tests
Offline tests
Could not test when network is not available
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screen.Recording.2023-07-03.at.18.36.39.-.web.mp4
Mobile Web - Chrome
Screen.Recording.2023-07-03.at.18.46.23.-.android.chrome.mov
Mobile Web - Safari
Screen.Recording.2023-07-03.at.18.49.23.-.ios.safari.mov
Desktop
Screen.Recording.2023-07-03.at.18.39.12.-.desktop.mov
iOS
Screen.Recording.2023-07-03.at.18.48.18.-.ios.mov
Android
Screen.Recording.2023-07-03.at.18.44.53.-.android.mov