-
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
[WAITING ON CHECKLIST] [$1000] Web - missing translations on additional details page in wallet enablement flow #29712
Comments
Triggered auto assignment to @peterdbarkerUK ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalProblem"MISSING TRANSLATION" shown in the wallet upgrade flow Root CauseWe are traslating the error message 2 times first when we are setting the error message here and second when we are displaying the error message here. This issue is only reproducable for accounts with expensify email, was earlier reported here - https://expensify.slack.com/archives/C049HHMV9SM/p1696940644742429 cc - @mountiny Changes SuggestedWe should not translate the errorText in TextInput and send the translation key only. We should identify and fix all other FormHelpMessage and TextInputs, where we are passing the translated text instead of keys. |
looking for translation https://expensify.slack.com/archives/C21FRDWCV/p1697498156628909 |
Updated the OP. the problem is that we are missing translations, and not that MISSING TRANSLATION is shown on expensify accounts. |
Job added to Upwork: https://www.upwork.com/jobs/~01df8c2e9cdd1c685b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
@kevinksullivan as @ishpaul777 mentioned, the problem is that we provide already translated text to the translate method again, we should make sure we are not passing this through the translation twice |
ProposalPlease re-state the problem that we are trying to solve in this issue.Personal address and zip code both show "MISSING TRANSLATION" on expensify.com emails, to call out that we are missing a translation (#27759 for more details) What is the root cause of that problem?The
But in here, we're passing translated message to So inside TextInput it will try to translate it again, which results in the What changes do you think we should make in order to solve the problem?We need to fix properly for 2 types of errors:
We need to find all occurrences of the above 2 cases in the codebase and fix as below What alternative solutions did you explore? (Optional)NA |
@tienifr can you find all occurrences where this issue happens? |
@0xmiroslav Here're the places:
And a few other places. We need to double check pretty much every place where we use |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @0xmiroslav 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
honestly i don't understand how this is a new issue and not a regression caused by that PR but 🤷♂️ |
@marcaaron I can take it over if you prefer. I dont think its a regression because that PR just surfaced this bad practice which should be fixed imho. |
It looks like a bug. I thought all the server errors show |
@jliexpensify, @marcaaron, @situchan, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue, @tienifr is working on the PR |
Not overdue |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.40-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-20. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Bump @situchan to complete the checklist please EDIT: Looks like the Upworks job is closed so I will make another one today |
I made a new job + here is a payment summary: |
@jliexpensify I've accepted the job offer, thanks 🙏 |
I already have offer accepted here This doesn't require BZ checklist as no way to reproduce on non-Expensify accounts. |
@situchan I'm aware that you've accepted the offer, but that was for the old posting and it's now been closed by Upworks: I don't have a way to pay you on that job, so I created a new, active job. |
ok no problem. Accepted new offer |
Paid and job closed. Waiting on @situchan to complete checklist |
@jliexpensify here's my feedback on checklist - #29712 (comment) |
Cool, thanks! Closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.84.9
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @kevinksullivan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697480656854849
Action Performed:
Expected Result:
There should be translations for every field.
Actual Result:
Personal address and zip code both show "MISSING TRANSLATION" on expensify.com emails, to call out that we are missing a translation (#27759 for more details)
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: