App icon indicating copy to clipboard operation
App copied to clipboard

[$125] Show pinned selfDM only to those users with "introSelected" for Track -- NVP: newDotPersonalSpend

Open danielrvidal opened this issue 1 year ago • 12 comments

As a follow up to this issue, we're also going to remove the selfDM being pinned and in the LHN for all users going forward unless they have selected the Track case and have the Track intention NVP: newDotPersonalSpend

We currently show it to users who select this intention:

  • Get paid back from my employer case
  • Split and chat with friends
  • Something else

And we also pin it by default for users without an intention. We want to remove all these cases.

So in summary, only users who select the Track intention should ever have the SelfDM pinned to their LHN by default when this issue is done.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866165206858103237
  • Upwork Job ID: 1866165206858103237
  • Last Price Increase: 2024-12-10
  • Automatic offers:
    • suneox | Reviewer | 105265880
Issue OwnerCurrent Issue Owner: @

danielrvidal avatar Dec 02 '24 21:12 danielrvidal

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

melvin-bot[bot] avatar Dec 09 '24 16:12 melvin-bot[bot]

Current assignee @suneox is eligible for the External assigner, not assigning anyone new.

melvin-bot[bot] avatar Dec 09 '24 16:12 melvin-bot[bot]

@suneox @nkdengineer since you all worked on this one, I assume you can also help complete this one quickly as a follow on? @MonilBhavsar can help if needed with anything.

danielrvidal avatar Dec 09 '24 17:12 danielrvidal

@danielrvidal I can help to check and have a solution tomorrow, please help to assign me here.

nkdengineer avatar Dec 09 '24 17:12 nkdengineer

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

Offer link Upwork job

melvin-bot[bot] avatar Dec 09 '24 22:12 melvin-bot[bot]

❌ There was an error making the offer to @nkdengineer for the Contributor role. The BZ member will need to manually hire the contributor.

melvin-bot[bot] avatar Dec 09 '24 22:12 melvin-bot[bot]

Awesome, thank you!

danielrvidal avatar Dec 09 '24 22:12 danielrvidal

This is probably just one word change given we introduced the logic in the previous PR. Going to adjust the price to $125. @danielrvidal feel free to update it if you think otherwise.

MonilBhavsar avatar Dec 10 '24 04:12 MonilBhavsar

Upwork job price has been updated to $125

melvin-bot[bot] avatar Dec 10 '24 04:12 melvin-bot[bot]

@danielrvidal So what is the expected here?

  1. When the user signs in the first time, the selfDM will not be pinned by default.
  2. If the user selects track NVP newDotPersonalSpend, the selfDM will be pinned.

Or

  1. When the user signs in the first time, the selfDM will be pinned by default.
  2. If the user doesn't select newDotPersonalSpend, unpin the selfDM.

nkdengineer avatar Dec 10 '24 05:12 nkdengineer

I think it's the option two, but would let Daniel confirm

MonilBhavsar avatar Dec 10 '24 05:12 MonilBhavsar

It would be Option 1, sorry for the delay! We don't want them to know it exists unless they select the Track flow so we don't want it showing up before they select that.

danielrvidal avatar Dec 10 '24 23:12 danielrvidal

It would be Option 1, sorry for the delay! We don't want them to know it exists unless they select the Track flow so we don't want it showing up before they select that.

@MonilBhavsar Based on this, we need to update the backend side to change isPinned of the selfDM to false when we create a new account and when we complete the onboarding flow with newDotPersonalSpend we update isPinned to true.

nkdengineer avatar Dec 11 '24 04:12 nkdengineer

Right! I'll work on it

MonilBhavsar avatar Dec 11 '24 14:12 MonilBhavsar

Great! @danielrvidal We must wait for the backend change before moving forward with the frontend PR.

nkdengineer avatar Dec 11 '24 14:12 nkdengineer

I think you can have a draft up, and then we can test it once backend is done?

MonilBhavsar avatar Dec 11 '24 14:12 MonilBhavsar

Hey team, can we expect a PR for this today? This is a blocker for migrating cohort 1, which we plan to do next week!

flaviadefaria avatar Dec 12 '24 12:12 flaviadefaria

@danielrvidal @flaviadefaria I was thinking how does this work with migrating users? They won't see the guided setup modal. So should we keep self DM for them?

MonilBhavsar avatar Dec 12 '24 17:12 MonilBhavsar

No, they should not see it. We only want to show it if the user explicitly selects the chat option.

danielrvidal avatar Dec 12 '24 17:12 danielrvidal

Thank you! So to sum it up.

For any new/migrated users self DM won't be showed to the users. When new users sign up on newDot, we display them onboarding modal and if they select "Track expenses", we would only display and pin self DM. Does that sound correct?

MonilBhavsar avatar Dec 12 '24 17:12 MonilBhavsar

Yes, that is correct!

danielrvidal avatar Dec 12 '24 17:12 danielrvidal

Perfect! I'll start working on this today

MonilBhavsar avatar Dec 13 '24 06:12 MonilBhavsar

@MonilBhavsar Do we need a frontend change here or not?

nkdengineer avatar Dec 13 '24 07:12 nkdengineer

Ah yes we do need it. I unassigned as the account was closed

MonilBhavsar avatar Dec 13 '24 09:12 MonilBhavsar

📣 @nkdengineer 🎉 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] avatar Dec 13 '24 09:12 melvin-bot[bot]

@nkdengineer what do you think of this comment https://github.com/Expensify/App/issues/53405#issuecomment-2536213377 Please let us know. This is top priority issue currently

MonilBhavsar avatar Dec 13 '24 10:12 MonilBhavsar

@MonilBhavsar I'm preparing the draft locally but we cannot test now because the selfDM is pinned by default.

nkdengineer avatar Dec 13 '24 10:12 nkdengineer

Agree! But would be good to keep it prepared, so we can merge when backend is deployed, mostly on Monday

MonilBhavsar avatar Dec 13 '24 11:12 MonilBhavsar

Created a draft here.

nkdengineer avatar Dec 13 '24 11:12 nkdengineer

Thanks! Can we automated test too

MonilBhavsar avatar Dec 13 '24 11:12 MonilBhavsar