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

[$250][Private Domain Onboarding Check] Implement frontend #54075

Open
blimpich opened this issue Dec 12, 2024 · 38 comments
Open

[$250][Private Domain Onboarding Check] Implement frontend #54075

blimpich opened this issue Dec 12, 2024 · 38 comments
Assignees
Labels
Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Overdue

Comments

@blimpich
Copy link
Contributor

blimpich commented Dec 12, 2024

Implement frontend from the detailed design portion of the design doc: https://docs.google.com/document/d/1JlM9G3jZpaHDlcILWL9170ancMLtOnI2a73dQgX6ENo/edit?tab=t.0#heading=h.cyjz316lbaic

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021867347227654291292
  • Upwork Job ID: 1867347227654291292
  • Last Price Increase: 2024-12-12
  • Automatic offers:
    • ikevin127 | Reviewer | 105314976
    • allgandalf | Contributor | 105314977
Issue OwnerCurrent Issue Owner: @allgandalf
@blimpich blimpich moved this to In Progress in [#whatsnext] #convert Dec 12, 2024
@blimpich blimpich added External Added to denote the issue can be worked on by a contributor Daily KSv2 NewFeature Something to build that is a new item. labels Dec 12, 2024
@melvin-bot melvin-bot bot changed the title [Private Domain Onboarding Check] [$250] [Private Domain Onboarding Check] Dec 12, 2024
Copy link

melvin-bot bot commented Dec 12, 2024

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

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

melvin-bot bot commented Dec 12, 2024

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

Copy link

melvin-bot bot commented Dec 12, 2024

Triggered auto assignment to @michaelkwardrop (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 Dec 12, 2024
@blimpich blimpich changed the title [$250] [Private Domain Onboarding Check] [Private Domain Onboarding Check] Create frontend Dec 12, 2024
@blimpich blimpich changed the title [Private Domain Onboarding Check] Create frontend [Private Domain Onboarding Check] Implement frontend Dec 12, 2024
@blimpich blimpich changed the title [Private Domain Onboarding Check] Implement frontend [$250][Private Domain Onboarding Check] Implement frontend Dec 12, 2024
Copy link

melvin-bot bot commented Dec 12, 2024

⚠️ This issue has had its price increased by 4x or more. Please review the issue and ensure the price is correct.

Copy link

melvin-bot bot commented Dec 12, 2024

Upwork job price has been updated to $250

@blimpich
Copy link
Contributor Author

Accidentally got rid of the price in the title, didn't mean to do that. Assigning @allgandalf as they are the C+ who we hired to implement this portion of the design doc. They wrote the detailed design.

@ikevin127 I'll add you to the design doc so you can see what the overall idea is / get more context if needed.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 12, 2024
Copy link

melvin-bot bot commented Dec 12, 2024

📣 @ikevin127 🎉 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

Copy link

melvin-bot bot commented Dec 12, 2024

📣 @allgandalf 🎉 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 📖

@blimpich
Copy link
Contributor Author

Assigning myself as the CME and assigning Mitch as the bug-zero member since Mitch has context about the project and also the contract with Gandalf to do this work. Sorry for the unnecessary ping @michaelkwardrop!

@allgandalf
Copy link
Contributor

🔴 Update: Working through the PR, @ikevin127 let me know if you have any doubts from the design doc 😄

@allgandalf
Copy link
Contributor

Nothing much, I have the UI ready waiting for api commands to be ready to test it, i was getting some weird error the last time i tried addWorkEmail, but will test again today

@blimpich
Copy link
Contributor Author

blimpich commented Jan 8, 2025

Sounds good, if the backend endpoints behave in any way that doesn't seem right please feel free to message me. I wrote a lot of tests for the backend but there will probably be a few bugs to work out that I inevitably missed 👍

Copy link

melvin-bot bot commented Jan 14, 2025

@blimpich, @MitchExpensify, @ikevin127, @allgandalf Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot added the Overdue label Jan 14, 2025
@allgandalf
Copy link
Contributor

not overdue melvvvv, we hit a firewall issue, that should be resolved soon...

@melvin-bot melvin-bot bot removed the Overdue label Jan 15, 2025
@allgandalf
Copy link
Contributor

we're working on this , most of the convo is happening 1:1 with @blimpich :))

Copy link

melvin-bot bot commented Jan 20, 2025

@blimpich, @MitchExpensify, @ikevin127, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Jan 20, 2025
@blimpich
Copy link
Contributor Author

Not overdue, we're working on this. Shush Melvin

@blimpich
Copy link
Contributor Author

Waiting on this PR to deploy

@allgandalf
Copy link
Contributor

not overdue melv!!!

@melvin-bot melvin-bot bot removed the Overdue label Jan 21, 2025
@blimpich
Copy link
Contributor Author

All good @allgandalf? Need anything from me?

@melvin-bot melvin-bot bot added the Overdue label Jan 23, 2025
Copy link

melvin-bot bot commented Jan 27, 2025

@blimpich, @MitchExpensify, @ikevin127, @allgandalf Huh... This is 4 days overdue. Who can take care of this?

@blimpich
Copy link
Contributor Author

@allgandalf when you get a chance can you provide an eta for when you think the PR will be up in review?

@blimpich
Copy link
Contributor Author

Update

Frontend PR is here, we expect it to be in review by the end of the week. Hopefully merged. Code is coming along, we are just ironing out the edge cases with error codes.

Copy link

melvin-bot bot commented Jan 29, 2025

@blimpich, @MitchExpensify, @ikevin127, @allgandalf Still overdue 6 days?! Let's take care of this!

@blimpich blimpich removed the Overdue label Jan 29, 2025
@melvin-bot melvin-bot bot added the Overdue label Jan 29, 2025
@allgandalf
Copy link
Contributor

@blimpich and @MelvinBot are exchanging the overdue label 😆

@melvin-bot melvin-bot bot removed the Overdue label Jan 30, 2025
@allgandalf
Copy link
Contributor

@ikevin127 please start with the PR review, the Auth PR should get deployed to production today/ tomorrow, do keep the use staging server option toggled on

@blimpich
Copy link
Contributor Author

blimpich commented Feb 4, 2025

Backend changes were deployed the production a few hours ago, so shouldn't need to use the use staging server option anymore 👍

@ikevin127

This comment has been minimized.

@ikevin127
Copy link
Contributor

🧪 Here’s what I plan to test regarding the PR based on design doc:

  • verify the new feature is behind beta (canUsePrivateDomainCheck)
  • on signup, verify public domain check (both email and phone [phones always public domain]) via isFromPublicDomain and if true -> show new private domain onboarding screen
  • on new onboarding flow screen, verify that user is asked for work email
  • verify that Skip button exists, which checks whether user comes from OD and if their signupQualifier is VSB then navigate the user to Accounting Onboarding Page
  • verify that when user will press “Add work email” we validate to check for valid private domain email
  • on mobile devices (mWeb / Native), verify there’s no autoFocus on the Work Email input
  • next, verify whether work email is tied to an existing account then skip magic code, otherwise request magic code
  • verify that there’s an option to Skip the magic code validation, which won’t save the private domain email as contact method in user profile, continuing with the onboarding flow
  • verify that when MergeIntoAccountAndLogin fails and it’s not related to magic code validation, we display the “Merging blocked” screen on which if user clicks “Got it”, we’ll move forward with the onboarding flow
  • depending on whether the private domain was validated or not, if the shouldRedirectToClassicAfterMerge NVP value is true we redirect the user to OD, otherwise continue with current ND onboarding flow

Note

Will start testing once author will open the PR for review, as they are still working on it based on #54186 (comment).

@allgandalf Should all these tests pass on the frontend PR, or this PR is strictly FE (no data persisted) and we're going to have a follow-up integration PR where the feature will be fully completed ?

Copy link

melvin-bot bot commented Feb 7, 2025

@blimpich, @MitchExpensify, @ikevin127, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Overdue
Projects
Status: In Progress
Development

No branches or pull requests

5 participants