-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[No QA] Prevent double translation of hint #26727
Conversation
Is my understanding correct that we don't have to deploy this PR by SEB? I remember Jason or Tom mentioned that the conference will be held in Log Angeles where where is a large Hispanic population? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-05.at.11.40.07.PM.movMobile Web - ChromeScreen.Recording.2023-09-05.at.11.42.59.PM.movMobile Web - SafariScreen.Recording.2023-09-05.at.11.41.31.PM.movDesktopScreen.Recording.2023-09-05.at.11.48.44.PM.moviOSScreen.Recording.2023-09-05.at.11.45.41.PM.movAndroidScreen.Recording.2023-09-05.at.11.45.20.PM.mov |
The above filled checklist is completed for the console error that appears once you enter the address selection screen. This PR does fix that correctly! |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
@allroundexperts where you able to reproduce the issue this PR is trying to solve? |
No. Were the internal engineers able to reproduce / debug the error message? |
Yes, on the staging application on a physical iOS device 😅 |
No. Remember that they were supposed to test the adhoc build which we generated above? |
Yep. I gonna recheck the result on this and will get back to you shortly |
Yes the internal engineer was able to reproduce the issue on the ad hoc build with the code from the main brach |
This is the crash log the internal engineer got when tested with the ad hoc build from the main branch |
@hayata-suenaga How about the adhoc build of this branch? |
@allroundexperts an internal engineer is testing ad hoc build from this PR right now 🙇 will get back to you once done |
the app still crashed with the ad hoc build from this PR 😞 |
Yup. I guessed it right. This PR just fixes the console error (which is a different and unrelated issue). |
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@allroundexperts @hayata-suenaga this is ready for review now. The only purpose of this PR now is to clean up existing console errors. |
@deetergp sorry I have no idea why you got PullerBear'ed here. Please ignore, or review if you really want to 😄 |
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 didn't know we have Error Utils! nice fix
are you planning to follow up with another PR that actually fixes the crash issue?
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.
Let's
🎯 @allroundexperts, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #27811. |
✋ 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/Gonals in version: 1.3.73-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.73-1 🚀
|
🚀 Deployed to staging by https://github.com/Gonals in version: 1.3.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀
|
Details
We were translating the AddressSearch hint prop, but that prop is automatically translated, so all we need to pass is the translation key. The hint prop is ultimately passed to our TextInput component, then used as inputHelpText, then passed to FormHelpMessage as the message, where finally it is translated. Therefore we must make sure not to translate it twice. Admittedly this is pretty confusing.
cc @hayata-suenaga
Fixed Issues
Related to #26719, but just a console error
PROPOSAL:
Tests
alrt
and verify there are no resultsalrt
and verify there are no resultsOffline tests
N/A
QA Steps
No QA
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
I only tested web because the changes are platform independent.
Web
Screen.Recording.2023-09-12.at.5.10.16.PM.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android