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

[$100] Migrate AuthScreens to useOnyx #49103

Open
roryabraham opened this issue Sep 12, 2024 · 53 comments
Open

[$100] Migrate AuthScreens to useOnyx #49103

roryabraham opened this issue Sep 12, 2024 · 53 comments
Assignees
Labels
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

Currently Held on #51942

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

Migrate src/libs/Navigation/AppNavigator/AuthScreens.tsx to use useOnyx instead of withOnyx.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021834281376353079480
  • Upwork Job ID: 1834281376353079480
  • Last Price Increase: 2024-09-12
  • Automatic offers:
    • c3024 | Reviewer | 103949192
    • BhuvaneshPatil | Contributor | 103949194
Issue OwnerCurrent Issue Owner: @BhuvaneshPatil
@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 @zanyrenney (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/~021834281376353079480

@melvin-bot melvin-bot bot changed the title Migrate AuthScreens to useOnyx [$250] Migrate AuthScreens 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 - @c3024 (External)

@roryabraham roryabraham changed the title [$250] Migrate AuthScreens to useOnyx [$100] Migrate AuthScreens to useOnyx Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

Upwork job price has been updated to $100

@BhuvaneshPatil
Copy link
Contributor

BhuvaneshPatil commented Sep 12, 2024

Dibs

@BhuvaneshPatil
Copy link
Contributor

Do we need to submit proposal?

@nkdengineer
Copy link
Contributor

Proposal

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

Migrate AuthScreens to useOnyx

What is the root cause of that problem?

This is an improvement

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

Remove the withOnyx here and use useOnyx hook. Also remove the type props here

const [session] = useOnyx(ONYXKEYS.SESSION);
const [lastOpenedPublicRoomID] = useOnyx(ONYXKEYS.LAST_OPENED_PUBLIC_ROOM_ID);
const [initialLastUpdateIDAppliedToClient] = useOnyx(ONYXKEYS.ONYX_UPDATES_LAST_UPDATE_ID_APPLIED_TO_CLIENT);

export default withOnyx<AuthScreensProps, AuthScreensProps>({

What alternative solutions did you explore? (Optional)

@zanyrenney
Copy link
Contributor

@roryabraham @c3024 want to take a look at the proposals here please?

@c3024
Copy link
Contributor

c3024 commented Sep 13, 2024

It is a simple enough task. I think it is fine to give it to @BhuvaneshPatil if he has not been assigned any other useOnyx migration. Otherwise @nkdengineer can be assigned.

🎀 👀 🎀 C+ Reviewed

Copy link

melvin-bot bot commented Sep 13, 2024

Current assignee @roryabraham is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@BhuvaneshPatil
Copy link
Contributor

Thanks @c3024 ,
I am not assigned to any migration task

@roryabraham
Copy link
Contributor Author

Both @BhuvaneshPatil and @nkdengineer are now assigned to one other migration each, so I'm going to treat this one on a first-come-first-serve and give it to @BhuvaneshPatil

@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

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

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

@BhuvaneshPatil
Copy link
Contributor

Copy link

melvin-bot bot commented Sep 16, 2024

@BhuvaneshPatil, @roryabraham, @zanyrenney, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@zanyrenney
Copy link
Contributor

@MonilBhavsar @fabioh8010 @BhuvaneshPatil please remember to keep the issue updated with progress, there hasn't been any update here in awhile! Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
@fabioh8010 fabioh8010 mentioned this issue Nov 4, 2024
49 tasks
@fabioh8010
Copy link
Contributor

Opened a Onyx bump PR -> #51942, will add screenshots/videos.

@MonilBhavsar MonilBhavsar changed the title [HOLD Onyx PR 588][$100] Migrate AuthScreens to useOnyx [HOLD App PR 51942][$100] Migrate AuthScreens to useOnyx Nov 4, 2024
@MonilBhavsar
Copy link
Contributor

Thanks @fabioh8010!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Nov 5, 2024
@fabioh8010
Copy link
Contributor

Onyx Bump PR opened to review.

@MonilBhavsar MonilBhavsar changed the title [HOLD App PR 51942][$100] Migrate AuthScreens to useOnyx [$100] Migrate AuthScreens to useOnyx Nov 8, 2024
@MonilBhavsar
Copy link
Contributor

Just merged the Onyx bump PR making this issue unheld

@BhuvaneshPatil @c3024 we should be good to move ahead here. Can anyone please clarify next steps and who will be working on it

@MonilBhavsar MonilBhavsar removed the Reviewing Has a PR in review label Nov 8, 2024
@c3024
Copy link
Contributor

c3024 commented Nov 10, 2024

@BhuvaneshPatil , will you open a PR?

@blazejkustra
Copy link
Contributor

@BhuvaneshPatil Any updates?

@BhuvaneshPatil
Copy link
Contributor

Yes

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 13, 2024
@melvin-bot melvin-bot bot changed the title [$100] Migrate AuthScreens to useOnyx [HOLD for payment 2024-11-20] [$100] Migrate AuthScreens to useOnyx Nov 13, 2024

This comment was marked as outdated.

This comment was marked as outdated.

@blazejkustra
Copy link
Contributor

☝️ Not true, still waiting for a PR from @BhuvaneshPatil

@MonilBhavsar MonilBhavsar changed the title [HOLD for payment 2024-11-20] [$100] Migrate AuthScreens to useOnyx [$100] Migrate AuthScreens to useOnyx Nov 13, 2024
@MonilBhavsar MonilBhavsar added Daily KSv2 and removed Awaiting Payment Auto-added when associated PR is deployed to production Weekly KSv2 labels Nov 13, 2024
@BhuvaneshPatil
Copy link
Contributor

I have made the changes need to add videos #52417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Development

No branches or pull requests

9 participants