-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-01] [$1000] Request Money - User gets highlighted in send/request money on changing of language during the process #21538
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~013b389dab3622e04c |
Current assignee @bfitzexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Changing the app language will highlight the first item in the money request confirmation list. What is the root cause of that problem?The money request confirmation list uses OptionsSelector to show the list. The first time we open it, it will get the initial focus index. In a money request confirmation list case, the initially focused index is 1. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 55 to 60 in 64b720c
App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 174 to 190 in 64b720c
It has some conditions to decide what is the correct index. When the app language is changed, the list text (header) is updated to the selected language. This will trigger the update to OptionsSelector. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 127 to 139 in 64b720c
In What changes do you think we should make in order to solve the problem?We should update the new focused index with the value from |
ProposalPlease re-state the problem that we are trying to solve in this issue.User gets highlighted in the Money Request Confirmation Page when the language gets changed. What is the root cause of that problem?The root cause of the problem is that the index of the focused row is getting updated even when the state value of focusedIndex has not changed. What changes do you think we should make in order to solve the problem?To solve the problem, we need to prevent updates to
Test Video21538.mp4What alternative solutions did you explore? (Optional) |
@aimane-chnaif couple of proposals ready for review when you get a chance! |
Bump to review proposals @aimane-chnaif |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@bernhardoj your solution easily causes regression: Screen.Recording.2023-07-03.at.5.13.33.PM.mov |
Hmm, actually not a regression since it already happens in production. |
@aimane-chnaif Were you able to review my proposal ? I think this should solve the problem. Please let me know your feedback. |
yes, reviewed already |
@aimane-chnaif |
@aimane-chnaif I have also attached the test video in the proposal itself. Kindly let me know what you think. |
@aimane-chnaif I think that's okay. When we are searching, the index is always reset to |
@aimane-chnaif couple of comments to address - thank you! |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ShogunFire You have been assigned to this job! |
🎯 ⚡️ Woah @aimane-chnaif / @ShogunFire, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.44-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-01. 🎊 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:
|
Offers sent - @aimane-chnaif, please complete the BZ checklist when you get a chance, thank you! |
Bump on the BZ checklist, thanks @aimane-chnaif |
Another friendly bump @aimane-chnaif |
Another bump @aimane-chnaif - please complete this when you get a chance and I'll finalise payment, thank you! |
Sorry for late. No PRs caused regression. As this is edge case (should use another device to change language), minor visual issue and doesn't affect user, I don't think regression test step is needed here. |
Thanks @aimane-chnaif, I agree. OK, last payment finalised, closing this out |
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:
App should not highlight user in send/request money on language change
Actual Result:
App highlights user in send/request money while changing language during the process
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.29-2
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
user.highlight.send.or.request.money.language.change.1.mp4
Recording.5134.mp4
Expensify/Expensify Issue URL:
Issue reported by:@dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687200047072349
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: