Skip to content

[Paid] [$500] Safely catch translation key when it's wrong/missing #27759

Closed

Description

@JmillsExpensify

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:

  • Throw some error locally, and if in staging or production, add a fallback option for these keys which are expected to come from the backend
  • Show an empty string instead of crashing, and maybe overkill but we could show MISSING TRANSLATION to @expensify.com users

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
  • Upwork Job URL: https://www.upwork.com/jobs/~01da041a99d48079d8
  • Upwork Job ID: 1704697208410533888
  • Last Price Increase: 2023-09-21
  • Automatic offers:
    • dukenv0307 | Contributor | 26899854

Activity

  1. added
    Weekly
    Bug
    on Sep 19, 2023
  2. melvin-bot commented on Sep 19, 2023

    @melvin-bot

    Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. added
    Daily
    and removed
    Weekly
    on Sep 19, 2023
  4. melvin-bot commented on Sep 19, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  5. strepanier03 commented on Sep 21, 2023

    @strepanier03
    Contributor

    @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.

  6. added
    External
    on Sep 21, 2023
  7. melvin-bot commented on Sep 21, 2023

    @melvin-bot
  8. changed the title [-]Safely catch translation key when it's wrong/missing[/-] [+][$500] Safely catch translation key when it's wrong/missing[/+] on Sep 21, 2023
  9. added
    Help Wanted
    on Sep 21, 2023
  10. melvin-bot commented on Sep 21, 2023

    @melvin-bot

    Current assignee @strepanier03 is eligible for the External assigner, not assigning anyone new.

  11. melvin-bot commented on Sep 21, 2023

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik (External)

  12. 20 remaining items

  13. added
    Awaiting Payment
    on Oct 11, 2023
  14. changed the title [-][$500] Safely catch translation key when it's wrong/missing[/-] [+][HOLD for payment 2023-10-18] [$500] Safely catch translation key when it's wrong/missing[/+] on Oct 11, 2023
  15. melvin-bot commented on Oct 11, 2023

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  16. removed
    Reviewing
    on Oct 11, 2023
  17. melvin-bot commented on Oct 11, 2023

    @melvin-bot

    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.

    • External issue reporter - N/A, internal report
    • Contributor that fixed the issue - @dukenv0307 - $500 via Upwork
    • Contributor+ that helped on the issue and/or PR - @robertKozik no payment needed.

    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:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  18. melvin-bot commented on Oct 11, 2023

    @melvin-bot
  19. robertKozik commented on Oct 11, 2023

    @robertKozik
    Contributor

    @mountiny @strepanier03 Is BugZero Checklist applicable here? This issue got more like new feature vibe

  20. mountiny commented on Oct 11, 2023

    @mountiny
    Contributor

    Not applicable

    This is ready for a payout once the date is met $500 to @dukenv0307

  21. melvin-bot commented on Oct 12, 2023

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    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.

  22. added
    Daily
    and removed
    Weekly
    on Oct 17, 2023
  23. strepanier03 commented on Oct 17, 2023

    @strepanier03
    Contributor

    Okay, this is ready to be paid tomorrow and be closed. Will take care of then.

  24. changed the title [-][HOLD for payment 2023-10-18] [$500] Safely catch translation key when it's wrong/missing[/-] [+][Paid] [$500] Safely catch translation key when it's wrong/missing[/+] on Oct 18, 2023
  25. strepanier03 commented on Oct 18, 2023

    @strepanier03
    Contributor

    All paid out and closing. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions