-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-10-02] [CVP] Private domain email is being prompted to "Add work email" in the VBBA flow and then redirecting to OldDot settings when clicked #48420
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @JmillsExpensify ( |
Edited by proposal-police: This proposal was edited at 2024-09-02 18:03:52 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Private domain email users are being prompted to "Add work email" in the VBBA flow, which redirects them to the OldDot settings when clicked. What is the root cause of that problem?The user is redirected to the old settings here: App/src/pages/workspace/card/WorkspaceCardVBANoECardView.tsx Lines 42 to 44 in 4e8786b
and also here: App/src/pages/ReimbursementAccount/EnableBankAccount/EnableBankAccount.tsx Lines 91 to 93 in 1e3202d
What changes do you think we should make in order to solve the problem?
Navigation.navigate(ROUTES.SETTINGS_NEW_CONTACT_METHOD.getRoute(Navigation.getActiveRoute())); then add the
POCScreen.Recording.2024-09-02.at.8.43.47.PM.movWhat alternative solutions did you explore? (Optional)N/A |
@abzokhattab that sounds like it addressing the part of redirecting to the right place, but what about why I'm being asked to |
Right? |
correct .. my bad 😅 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Private domain email users are being prompted to "Add work email" in the VBBA flow, which redirects them to the OldDot settings when clicked. What is the root cause of that problem?There are two problems.
This is happening because the conditional logic is not related to private email at all. The condition depends on the status of the Expensify card feature.
This was made as a conscious choice when we were refactoring VBBA. Code links App/src/pages/workspace/card/WorkspaceCardVBANoECardView.tsx Lines 42 to 44 in 4e8786b
App/src/pages/ReimbursementAccount/EnableBankAccount/EnableBankAccount.tsx Lines 91 to 93 in 1e3202d
What changes do you think we should make in order to solve the problem?To solve the first problem, we can iterate through Onyx key To solve the 2nd problem, we will use Navigation.navigate(ROUTES.SETTINGS_NEW_CONTACT_METHOD.getRoute(Navigation.getActiveRoute())); What alternative solutions did you explore? (Optional)Kill this entire logic as Workspace feeds is about to be released making it not required. |
Yeah, on reflection, this is the right course of action here. It's a redundant step with workspace feeds, we don't need you to add a privateEmail any more. CC: @JmillsExpensify @mountiny agree? 🪓 |
I agree to remove this, its been confusing for the users too |
Yeah, great point that this is another simplification we get with going with the superior design of workspace feeds. These kinds of unnecessary steps can be removed. |
Okay, great! @shubham1206agra let's do that then. |
PR is up for review. |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This issue has not been updated in over 15 days. @JmillsExpensify, @mountiny, @shubham1206agra, @aimane-chnaif eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@JmillsExpensify This is ready for payment btw. |
Payment Summary
BugZero Checklist (@JmillsExpensify)
|
@JmillsExpensify, @mountiny, @shubham1206agra, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too... |
I am using upwork |
Payment summary:
|
@JmillsExpensify Can you send the offers please? |
Offers sent to both. |
@aimane-chnaif for yours, please complete the BZ checklist beforehand. |
@JmillsExpensify Accepted offer |
We updated the flow by removing private domain email step. I don't think there was a specific regression which caused this bug. Regression Test Proposal
|
@JmillsExpensify, @mountiny, @shubham1206agra, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify, @mountiny, @shubham1206agra, @aimane-chnaif 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
All paid out. Thanks for the regression test. I'll get one created. |
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.27-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): tom+manual1@trj.chat
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @trjExpensify
Slack conversation:
Action Performed:
More features
Workflows
Workflows
page, enablePayments
Connect bank account
Add work email
Add work email
buttonExpected Result:
Actual Result:
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: