-
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-02] [$1000] Web - App displays upload popup along with edit photo page on double enter on photo upload in profile #21108
Comments
Triggered auto assignment to @muttmuure ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.If open, the upload popup remains open on edit photo page What is the root cause of that problem?We aren't closing the popup when navigating to What changes do you think we should make in order to solve the problem?We can set the What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - App displays upload popup along with edit photo page on double enter on photo upload in profile What is the root cause of that problem?When we press enter first time, file window is getting closed, and avatar is being focused. In the second time we press enter the crop modal has not been opened yet, and avatar is getting pressed showing popover menu. What changes do you think we should make in order to solve the problem?We should add ref to avatar pressable here which is getting focused in between of enters App/src/components/AvatarWithImagePicker.js Lines 278 to 282 in e6c2704
Then we should onBlur this button when image is selected, so that it won't be pressed when second enter occurs. Here: App/src/components/AvatarWithImagePicker.js Line 197 in e6c2704
What alternative solutions did you explore? (Optional)Or we can introduce new variable like We cannot use available state( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When selecting image by clicking enter quickly two times, upload popup appears over the image crop modal What is the root cause of that problem?When enter is pressed, the crop modal does not appear immediately. This slight delay causes the second enter press to click again on the photo and the popup appears. What changes do you think we should make in order to solve the problem?I think the simplest way is to set
add
What alternative solutions did you explore? (Optional)Passing inline function in AvatarCropModal can be changed into a separate function as this inline function would be made everytime but I think this is a non-issue as it is just image change. Screen.Recording.2023-06-20.at.9.04.43.PM.mov |
@muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Unable to reproduce this. If you're still seeing it please comment in the issue |
The bug still exists. Here is the video. One should click enter twice quickly in the image picker window to see the bug. Screen.Recording.2023-06-26.at.6.43.51.PM.movScreen.Recording.2023-06-26.at.6.46.59.PM.mov |
Agree, I tested it on staging and still could see the bug. |
Reproducible in production as well. |
This is on current staging build Screen.Recording.2023-06-26.at.6.49.54.PM.mov |
I have reopened the issue but it will be a few days before I can test again unfortunately |
Job added to Upwork: https://www.upwork.com/jobs/~015dc01579b72a60e7 |
Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new. |
Yep, that's probably the best option at this point- let's go with @Ollyws 's proposal! |
Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new. |
Current assignee @fedirjh is eligible for the External assigner, not assigning anyone new. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is open. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.45-7 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-02. 🎊 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:
|
BugZero Checklist:
|
Payouts due:
Eligible for 50% #urgency bonus? Yes Upwork job is here |
All paid, and all done. Thank you everyone! |
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:
Expected Result:
App should display Edit photo page
Actual Result:
App displays upload popup over edit photo page on double enter on image selection
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.34-1
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
upload.photo.popup.over.edit.on.double.enter.1.mp4
Recording.5048.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686674302705589
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: