Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.3k stars 2.74k forks source link

[Guided Setup] [$250] Replace Enable your wallet with Add personal bank account task during onboarding #46231

Open anmurali opened 1 month ago

anmurali commented 1 month ago

There are two intents Get paid back by my employer and Chat and split bills with friends where one of the onboading tasks we show is Enable your wallet. But the wallet flow is onerous and we actually have not cleaned it up to show clear and actionable error messages and this is not a priority either till more people use IOU payments.

So for now, let's replace this task with a Add personal bank account

image

Title: Add personal bank account Description:

You’ll need to add your personal bank account to get paid back. Don’t worry, it’s easy! Here’s how to set up your bank account:

  1. Click your profile picture.
  2. Click Wallet > Bank accounts > + Add bank account.
  3. Connect your bank account.

Once that’s done, you can request money from anyone and get paid back right into your personal bank account.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a9b5735e8551a25a
  • Upwork Job ID: 1816570512509995571
  • Last Price Increase: 2024-07-25
  • Automatic offers:
    • nyomanjyotisa | Contributor | 103281558
melvin-bot[bot] commented 1 month ago

Job added to Upwork: https://www.upwork.com/jobs/~01a9b5735e8551a25a

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (External)

melvin-bot[bot] commented 1 month ago

Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @kadiealexander (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

melvin-bot[bot] commented 1 month ago

:warning: It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time :warning:

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify (NewFeature)

trjExpensify commented 1 month ago

(we good here, Jon.. copy updates and shizz).

nyomanjyotisa commented 1 month ago

Proposal

Please re-state the problem that we are trying to solve in this issue.

Replace Enable your wallet with Add personal bank account task during onboarding

What is the root cause of that problem?

New feature

What changes do you think we should make in order to solve the problem?

We need update the enableWallet task for both Get paid back by my employer and Chat and split bills with friends here and here with Add personal bank account:

                {
                    type: 'addBankAccount',
                    autoCompleted: false,
                    title: 'Add personal bank account',
                    description:
                        'You’ll need to add your personal bank account to get paid back. Don’t worry, it’s easy!\n' +
                        '\n' +
                        'Here’s how to set up your bank account:\n' +
                        '\n' +
                        '1. Click your profile picture.\n' +
                        '2. *Click Wallet* > *Bank accounts* > *+ Add bank account*.\n' +
                        '3. Connect your bank account.\n' +
                        '\n' +
                        'Once that’s done, you can request money from anyone and get paid back right into your personal bank account.',
                },

RESULT image

image

What alternative solutions did you explore? (Optional)

mollfpr commented 1 month ago

The proposal from @nyomanjyotisa looks good to me!

🎀 👀 🎀 C+ reviewed!

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @tgolen, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

melvin-bot[bot] commented 1 month ago

📣 @nyomanjyotisa 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻 Keep in mind: Code of Conduct | Contributing 📖

melvin-bot[bot] commented 1 month ago

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

melvin-bot[bot] commented 1 month ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 1 month ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.15-9 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-09. :confetti_ball:

For reference, here are some details about the assignees on this issue:

melvin-bot[bot] commented 1 month ago

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

melvin-bot[bot] commented 1 month ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.16-8 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-13. :confetti_ball:

For reference, here are some details about the assignees on this issue:

melvin-bot[bot] commented 1 month ago

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

mollfpr commented 1 month ago

No payments are due yet. The PR is reverted here https://github.com/Expensify/App/pull/46630.

We check the name of the onboarding tasks to create in Auth, and at the moment Auth doesn't expects any task called addBankAccount

cc @francoisl @Beamanator

Beamanator commented 1 month ago

Thank you sir, closing!

mollfpr commented 1 month ago

@Beamanator Should we keep the issue open and get the BE change?

trjExpensify commented 1 month ago

Yes, this was reverted.

Beamanator commented 1 month ago

Oh merp my bad for not understanding 🙃 I'll let @tgolen do his thing here, I'll back away slowly..........

tgolen commented 4 weeks ago

OK... so, I'm coming up to speed on this. It sounds like a backend change is necessary to support the front-end PR. Is anyone on that?

trjExpensify commented 4 weeks ago

Doesn't look like anyone is on it, and the revert was because Auth expects the task name to match: https://github.com/Expensify/App/pull/46630#issue-2441277658

tgolen commented 4 weeks ago

OK, thanks! Any volunteers to do the BE fix? I probably won't be able to get to it until the tail end of next week.

tgolen commented 3 weeks ago

Assuming there are no volunteers, I will try to get to this later this week.

trjExpensify commented 3 weeks ago

Yeah, that assumption is correct. Thanks, Tim!

tgolen commented 3 weeks ago

@francoisl Would you mind pointing me to the right spot in Auth where this needs to be added? I'm not familiar with the flow at all so I'm not sure where to look.

trjExpensify commented 3 weeks ago

I believe it's here: https://github.com/Expensify/Auth/blob/29ab63ee487aa54a00f9855c5a76a768e374aa76/auth/lib/GuidedSetup.h#L60

francoisl commented 3 weeks ago

That's right but there's a little more too:

  1. Create a constant for the new task here
  2. Add the constant to this set so that completeSetupTask() doesn't throw
  3. Add the logic to auto-complete the task by calling auth.guidedSetup.completeSetupTask() when the user takes the corresponding action
tgolen commented 3 weeks ago

Ah, cool. Thanks! That should get me started

trjExpensify commented 3 weeks ago

Is this a new task or just replacing the existing enableWallet task? :/

anmurali commented 3 weeks ago

Replace enable wallet task.

francoisl commented 3 weeks ago

Oh right, then it's easier, especially for step 3. I'd suggest making the change in multiple steps though:

  1. Add a new task const that is essentially a duplicate of TASK_ENABLE_WALLET in Auth, deploy that
  2. Use the new task in App, wait a bit for most clients to update
  3. Remove the old task from Auth
tgolen commented 3 weeks ago

hehe, @francoisl you know a lot about this. Are you sure you aren't the volunteer I was looking for? 😉 😉

francoisl commented 3 weeks ago

If it can wait until mid next week sure, otherwise I don't think I'll have time until then.

tgolen commented 3 weeks ago

OK, I'll see if I have time to get to it before then.

On Wed, Aug 14, 2024 at 3:43 PM Francois Laithier @.***> wrote:

If it can wait until mid next week sure, otherwise I don't think I'll have time until then.

— Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/46231#issuecomment-2289966974, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJMAB5SNOCT3OU4EIKUUN3ZRPFOHAVCNFSM6AAAAABLPHZJ2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZHE3DMOJXGQ . You are receiving this because you were mentioned.Message ID: @.***>

tgolen commented 3 weeks ago

Daily Update

Next Steps

ETA

tgolen commented 2 weeks ago

Daily Update

Next Steps

ETA

kadiealexander commented 2 weeks ago

@tgolen any further updates on this one? Thanks!

tgolen commented 2 weeks ago

Yeah, the auth change was deployed 3 days ago so @nyomanjyotisa can go ahead and reimplement the frontend.

melvin-bot[bot] commented 1 week ago

@tgolen, @mollfpr, @kadiealexander, @nyomanjyotisa Whoops! This issue is 2 days overdue. Let's get this updated quick!

mollfpr commented 1 week ago

@nyomanjyotisa Could you create the new PR? Thanks!

kadiealexander commented 1 week ago

@nyomanjyotisa bump!

nyomanjyotisa commented 1 week ago

@mollfpr PR is ready for review, sorry for the delay 🙏