-
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
[Paid] [$500] Safely catch translation key when it's wrong/missing #27759
Comments
Triggered auto assignment to @strepanier03 ( |
Bug0 Triage Checklist (Main S/O)
|
@JmillsExpensify - In this case would I label this internal or should I leave it be for now? I don't want it held up because I'm not sure what to do with it. Thanks for the direction. |
Job added to Upwork: https://www.upwork.com/jobs/~01da041a99d48079d8 |
Current assignee @strepanier03 is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
@mountiny @JmillsExpensify is this open to External contributor or will be assigned to an agency? |
Asking agency but if you can create a good proposal, we can go with contributor too |
ProposalPlease re-state the problem that we are trying to solve in this issue.We want to safely catch translation key when it's wrong/missing What is the root cause of that problem?Currently it will crash in non-production environment as in here. What changes do you think we should make in order to solve the problem?We should follow the approaches highlighted in the OP, I think they are good ideas already
To show
If we have fallback text for the keys coming from back-end, we can add a What alternative solutions did you explore? (Optional)We can consider throwing the error locally if the translation is missing for the user-chosen language too, since it's unexpected behavior. Currently it will only send an alert to the server. |
Seems quite good, @robertKozik can you please review the proposal thoroughly? |
@strepanier03, @robertKozik Huh... This is 4 days overdue. Who can take care of this? |
I like your proposals as well @dukenv0307. It ticks all the boxes provided in the issue description. Moreover I would suggest that Also I'm not the huge fan of returning empty string in place of translation key. Providing some context (even as translation key) can be helpful in certain scenarios, as it informs the user that there should be additional information available. @mountiny All in all I think we can go with this proposal |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@mountiny @robertKozik Please help review this draft PR: #28377
As mentioned in my proposal, I believe I need more guidance on
Please let me know if any concerns |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
I'm seeing this error message in a weird spot. I'm guessing that's a separate issue, but sharing just in case https://expensify.slack.com/archives/C049HHMV9SM/p1696940644742429 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.80-3 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 2023-10-18. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@mountiny @strepanier03 Is BugZero Checklist applicable here? This issue got more like |
Not applicable This is ready for a payout once the date is met $500 to @dukenv0307 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Okay, this is ready to be paid tomorrow and be closed. Will take care of then. |
All paid out and closing. Thanks everyone! |
We've had several bad scenarios where the app crashes because the wrong translation key was used. We expect this to start increasing as we add "workspace violations" because these violations come directly from the API (and aren't translated).
Some ideas discussing with @mountiny and @cead22 on how to potentially handle this:
Or something else. While this is out of scope for the internal project, we wanted to get an agency working on this one.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: