-
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-03-18] [$500] Public room - Sign-in modal is hidden behind welcome modal after selecting an option #35131
Comments
Triggered auto assignment to @marcaaron ( |
Triggered auto assignment to @kevinksullivan ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Missing test case from #32154 |
What's the expected behavior after opening public link while signed out?
cc: @stitesExpensify |
ProposalPlease re-state the problem that we are trying to solve in this issue.Sign-in modal is hidden behind welcome modal after selecting an option in public room What is the root cause of that problem?We have recently introduced full screen engagement modal named PurposeForUsingExpensifyModal We pass
When selecting an option, we redirect to the sign-in modal if the user is not signed in App/src/components/MenuItem.tsx Line 381 in 0d0b0a8
App/src/libs/actions/Session/index.ts Lines 134 to 139 in 0d0b0a8
So menu item's What changes do you think we should make in order to solve the problem?We can listen navigation state and hide the engagement modal if needed App/src/components/PurposeForUsingExpensifyModal.tsx Lines 91 to 101 in 0d0b0a8
We can add navigation listener here
We compare the route's name to determine if we need to hide the modal in the above solution. We can use more optimized or suitable comparison The solution works as expected Result35131.mp4What alternative solutions did you explore? (Optional) |
Interesting - will wait to let @stitesExpensify chime in. We'll definitely want to fix this soon, though I don't think this needs to block deploy. This relies on engaging with us from a public room and if you dismiss the screen you'll see the sign in screen |
This comment was marked as outdated.
This comment was marked as outdated.
@MitchExpensify what do you think the intended functionality should be here? I'm thinking that we don't show the engagement modal at all to anonymous users both before and after they sign in. Thoughts? |
Bringing my proposal from #35238 (comment) since it will resolve this issue too, it's already based on #35131 (comment) ProposalPlease re-state the problem that we are trying to solve in this issue.Nothing happens. The close and back buttons unresponsive on touches. What is the root cause of that problem?The engagement modal is being shown for anonymous users, which is not correct because by design, it should only show for first time logged in users. What changes do you think we should make in order to solve the problem?Do not show engagement modal for anonymous users, we can update here to early return if If we don't want to show the engagement modal even after the anonymous user logs in, we can make sure to set If instead we want to show the engagement modal after the anonymous user logs in, we have to make sure to remove the policies of the anonymous user in What alternative solutions did you explore? (Optional)NA |
For sure, yes! Lets not show the modal to anonymous users before they sign in |
Let's just do this.
What is the advantage of doing this? Let's do the first one I think.
👎 - I don't really understand what problem we are trying to solve. Let's fix "sign in modal is hidden behind welcome modal".
Again - not too sure what problem we are trying to solve. We agreed to not show them this modal. |
Issue not reproducible during KI retests. (Second week) |
@fedirjh The PR is ready for review. |
Looks like this was fixed already in #37673 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.49-4 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-03-18. 🎊 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:
|
@kevinksullivan, @marcaaron, @fedirjh, @dukenv0307 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
BugZero Checklist:
|
@kevinksullivan The PR was deployed to production 3 weeks ago, could we proceed with payments here? Thank you! |
@kevinksullivan, @marcaaron, @fedirjh, @dukenv0307 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Bumping this one. |
@kevinksullivan, @marcaaron, @fedirjh, @dukenv0307 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
Sorry for the delay here, all set. |
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.31-2
Reproducible in staging?: y
Reproducible in production?: new feature
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
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Log out if logged in.
Navigate to public room https://staging.new.expensify.com/r/2376199970894587
Select any option in the welcome message modal.
Expected Result:
Welcome modal will dismiss and sign-in modal will appear after selecting an option.
Actual Result:
The link changes to sign-in URL, but the welcome modal does not dismiss and the sign-in modal is hidden behind it.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6354272_1706163569570.20240125_113158.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: