Skip to content
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

[$750] [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card #48487

Closed
mountiny opened this issue Sep 3, 2024 · 43 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Design External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@mountiny
Copy link
Contributor

mountiny commented Sep 3, 2024

Problem

When admin issues a physical card to an employee who does not have all the necessary personal details set up that are required to send the card to them, we create this card in NOT_ISSUED state and we ask the member to add the missing info. In oldDot, this is done by inbox task. We need the personal address, phone number and legal first and last name to be able to ship the card.

In Newdot, however, there is no specific form for this information altogether, leading to a schizophrenic experience that is not clear to the customer. They need to add the address and legal name in 2 different forms in settings at the moment and the only way to add a phone number is to add a secondary login which is another form.

### Solution

When a member needs to add the missing details, this report action shows to them.

image

Let's create a new form that will open in RHP and will collect all the data we need to ship the card. This would then call the existing Card_SetUserDetails API command, which requires these fields:

'legalFirstName' => 'First name',
            'legalLastName' => 'Last name',
            'phoneNumber' => 'Phone number',
            'addressCountry' => 'Country',
            'addressCity' => 'City',
            'addressStreet' => 'Street',
            'addressZip' => 'Zip code',

The API params are authToken and data, which is a stringified object with the aforementioned properties

Additionally, this form flow should be available to start from member Wallet/ card list page where they can see the not issued card too.

There is also a change required in the backend to make sure the Card_SetUserDetails calls the ShipExpensifyCard Auth command if there are already some cards in the not_issued state for cards.

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021845887914487130841
  • Upwork Job ID: 1845887914487130841
  • Last Price Increase: 2024-10-14
Issue OwnerCurrent Issue Owner: @alexpensify
Copy link

melvin-bot bot commented Sep 3, 2024

Current assignee @dubielzyk-expensify is eligible for the Design assigner, not assigning anyone new.

Copy link

melvin-bot bot commented Sep 3, 2024

Triggered auto assignment to @alexpensify (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 melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 3, 2024
@trjExpensify trjExpensify moved this to Release 2: Summer 2024 (Aug) in [#whatsnext] #wave-collect Sep 3, 2024
@dubielzyk-expensify
Copy link
Contributor

Here's an idea of how we could solve it. I used the page header with the progress bar stepper at the top and made each information it's own screen. That way we can remove screens where we have the information. Or if we want, we can pre-fill it.

Also, I'm assuming the phone number needs validation? Let me know if I've gotten any of these screens or information wrong.

CleanShot 2024-09-04 at 16 00 26@2x

If we wanna use our regular stepper it would look like:
CleanShot 2024-09-04 at 16 03 58@2x

cc @Expensify/design

@shawnborton
Copy link
Contributor

Nice! The second set using the regular stepper feels more natural to me given that we use this a lot in other places of the app. I also like the idea of pre-filling the fields where we can.

@MariaHCD
Copy link
Contributor

MariaHCD commented Sep 4, 2024

The second set also looks great to me 👍🏼

Just a note about ShipExpensifyCard, it currently requires a cardID as a param. I think we can have the FE pass the cardID to Card_SetUserDetails - perhaps we can look for the first NOT_ISSUED card in the user's card list.

@dannymcclain
Copy link
Contributor

I love the look of the first set but agree the second set feels more at home in the product right now.

Nitpick incoming: What's your gap between the magic code fields and the Didn't receive a magic code text?? Feels a little tight to me. I've been using 20px in the mocks for various other flows we've been validating recently. Feel free to ignore!

image

@mountiny
Copy link
Contributor Author

mountiny commented Sep 4, 2024

@dubielzyk-expensify Thanks! That looks great.

I am not sure if we need the validation, we do not need it for the card creation or the 3ds purposes. So I think we can leave it out. We are not going to create secondary logins using the phone number for now so we do not need validation.

@mountiny
Copy link
Contributor Author

mountiny commented Sep 4, 2024

image

In newDot we are also asking for date of birth, but I dont think its actually needed

@mountiny
Copy link
Contributor Author

mountiny commented Sep 4, 2024

@madmax330 noted that this is not required for marqeta so we are most likely fine to leave this out from the NewDot form https://expensify.slack.com/archives/C036QM0SLJK/p1725463473566129?thread_ts=1725283960.380699&cid=C036QM0SLJK

@dubielzyk-expensify
Copy link
Contributor

Thanks for the feedback everyone. Alright. That makes it easier. Here's the updated mocks:
CleanShot 2024-09-05 at 12 27 09@2x

@shawnborton
Copy link
Contributor

I dig it!

@mountiny
Copy link
Contributor Author

mountiny commented Sep 6, 2024

Discussing if @allgandalf or @DylanDylann can start working on this now

@mountiny
Copy link
Contributor Author

mountiny commented Sep 6, 2024

@shubham1206agra is working on this implementation for $250

@mountiny
Copy link
Contributor Author

mountiny commented Sep 9, 2024

I have just been working on the backend code and the date of birth is ALSO required for marqeta. internal link

@dubielzyk-expensify @shubham1206agra we need to add that into the form

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Oct 4, 2024
@melvin-bot melvin-bot bot changed the title [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card Oct 4, 2024
Copy link

melvin-bot bot commented Oct 4, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 4, 2024
Copy link

melvin-bot bot commented Oct 4, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.44-12 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-10-11. 🎊

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

Copy link

melvin-bot bot commented Oct 4, 2024

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:

@mountiny
Copy link
Contributor Author

mountiny commented Oct 7, 2024

Seems like it is, assigned yall to help resolve it

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 11, 2024
Copy link

melvin-bot bot commented Oct 11, 2024

Payment Summary

Upwork Job

BugZero Checklist (@alexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mountiny
Copy link
Contributor Author

I believe this is now ready for payment, I believe from the previous comment, the price was $750

@melvin-bot melvin-bot bot added the Overdue label Oct 14, 2024
@alexpensify
Copy link
Contributor

Thanks, @mountiny for the update. I worked limited hours last week and am OOO today. I'm passing by to complete the payment process now.

@melvin-bot melvin-bot bot removed the Overdue label Oct 14, 2024
@alexpensify alexpensify added the External Added to denote the issue can be worked on by a contributor label Oct 14, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card [$250] [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card Oct 14, 2024
Copy link

melvin-bot bot commented Oct 14, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 14, 2024
Copy link

melvin-bot bot commented Oct 14, 2024

Current assignees @shubham1206agra and @allgandalf are eligible for the External assigner, not assigning anyone new.

@alexpensify alexpensify changed the title [$250] [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card [$750] [HOLD for payment 2024-10-11] [Workspace Feeds] Create a new form for adding missing address and personal information data to ship a card Oct 14, 2024
Copy link

melvin-bot bot commented Oct 14, 2024

Upwork job price has been updated to $750

@alexpensify alexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 14, 2024
@alexpensify
Copy link
Contributor

@shubham1206agra and @allgandalf, please apply through the Upwork Job link, and then I can complete the payment process. Thanks!

#48487 (comment)

@shubham1206agra
Copy link
Contributor

@alexpensify Can you send us offers, please?

@alexpensify
Copy link
Contributor

Offers have been sent via Upwork, please accept and I can complete the payment process. Thanks!

@shubham1206agra
Copy link
Contributor

@alexpensify Offer accepted

@alexpensify
Copy link
Contributor

alexpensify commented Oct 17, 2024

Closing - everyone has been paid via Upwork.

#48487 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Design External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Status: Release 2: Summer 2024 (Aug)
Development

No branches or pull requests

10 participants