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-11] [$75] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx #49112

Closed
roryabraham opened this issue Sep 12, 2024 · 19 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@roryabraham
Copy link
Contributor

roryabraham commented Sep 12, 2024

Coming from https://expensify.slack.com/archives/C01GTK53T8Q/p1725973460005309?thread_ts=1725905735.105989&cid=C01GTK53T8Q

Migrate src/pages/workspace/AccessOrNotFoundWrapper.tsx to use useOnyx instead of withOnyx.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021834285721381801565
  • Upwork Job ID: 1834285721381801565
  • Last Price Increase: 2024-09-12
  • Automatic offers:
    • akinwale | Reviewer | 103949065
Issue OwnerCurrent Issue Owner: @abekkala
@roryabraham roryabraham added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 12, 2024
@roryabraham roryabraham self-assigned this Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

Triggered auto assignment to @abekkala (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.

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

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

@melvin-bot melvin-bot bot changed the title Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx [$250] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx Sep 12, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

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

@roryabraham roryabraham changed the title [$250] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx [$75] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

Upwork job price has been updated to $75

@BhuvaneshPatil
Copy link
Contributor

dibs

@mkzie2
Copy link
Contributor

mkzie2 commented Sep 12, 2024

Proposal

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

Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx

What is the root cause of that problem?

A new feature

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

We need to migrate the withOnyx here to use useOnyx. We also need to make sure the key we pass to useOnyx will be the collection member key to prevent the app crashes.

After using useOnyx, we can remove the type here

export default withOnyx<AccessOrNotFoundWrapperProps, AccessOrNotFoundWrapperOnyxProps>({

What alternative solutions did you explore? (Optional)

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

melvin-bot bot commented Sep 13, 2024

📣 @akinwale 🎉 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 Sep 13, 2024

📣 @mkzie2 You have been assigned to this job!
Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
Keep in mind: Code of Conduct | Contributing 📖

@abekkala
Copy link
Contributor

Note to self: PR not deployed yet

Copy link

melvin-bot bot commented Oct 4, 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.

@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 4, 2024
@melvin-bot melvin-bot bot changed the title [$75] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx [HOLD for payment 2024-10-11] [$75] Migrate AccessOrNotFoundWrapper from withOnyx to useOnyx 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 fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@akinwale] The PR that introduced the bug has been identified. Link to the PR:
  • [@akinwale] 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:
  • [@akinwale] 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:
  • [@akinwale] Determine if we should create a regression test for this bug.
  • [@akinwale] 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.
  • [@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@abekkala
Copy link
Contributor

abekkala commented Oct 7, 2024

@mkzie2 Unfortunately, I wasn't able to find your Upwork profile. Can you post that here so that I can send you an upwork payment offer? Thanks!

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 7, 2024

@abekkala It's at https://www.upwork.com/freelancers/~019f73367b03c6d784

@abekkala
Copy link
Contributor

PAYMENT SUMMARY FOR OCT 11

@abekkala
Copy link
Contributor

@akinwale payment sent and contract ended - thank you! 🎉

@mkzie2 once offer is accepted in Upwork I'll send payment!

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 11, 2024

@mkzie2 once offer is accepted in Upwork

@abekkala Done!

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

@mkzie2 payment sent and contract ended - thank you! 🎉

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. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests

5 participants