-
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 2024-06-06] [$500] Web - CTRL + K does not open Search while user avatar preview opened #37634
Comments
Triggered auto assignment to @slafortune ( |
@slafortune FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave8 |
I'm not able to recreate this, are you able to @lanitochka17 ? |
Closing - not able to recreate |
@slafortune This is still reproducible. @bernhardoj has a proposal that might fix it. Can you please re-open this? |
You bet - Thanks @allroundexperts |
Job added to Upwork: https://www.upwork.com/jobs/~0165d96894b5f57808 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Can't open the search page using the keyboard shortcut while on a workspace avatar page. What is the root cause of that problem?When we press the search shortcut, the navigation code is wrapped with App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 231 to 235 in 7e4a438
Lines 42 to 50 in 7e4a438
In our case, Lines 52 to 63 in 7e4a438
App/src/components/Modal/BaseModal.tsx Lines 63 to 72 in 575d0ff
App/src/components/Modal/BaseModal.tsx Lines 96 to 106 in 22cb01c
or when App/src/components/Modal/BaseModal.tsx Line 187 in 22cb01c
When we call App/src/components/AttachmentModal.tsx Lines 391 to 396 in edfb3b1
And for the avatar modal, we navigate back in App/src/pages/settings/Profile/ProfileAvatar.tsx Lines 42 to 44 in edfb3b1
So, The App/src/components/Modal/BaseModal.tsx Lines 97 to 107 in 575d0ff
What changes do you think we should make in order to solve the problem?We need to make sure the
We set it to true when the modal becomes visible. App/src/components/Modal/BaseModal.tsx Lines 83 to 87 in ddf9e7a
And we set it to false when App/src/components/Modal/BaseModal.tsx Lines 63 to 65 in ddf9e7a
This will make sure the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar preview closes, but the search pages does not open until user opens any RHP e.g. Start chat What is the root cause of that problem?When we try to open the search modal by Cmd K. The And then the attachment modal is unmounted, calling this, at this point the attachment modal was not completely closed ( So it's not able to trigger the hide modal callback properly and the search page could not be shown. What changes do you think we should make in order to solve the problem?The logic to set the So we should:
What alternative solutions did you explore? (Optional)We can make an upstream fix to |
@allroundexperts, seems like you already have some knowledge about this issue. Wanna take the C+ role here? |
Checking with @allroundexperts here |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@slafortune I'd be happy to take over this issue as C+, if @allroundexperts is not available/or low on capacity |
I can take a look. Can you please assign this to me? |
When you say it's under review, what do you mean @slafortune? Is it not on hold anymore? |
Whoops! I should have updated the title - correct! Not on hold and there is a PR being reviewed. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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 2024-06-06. 🎊 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:
|
@tienifr Paid $500 via upworks |
@allroundexperts can you please complete the checklist? |
@slafortune, @allroundexperts, @aldo-expensify, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Friendly bump @allroundexperts |
Checklist
|
|
@allroundexperts C+ is due $500 via NewDot |
$500 approved for @allroundexperts |
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.4.46-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: https://expensify.testrail.io/index.php?/tests/view/4355697
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:
Avatar preview should close, and left-hand Search page should open when CTRL + K pressed
Actual Result:
Avatar preview closes, but the search pages does not open until user opens any RHP e.g. Start chat
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6398697_1709321287617.2024-03-01_20-18-43.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allroundexperts / @slafortuneThe text was updated successfully, but these errors were encountered: