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

[TS migration] Migrate 'withNavigationFallback.js' HOC to TypeScript #24953

Closed
melvin-bot bot opened this issue Aug 16, 2023 · 34 comments
Closed

[TS migration] Migrate 'withNavigationFallback.js' HOC to TypeScript #24953

melvin-bot bot opened this issue Aug 16, 2023 · 34 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 Task Typescript Migration

Comments

@melvin-bot
Copy link

melvin-bot bot commented Aug 16, 2023

TypeScript migration

Make sure you read through our TypeScript's style guide, cheatsheet and PropTypes conversion table before you start working on this migration issue.

Files

Path Dependencies
src/components/withNavigationFallback.js 4
@melvin-bot
Copy link
Author

melvin-bot bot commented Sep 11, 2023

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@VickyStash
Copy link
Contributor

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

@melvin-bot melvin-bot bot added the Overdue label Oct 12, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Monthly KSv2 Overdue labels Oct 17, 2023
@melvin-bot
Copy link
Author

melvin-bot bot commented Oct 17, 2023

Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot
Copy link
Author

melvin-bot bot commented Oct 18, 2023

⚠️ 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 18, 2023
@melvin-bot melvin-bot bot changed the title [TS migration] Migrate 'withNavigationFallback.js' HOC to TypeScript [HOLD for payment 2023-10-25] [TS migration] Migrate 'withNavigationFallback.js' HOC to TypeScript Oct 18, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 18, 2023
@melvin-bot
Copy link
Author

melvin-bot bot commented Oct 18, 2023

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

@melvin-bot
Copy link
Author

melvin-bot bot commented Oct 18, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@VickyStash
Copy link
Contributor

This ticket will require one more PR, because the first one was reverted due to regression. But I need to do additional updates as it was discussed here.

@VickyStash
Copy link
Contributor

During further investigations, it turned out this HOC is not possible to remove because ErrorBoundary is located outside of the NavigationContainer an has a fallback component GenericErrorPage which has Buttons inside. So without this HOC usage it'll crash.

Copy link
Author

melvin-bot bot commented Dec 4, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@mountiny mountiny removed the Reviewing Has a PR in review label Dec 4, 2023
@mallenexpensify
Copy link
Contributor

@akinwale can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~010e0e878e726013b5

@mallenexpensify
Copy link
Contributor

@akinwale , @ntdiary are there two PRs for this issue? I see both below that appear to link back here

@akinwale
Copy link
Contributor

akinwale commented Dec 4, 2023

@akinwale can you please accept the job and reply here once you have? https://www.upwork.com/jobs/~010e0e878e726013b5

Accepted. Thanks.

@akinwale
Copy link
Contributor

akinwale commented Dec 4, 2023

@akinwale , @ntdiary are there two PRs for this issue? I see both below that appear to link back here

Yes. There was a regression in #29449 which resulted in a revert, and then a second review.

@ntdiary
Copy link
Contributor

ntdiary commented Dec 5, 2023

@akinwale , @ntdiary are there two PRs for this issue? I see both below that appear to link back here

Yes. There was a regression in #29449 which resulted in a revert, and then a second review.

@mallenexpensify, yeah, a bit strange, the first PR was reverted, and then, seemingly due to no explicit assignee, the second PR was automatically assigned to me, and then I reviewed it. It appears that the melvin-bot is not working as expected. 😂

@mallenexpensify
Copy link
Contributor

Thanks @ntdiary , for issue below, should pay have been half since there was a regression @akinwale ? (I paid you already but can request a refund for half if so).

@ntdiary if you reviewed the second PR, you're due compensation, right?

@akinwale
Copy link
Contributor

akinwale commented Dec 5, 2023

Thanks @ntdiary , for issue below, should pay have been half since there was a regression @akinwale ? (I paid you already but can request a refund for half if so).

I believe so? I'm not sure if TS migrations are treated differently.

@melvin-bot melvin-bot bot added the Overdue label Dec 7, 2023
@techievivek
Copy link
Contributor

Not overdue, finishing up the payments. Gentle bump @mallenexpensify

@melvin-bot melvin-bot bot removed the Overdue label Dec 7, 2023
@slafortune
Copy link
Contributor

@mallenexpensify it looks like you've already done some of this payment but don't see it linked here anywhere -

(I paid you already but can request a refund for half if so).

@ntdiary if you reviewed the second PR, you're due compensation, right?

Do you want to assign this to yourself @mallenexpensify or is there something I can do to finish this up?

@ntdiary
Copy link
Contributor

ntdiary commented Dec 8, 2023

@ntdiary if you reviewed the second PR, you're due compensation, right?

Sorry for the delayed response. I think so, but I'm not sure how much the payment is in this case. I'm happy to accept it regardless. 😄

@mallenexpensify
Copy link
Contributor

https://www.upwork.com/jobs/~010e0e878e726013b5
Checking on the 50% cuz for TS migrations here https://expensify.slack.com/archives/C01SKUP7QR0/p1702085217213809

@melvin-bot melvin-bot bot added the Overdue label Dec 11, 2023
Copy link
Author

melvin-bot bot commented Dec 11, 2023

@slafortune, @VickyStash, @techievivek Whoops! This issue is 2 days overdue. Let's get this updated quick!

@techievivek
Copy link
Contributor

Not overdue, finalizing the payment.

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2023
@slafortune
Copy link
Contributor

@mallenexpensify
Copy link
Contributor

$125 refund requested from @akinwale ,
@akinwale , please confirm once you've accepted, thx
https://www.upwork.com/jobs/~010e0e878e726013b5

@akinwale
Copy link
Contributor

$125 refund requested from @akinwale , @akinwale , please confirm once you've accepted, thx https://www.upwork.com/jobs/~010e0e878e726013b5

Done.

@ntdiary
Copy link
Contributor

ntdiary commented Dec 12, 2023

@ntdiary - offer sent - https://www.upwork.com/nx/wm/offer/100026606

@slafortune, thank you! Have accepted. :)

@melvin-bot melvin-bot bot added the Overdue label Dec 14, 2023
@techievivek
Copy link
Contributor

Not overdue, @mallenexpensify are we done with the payment here? Can we close this out then?

@melvin-bot melvin-bot bot removed the Overdue label Dec 14, 2023
@ntdiary
Copy link
Contributor

ntdiary commented Dec 14, 2023

image

@techievivek, the payment has been made to me. 😄

@techievivek
Copy link
Contributor

Okkkiiee, great, thanks for confirming. 🙇

@github-project-automation github-project-automation bot moved this from In Progress to Done in Typescript migration Dec 14, 2023
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 Task Typescript Migration
Projects
No open projects
Development

No branches or pull requests

8 participants