You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-03-13] [$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room #35531
Version Number: 1.4.34-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 Expensify/Expensify Issue URL: Issue reported by: Applause -Internal Team Slack conversation:
changed the title [-]mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/-][+][$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/+]on Feb 1, 2024
changed the title [-][$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/-][+][HOLD for payment 2024-03-13] [$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/+]on Mar 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve 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:
[@situchan] The PR that introduced the bug has been identified. Link to the PR:
[@situchan] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@situchan] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@situchan] Determine if we should create a regression test for this bug.
[@situchan] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Activity
[-]mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/-][+][$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/+]melvin-bot commentedon Feb 1, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01adefc3ca63c114f2
melvin-bot commentedon Feb 1, 2024
Triggered auto assignment to @sakluger (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Feb 1, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (
External)lanitochka17 commentedon Feb 1, 2024
We think that this bug might be related to #vip-vsp
CC @quinthar
aswin-s commentedon Feb 1, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Engagement modal is shown while visiting a public room via deep link as an anonymous user.
What is the root cause of that problem?
The check for showing engagement model is performed inside BottomTabBar in a useEffect.
App/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
Line 55 in 3e77445
Inside Welcome.show method, the engamement modal is shown if current user is
isFirstTimeNewExpensifyUser.App/src/libs/actions/Welcome.ts
Lines 130 to 132 in 3e77445
App/src/libs/actions/Welcome.ts
Lines 171 to 173 in 3e77445
However the above check doesn't consider whether the current user is an anonymous user. That's why the engagement modal gets shown for anonymous user.
What changes do you think we should make in order to solve the problem?
Check if current user is an anonymous user before showing engagement modal.
What alternative solutions did you explore? (Optional)
None
sakluger commentedon Feb 6, 2024
I asked in #vip-vsb if this is a bug or expected behavior: https://expensify.slack.com/archives/C066HJM2CAZ/p1707178252015419
48 remaining items
[-][$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/-][+][HOLD for payment 2024-03-13] [$500] mWeb - Welcome to Expensify is shown for existing user after logging in from public room[/+]melvin-bot commentedon Mar 6, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 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-13. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 6, 2024
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:
sakluger commentedon Mar 13, 2024
Summarizing payment on this issue:
Contributor: @aswin-s $500, sent offer via Upwork (https://www.upwork.com/nx/wm/offer/101367608/)
Contributor+: @situchan $500, paid via Upwork
@situchan could you please complete the BZ checklist?
situchan commentedon Mar 13, 2024
This was missing test case from new feature of engagement modal. Not regression.
Regression Test Proposal
sakluger commentedon Mar 14, 2024
Thanks! I paid out all the offers and created the regression test issue.