-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-11-29] [$500] mWeb - AFN currency appears when double tapping currency in BNP page. #30508
Comments
Triggered auto assignment to @sonialiap ( |
Job added to Upwork: https://www.upwork.com/jobs/~01568b3bf483e166b4 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.AFN currency is selected when double tapping BNP What is the root cause of that problem?The user taps on the currency menu before they can even see it. What changes do you think we should make in order to solve the problem?Disable selection until list is visible. What alternative solutions did you explore? (Optional) |
📣 @spectreintegrated! 📣
|
Contributor details |
|
ProposalPlease re-state the problem that we are trying to solve in this issue.AFN currency appears when double tapping currency in BNP page What is the root cause of that problem?When user taps twice, the currency is selected even before the screen transition ends. What changes do you think we should make in order to solve the problem?We shall disable/do nothing until the transition has ended. onSelectRow={(option) => {
if (!canSelect) {
return;
}
confirmCurrencySelection(option);
}}
Screen.Recording.2023-10-27.at.8.11.23.PM.movWhat alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.AFN currency appears when double tapping currency in BNP page. What is the root cause of that problem?When the user taps twice, the second tap will land on the new currency screen, causing a random currency on that screen to be selected. What changes do you think we should make in order to solve the problem?We've had this use case before and the agreed method was to use We should use the two hooks and fix the currency button same as in this line. We can enhance the What alternative solutions did you explore? (Optional)We can fix it inside |
@BhuvaneshPatil tested your solution on mWeb and it seems to work fine, could you also test your solution on native to check if it will have any side-effects? @tienifr we recently removed the useSingleExecution code on the rnw-upgrade PR for web, which means it will not work after that PR gets merged. 0551c8b, i think until now it's being used only for native issues. |
@getusha Sure |
Uploading Screen Recording 2023-10-27 at 9.07.56 PM.mov… It's working |
@getusha just curious why was it removed for web? It's useful in many scenarios like this one too.
If it's only because of this then we have a valid use case for it on web here. I think we should have a standardize way to fix this kind of issues rather than case by case. |
@tienifr |
@getusha ah yes, it was not mandatory needed on web but I do think it’s useful though. can you also check the alternate solution in my proposal, it is a global fix too. |
Thanks for the proposal @tienifr but i think we should go with the proposal @BhuvaneshPatil made, the solution works and they're the first to come up with the solution to prevent the selection before the transition ends. Quick suggestion: Instead of having a separate state we should use 🎀 👀 🎀 |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@getusha if we can get to the root of this and fix it, and recover the I think we should have a more global fix here rather than a case-by-case. |
@tienifr the root cause is the task queue of |
Sorry I haven't properly reviewed this yet, will handle later today |
Good discussion, thanks for your engagement @tienifr. I agree with @getusha's assessment here though:
Let's go with the simple and straightforward approach outlined by @BhuvaneshPatil |
📣 @getusha 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @BhuvaneshPatil 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@amyevans @sonialiap @BhuvaneshPatil @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
WIP 🏗️, will raise PR by tonight |
@amyevans @sonialiap @BhuvaneshPatil @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.1-13 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-11-29. 🎊 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:
|
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:
|
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. |
FYI, changes made for this issue didn't cause any regression. |
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:
|
@BhuvaneshPatil $500 - paid ✔️ |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.92.0
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Select a currency page is showing when double tapping currency in BNP page.
Actual Result:
AFN currency appears when double tapping currency in BNP page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
Bug6253124_1698401047780.afn.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sonialiapThe text was updated successfully, but these errors were encountered: