-
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: Link has been sent text dynamic translation on login screens #17351
Conversation
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 change looks good to me. I will let @mollfpr test it and go through the checklist.
Reviewer Checklist
Screenshots/VideosWeb17351.Web.-.resend.validation.link.mov17351.Web.-.resend.magic.code.mov17351.Web.-.resend.reset.password.movMobile Web - Chrome17351.mWeb.Chrome.-.resend.validation.link.mov17351.mWeb.Chrome.-.resend.reset.password.movMobile Web - Safari17351.mWeb.Safari.-.resend.validation.link.mp417351.mWeb.Safari.-.resend.reset.password.mp4Desktop17351.Desktop.-.resend.validation.link.mov17351.Desktop.-.resend.magic.code.mov17351.Desktop.-.resend.reset.password.moviOS17351.iOS.-.resend.validation.link.mp417351.iOS.-.resend.reset.password.mp417351.iOS.-.resend.magic.code.mp4Android17351.Android.-.resend.validation.link.mov17351.Android.-.resend.reset.password.mov |
@Pujan92 Could you check with the resend code use case? I got an error with the page after click on Didn't receive a magic code? Screen.Recording.2023-04-13.at.21.08.03.mov |
Thanks @mollfpr , I am seeing that we are trying to show the message with only |
@Pujan92 Yeah, I see that too. How about returning an empty string when there's no {this.props.account.message ? this.props.translate(this.props.account.message) : ''} |
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 test well 👍
✋ 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/tgolen in version: 1.3.1-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/tgolen in version: 1.3.1-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.1-3 🚀
|
@mollfpr we have missed one case where we are not applying translate due to which it shows the key for the message in
|
@Pujan92 Yeah, definitely we missed that. I was sure to mention where @tgolen Any suggestion on how we proceed with the regression fix? I think we can log that report and create the issue that creates a PR fix based on that, so we can pay the reporter and log the regression for the first issue. |
I might have seen it but somehow I missed that, sorry for it. |
No worries, it's also my responsibility. Let's take this as a lesson to the future 👍 |
I believe this is still in the 7 day regression period, so I think we should just do a new PR with this issue here to get it fixed. |
Thanks! PR is here. |
Details
Moved translations logic for the
resendValidationForm.linkHasBeenResent
from onyx success object to respective components which assures those texts are dynamic.Fixed Issues
$ #17216
PROPOSAL: #17216 (comment)
Tests
Link has been re-sent
if the current language in englishOffline tests
Link has been re-sent
if the current language in englishQA Steps
Link has been re-sent
if the current language in englishPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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-04-12.at.8.53.56.PM.mov
Screen.Recording.2023-04-13.at.8.08.20.PM.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
Screen.Recording.2023-04-12.at.10.57.07.PM.mov
iOS
Simulator.Screen.Recording.-.iPhone.14.-.2023-04-12.at.22.53.51.mp4
Android
anaa.mp4