-
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 2024-11-29] [Regression] [$125] Search - Onboarding is dismissed after using search #50981
Comments
Triggered auto assignment to @sonialiap ( |
@sonialiap 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 |
Edited by proposal-police: This proposal was edited at 2024-10-17 08:35:35 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding is dismissed and chat is opened. What is the root cause of that problem?We don't have option to prevent user from opening the search modal App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 358 to 360 in a0ebba0
What changes do you think we should make in order to solve the problem?we should add the condition to check if
What alternative solutions did you explore? (Optional)We can update checkIfActionIsAllowed function to return () => void if onboarding flow is not completed We should consider other keyboard shortcut too |
Job added to Upwork: https://www.upwork.com/jobs/~021846862688780448155 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
Edited by proposal-police: This proposal was edited at 2024-10-17 14:08:14 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Onboarding is dismissed after using search What is the root cause of that problem?
App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 306 to 385 in 62302d5
What changes do you think we should make in order to solve the problem?
NOTE: We might not want to disabled all the modals so it can be discussed in the PR. What alternative solutions did you explore? (Optional)
// We can also use useCallback and the call handleOuterClick
const handleOuterClick = useCallback(() => {
OnboardingRefManager.handleOuterClick();
}, []); What alternative solutions did you explore? (Optional 2)
Result |
PROPOSAL UPDATED
|
PROPOSAL UPDATED
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding is dismissed and chat is opened. What is the root cause of that problem?Seems like there is no logic for checking function if user selected one option at the onboarding modal or not, before opening the Chat Finder modal (Ctrl + K). What changes do you think we should make in order to solve the problem?We should make the logic in here. What alternative solutions did you explore? (Optional)We should add this logic for the New Chat modal (Ctrl + Shift + K) at here for solving the other error. Contributor detailsExpensify account email: anasup1995@gmail.com |
📣 @Anaslancer! 📣
|
@daledah's main proposal looks good to me. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@dukenv0307, is |
I think this is the best workflow;
|
@Krishna2323 @Anaslancer did you open search page after completing the onboarding flow? |
@dukenv0307 Yes, It works fine on my side after adding the logic |
@Anaslancer yah, but we have to pass the value to dependencies and re-create the listener, right? |
@dukenv0307 No, Just add the above 3 lines into here. That's it. |
@dukenv0307 It's just for the Ctrl+K dialog, we should fix for the Ctrl+Shift+K modal as well. |
@Anaslancer I can't understand why your solution can work if you don't pass Here's the result web-resize.mp4If you want to use But it can cause other listeners to unsubscribe and re-subscribe again. -> We can separate it in other hook Overall, using |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.65-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 2024-11-29. 🎊 For reference, here are some details about the assignees on this issue:
|
@dukenv0307 @sonialiap @dukenv0307 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Upwork job price has been updated to $125 |
Payment summary:
|
@sonialiap, @stitesExpensify, @dukenv0307, @daledah Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@dukenv0307 bumping for the checklist #50981 (comment) |
Not overdue, waiting on @dukenv0307 |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
@sonialiap We're good to go. Thank you |
Thanks @dukenv0307! |
$125 approved for @dukenv0307 |
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: v9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): dave0123seife@gmail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Onboarding is not dismissed
Actual Result:
Onboarding is dismissed and chat is opened.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6637238_1729137558420.Screen_Recording_2024-10-17_at_6.58.02_in_the_morning.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @stitesExpensifyThe text was updated successfully, but these errors were encountered: