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

[HOLD for payment 2024-10-30] [$250] Use new ValidateCodeActionModal component in as many places as possible #49270

Open
mountiny opened this issue Sep 16, 2024 · 49 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@mountiny
Copy link
Contributor

mountiny commented Sep 16, 2024

We are requiring a validation of the primary login using magic code in more actions now, and as such, we are repeating the component that handles such login. We created the ValidateCodeActionModal component, but there are some places like Copilot and verifying secondary login that does not use this modal.

Let's use this new component and remove any other usages that could lead people to reintroduce the wrong usage/ component.

Discussed here https://expensify.slack.com/archives/C01GTK53T8Q/p1726493895290119?thread_ts=1726483475.882029&cid=C01GTK53T8Q

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021835679560526385104
  • Upwork Job ID: 1835679560526385104
  • Last Price Increase: 2024-09-16
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @jliexpensify
@mountiny mountiny added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 16, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 16, 2024
Copy link

melvin-bot bot commented Sep 16, 2024

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

Copy link

melvin-bot bot commented Sep 16, 2024

Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@mountiny mountiny added External Added to denote the issue can be worked on by a contributor and removed Help Wanted Apply this label when an issue is open to proposals by contributors External Added to denote the issue can be worked on by a contributor labels Sep 16, 2024
Copy link

melvin-bot bot commented Sep 16, 2024

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

@melvin-bot melvin-bot bot changed the title Use new ValidateCodeActionModal component in as many places as possible [$250] Use new ValidateCodeActionModal component in as many places as possible Sep 16, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 16, 2024
@mountiny
Copy link
Contributor Author

Hmm no upwork jobs

Copy link

melvin-bot bot commented Sep 16, 2024

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

@mountiny mountiny removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 16, 2024
@mountiny
Copy link
Contributor Author

We will handle this with the bois

@hungvu193
Copy link
Contributor

Any updates? @getusha 😄 . Let me know you if have any question.

@getusha
Copy link
Contributor

getusha commented Sep 18, 2024

@hungvu193 found some edge cases, i'll try to finalize today

@mountiny
Copy link
Contributor Author

@hungvu193 @getusha what is your ETA for the PR?

@melvin-bot melvin-bot bot removed the Overdue label Sep 22, 2024
@hungvu193
Copy link
Contributor

hungvu193 commented Sep 23, 2024

Draft PR is up, #49445, I'm waiting for @getusha response.

@getusha
Copy link
Contributor

getusha commented Sep 24, 2024

I'll update today

@getusha
Copy link
Contributor

getusha commented Sep 24, 2024

Looks like we added another page #49230, i'll try to include that as well

Copy link

melvin-bot bot commented Oct 22, 2024

⚠️ 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.

Copy link

melvin-bot bot commented Oct 22, 2024

⚠️ 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.

Copy link

melvin-bot bot commented Oct 22, 2024

⚠️ 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.

@mountiny
Copy link
Contributor Author

All the deploy blockers were handled.

@arosiclair I think the plan is in general to use the ValidateCodeActionModal everywhere we will require the magic code verification, yes

@arosiclair
Copy link
Contributor

Cool I will still fix the issue with forced log out while validating but let you guys refactor those Pay Someone and VBBA flows in this issue 🙏

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 23, 2024
@melvin-bot melvin-bot bot changed the title [$250] Use new ValidateCodeActionModal component in as many places as possible [HOLD for payment 2024-10-30] [$250] Use new ValidateCodeActionModal component in as many places as possible Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 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 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.52-5 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-30. 🎊

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

  • @hungvu193 requires payment through NewDot Manual Requests
  • @getusha requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented Oct 23, 2024

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

  • [@hungvu193 / @getusha] The PR that introduced the bug has been identified. Link to the PR:
  • [@hungvu193 / @getusha] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@hungvu193 / @getusha] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@hungvu193 / @getusha] Determine if we should create a regression test for this bug.
  • [@hungvu193 / @getusha] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mountiny
Copy link
Contributor Author

This was a refactoring issue so not a bug to fix really, we do not need to create regression tests for this one and as such I dont think we need to fill in the checklist either

@hungvu193
Copy link
Contributor

Are we going to create a follow up PR to address the countdown timer?

@jliexpensify
Copy link
Contributor

Payment Summary

@getusha
Copy link
Contributor

getusha commented Oct 28, 2024

Are we going to create a follow up PR to address the countdown timer?

Working on this one, hopefully i'll raise a PR today or tomorrow.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 29, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 29, 2024
@getusha
Copy link
Contributor

getusha commented Oct 29, 2024

As promised #51663

Copy link

melvin-bot bot commented Oct 30, 2024

Payment Summary

Upwork Job

BugZero Checklist (@jliexpensify)

  • 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/1835679560526385104/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@jliexpensify
Copy link
Contributor

@mountiny before I close this, are we also paying for the follow-up PR in this payment? Or will that be handled separately?

If so, is that amount also $250?

Copy link

melvin-bot bot commented Nov 1, 2024

⚠️ 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.

@mountiny
Copy link
Contributor Author

mountiny commented Nov 1, 2024

We can pay it here, there was no new issue for that.

I would say that we should have included that in the first pr so I would vote for partial reward for the second one so $375 total each for @hungvu193 and for @getusha

@getusha
Copy link
Contributor

getusha commented Nov 1, 2024

I would say that we should have included that in the first pr so I would vote for partial reward for the second one so $375 total each for @hungvu193 and for @getusha

This actually wasn't implemented in BaseValidateCodeForm before except the sign in page, but the amount sounds reasonable to me 👍

@hungvu193
Copy link
Contributor

LGTM as well 😄

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 Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants