-
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-10-16] [$500] [Distance] - Replace popup closes after image on ESC #28088
Comments
Job added to Upwork: https://www.upwork.com/jobs/~010ef5e7fa3c9c06ba |
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @isabelastisser ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
Fix bug for another bug will fix this too Or ProposalPlease re-state the problem that we are trying to solve in this issueReplace popup close after image What is the root cause of that problem?The popup exists until the modal closes completely What changes do you think we should make in order to solve the problem?We can update shouldShowThreeDotsButton like
App/src/components/AttachmentModal.js Line 359 in 4ea4a55
Screen.Recording.2023-09-25.at.08.17.26.movWhat alternative solutions did you explore? (Optional)NA |
Prioritize Event Listeners: Hierarchical Check: Prevent Event Propagation: |
📣 @StraferDranzex! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)ResultScreencast.from.25-09-2023.13.04.50.webm |
Re-stated Problem: Root Cause: Suggested Changes: Alternative Solutions Explored: Event Propagation Approach: One initial solution I considered was to manage the ESC key event propagation. By ensuring the "Replace" popup's ESC key action takes precedence over the map's, we could prioritize the order of event listeners. If the "Replace" popup was active, the event would stop at that level and not propagate further to the map's ESC event. Modal Stacking Order: Another method could involve manipulating the stacking order (z-index) of the modals. If the "Replace" popup had a higher stacking order, pressing the ESC key would close it first. However, this method would be less reliable as z-index wouldn't always determine the order of event firing. Parent-Child Event Management: We could also consider leveraging parent-child component relationships. Instead of checking two separate modals, the parent modal (AttachmentModal) could have a handler that checks the state of its child (ThreeDotMenu). If the child modal is active, the parent modal could trigger its closure before closing itself. |
@robertKozik how we feeling about the proposals above? |
bump @robertKozik |
Hi all @StraferDranzex @DylanDylann @ZhenjaHorbach ! Thank you all for your proposals 🙇🏼 Selected Proposal: #28088 (comment) 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Yep, this is simple enough and makes sense! Assigning now. |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR will be ready today |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.79-5 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-10-16. 🎊 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:
|
tldr; In my opinion there is no need to create new regression test, it's visual bug which not interfere with any of the user flows |
Payment Summary
|
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:
Replace popup should close first on ESC
Actual Result:
Replace popup closes after map image on ESC
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.73.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
Notes/Photos/Videos: Any additional supporting documentation
replace.popup.closed.afterwards.ESC.web.mov
Recording.4735.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695375739034889
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: