-
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
[HOLD for payment 2023-08-03] [$1000] Text 'Hidden' in Details Page does not change language when updating language to Spanish #22659
Comments
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
Proposalby: @namhihi237 Please re-state the problem that we are trying to solve in this issue.'Hidden' is translated correctly What is the root cause of that problem?We are hard coding the text 'Hidden' here App/src/pages/ReportParticipantsPage.js Lines 61 to 62 in 38890e2
Also, we have the same here: App/src/libs/PersonalDetailsUtils.js Line 23 in e5b7e3a
What changes do you think we should make in order to solve the problem?Use translate for them: const getAllParticipants = (report, personalDetails, translate) => {
const {participantAccountIDs} = report;
return _.chain(participantAccountIDs)
.map((accountID, index) => {
const userPersonalDetail = lodashGet(personalDetails, accountID, {displayName: personalDetails.displayName || translate('common.hidden'), avatar: ''});
const userLogin = Str.removeSMSDomain(userPersonalDetail.login || '') || translate('common.hidden'); In return displayName || defaultValue || Localize.translateLocal('common.hidden'); What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~01af2a152b7e858fa7 |
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Text 'Hidden' is not translated when language is updated. What is the root cause of that problem?The text 'Hidden' is hardcoded at various places in the codebase. What changes do you think we should make in order to solve the problem?Localization key What alternative solutions did you explore? (Optional)None |
@sobitneupane can you please review these proposals 🙏 seems like a simple change that we can implement asap |
Thanks for the proposal @namhihi237. First things first, why are we showing Hidden instead of email. I believe the issue here is not showing email. |
@sobitneupane as far as i know here if user A hasn't chatted with user B before then we wont show login info. That's why it's how hidden here. as the video report can show |
Thanks @namhihi237. I have started a discussion on slack to confirm if it is expected to show "Hidden". |
It turns out that it is expected to show "Hidden". Proposal by @namhihi237 looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
hi @sobitneupane @NicMendonca can assign this task for me |
@chiragsalian all good to assign here? |
Hi, team any update here |
@chiragsalian, @NicMendonca, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 @sobitneupane Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @namhihi237 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Hi @sobitneupane @grgia The PR is already for review. please take a look. Thanks |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-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-08-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.
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:
|
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:
|
|
@sobitneupane bump on the BZ checklist, and don't forget to request payment in Expensify! |
@namhihi237 you've been paid! 🎉 |
@sobitneupane bump |
It should have been caught in PR review.
I don't think specific regression test is required for the issue as it should be covered by language translation tests. |
Requested payment on newDot. |
Thank you!! Payment summary: #22659 (comment) |
Reviewed the payment details for @sobitneupane. $1,500 is approved for payment in NewDot. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Action Performed:
Expected Result:
'Hidden' is translated correctly
Actual Result:
'Hidden' has not been translated yet
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.39-5
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
Screen.Recording.2023-07-11.at.16.58.08.mov
Recording.3552.mp4
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689071735934159
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: