-
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-09-04] [$1000] Chat - Pressing CMD+K when Global create is open closes the menu and doesn’t open search #24256
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Beamanator ( |
I wouldn't consider this a blocker - cc @puneetlath And def can be worked externally, marking as such |
Job added to Upwork: https://www.upwork.com/jobs/~01d1f9cb6cfc1f3fe2 |
Triggered auto assignment to @zanyrenney ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Current assignee @zanyrenney is eligible for the External assigner, not assigning anyone new. |
Current assignee @mananjadhav is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing CMD+K when Global create is open closes the menu and doesn’t open search What is the root cause of that problem?When we subscribe the keyboard shortcut in the AuthScreens component, we didn't specify the What changes do you think we should make in order to solve the problem?We should exclude the global create menu, i.e. do not prevent default and let the event bubble. Below is a sample of what could be done and a video showing the result.
Pressing.CMD+K.when.Global.create.is.open.closes.the.menu.and.doesn.t.open.search.movWhat alternative solutions did you explore? (Optional)None |
📣 @alanleungcn! 📣
|
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.CMD+K keyboard shortcut doesn't work when What is the root cause of that problem?The root cause of this problem is in the way we subscribe the keyboard shortcuts in
The shortcut subscription for creating a new group is similar. As you can see, we are sending the callback inside the close function of the Modal:
At this point, our shortcut is closing the Modal, which triggers the Modal's closing function, which is set on What changes do you think we should make in order to solve the problem?Since we want our keyboard shortcuts to close the Modals and navigate to the appropriate location (Search or New group), it's better to respect the So, in
, where we are first running the close() function, and later navigate, so we don't overlap the onClose functions. |
ProposalPlease re-state the problem that we are trying to solve in this issue.CMD+K doesn't navigate to search when FloatingActionButtonAndPopover is open. What is the root cause of that problem?FloatingActionButtonAndPopover uses PopoverWithoutOverlay. In PopoverWithoutOverlay/index.js Modal.onModalDidClose() isn't called when the Popover gets closed. Thus the callback from AuthScreen.js never gets called.
This is different to BaseModal.js.
What changes do you think we should make in order to solve the problem?We should change the useEffect in PopoverWithoutOverlay.js to call Modal.onModalDidClose(); (the same logic as in BaseModal.js).
VideoScreen.Recording.2023-08-08.at.18.17.37.mov |
@allroundexperts and I will be taking this as it came from new feature of non-modal popover. |
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($1000) |
1 similar comment
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($1000) |
❌ There was an error making the offer to @aimane-chnaif for the Contributor role. The BZ member will need to manually hire the contributor. cc @thienlnam |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @allroundexperts Please request via NewDot manual requests for the Contributor role ($1000) |
Considering this is a regression and @aimane-chnaif @allroundexperts are handling it, I am unassigning myself. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.57-6 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-09-04. 🎊 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:
|
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. |
Asking @Beamanator in DM about the deploy block and it being a regression here before doing the payment! |
Looks like this was potentially linked as a regression (see link in this comment) but that was taken back as the PR for this issue actually fixes a few regressions from a different PR. So I think we're good to pay this out as normal, though @dangrous it seems you had some thoughts about the original PR that caused these regressions? I think we should be good to pay this out as normal, right? |
I thiiiink we were deciding that no payment needed for this one since it was a regression on that other PR - but lemme know if you disagree! |
That's correct! |
Payment summary As this was a regression from the PR there is no payment for the fix. There is also no payment for the bug reported because it was reported by the internal Applause team, we are good to close this one out. Thanks 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:
and log in
Expected Result:
The Global create menu closes and the Right hand modal opens with search
Actual Result:
The Global create menu closes but the Right hand modal doesn't open with search
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.51.0
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6156805_Recording__226.mp4
Bug6156805_Recording__2prod_28.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause -Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: