Skip to content
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

[HOLD for payment 2023-09-21] [Performance] Improve translations #25466

Closed
mountiny opened this issue Aug 18, 2023 · 14 comments
Closed

[HOLD for payment 2023-09-21] [Performance] Improve translations #25466

mountiny opened this issue Aug 18, 2023 · 14 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Task

Comments

@mountiny
Copy link
Contributor

mountiny commented Aug 18, 2023

[Performance] Improve translations, coming from here

Problem

Translations uses lodashGet which adds some overhead + translations are being called multiple times (some makes sense because of rerenders)

Proposal

We use lodashGet to get the key, so instead of

### Summary of solution
Will remove the need of using lodashGet and its extra overhead,
We need to make sure all translations uses the HOC: withLocalize or the hook: useLocalize or at least going through: Localize.translate

@mountiny mountiny self-assigned this Aug 18, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2023
@mountiny mountiny added Weekly KSv2 and removed Daily KSv2 labels Aug 21, 2023
@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@mountiny
Copy link
Contributor Author

Asking in callstack room who will take these on

@BeeMargarida
Copy link
Contributor

Hey, as mentioned in the slack, I'll be taking over this one 👋

@mountiny
Copy link
Contributor Author

Thanks

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

⚠️ 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.

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

⚠️ 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.

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

⚠️ 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.

@BeeMargarida
Copy link
Contributor

PR to fix regressions is ready: #27358

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

⚠️ 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.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Sep 14, 2023
@melvin-bot melvin-bot bot changed the title [Performance] Improve translations [HOLD for payment 2023-09-21] [Performance] Improve translations Sep 14, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.69-2 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-09-21. 🎊

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
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Sep 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2023

@BeeMargarida, @mountiny Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot
Copy link

melvin-bot bot commented Sep 28, 2023

@BeeMargarida, @mountiny 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

@BeeMargarida, @mountiny 10 days overdue. I'm getting more depressed than Marvin.

@mountiny
Copy link
Contributor Author

mountiny commented Oct 2, 2023

We can close this now, thanks! The reviewer was from Callstack

@mountiny mountiny closed this as completed Oct 2, 2023
@melvin-bot melvin-bot bot removed the Overdue label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Task
Projects
Development

No branches or pull requests

2 participants