-
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
[PAID] [$1000] The months are not dynamically updated to Spanish language when language preference is changed from the other device #17098
Comments
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
@tjferriss Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@tjferriss Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@tjferriss Can you try this with a real device. I tried it again and it's still reproducible. |
@tjferriss Eep! 4 days overdue now. Issues have feelings too... |
I have a Google Pixel 6 Pro on Android 13. I'll give this a shot. |
Job added to Upwork: https://www.upwork.com/jobs/~010b3f907903b77b6d |
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 - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In this issue, when we are on the Date Picker page and we change the user locale from another device, the date picker itself does not re render with the updated language changes, leading to only partial locale change. What is the root cause of that problem?The root cause behind this issue is that instead of storing the month and weekday names in the react state, we have declared them as a property, which is not updated on locale change. What changes do you think we should make in order to solve the problem?We store To facilitate these changes in a neat manner, we will create a function getYearAndMonthData() {
return {
monthNames: _.map(moment.localeData(this.props.preferredLocale).months(), Str.recapitalize),
daysOfWeek: _.map(moment.localeData(this.props.preferredLocale).weekdays(), day => day.toUpperCase()),
};
} Using this function, we will set the state in the constructor. In the This will ensure that the items displayed in the date picker are updated as well once the locale is updated. |
Triggered auto assignment to @grgia ( |
📣 @allroundexperts You have been assigned to this job by @grgia! |
PR created #17780 |
I am going to be OoO from April 26-May 3. I plan to leave this GH assigned to me during my out-of-office as it likely won't need my action before I return. If something changes and action is needed from the BugZero team, please reach out in #expensify-open-source to request help from another team member. Thanks, chat with you when I get back! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.5-6 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-05-03. 🎊 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.
Speed bonus analysis - PR submitted April 21 / PR merged April 24 = Eligible As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
I'm just back from out of office so catching up on this now. @allroundexperts and @thesahindia - I have hired you both to the Upwork job and will check to pay today. @thesahindia if you can work on the BZ checklist I can check off boxes or make the reg test GH as needed. @priya-zha - I have also hired you toa bug reporting job in Upwork. |
I'll check in later today to pay anything I can. |
Thanks. Accepted the offer. |
@priya-zha and @allroundexperts - I've paid you both via Upwork. I'll check tomorrow for paying @thesahindia |
https://github.com/Expensify/App/pull/15343/files#r1186457607
https://expensify.slack.com/archives/C049HHMV9SM/p1683317117553869
Yes, I think we should.
Instead of adding a regression test case for this specific page we should test this behaviour on all the pages. Regression test proposal
|
Accepted, thanks! |
Thank you @thesahindia, I'll take the rest from here and pay you in Upwork as well. |
All set here. Checklist is done, reg test is ready, and everyone has been paid. Thank you everyone for working on this and together with the team. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The months should also be updated dynamically when language has been changed from the other device in a similar way how the header and the placeholder gets updated
Actual Result:
Months doesn't update dynamically when the language is changed from the other device whereas, for the same page, header and placeholder gets updated properly
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.96-3
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
update.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680768933826169
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: