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 'PDFView' component to TypeScript #25151

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

[TS migration] Migrate 'PDFView' component to TypeScript #25151

melvin-bot bot opened this issue Aug 16, 2023 · 14 comments
Assignees
Labels
NewFeature Something to build that is a new item. Not a priority Reviewing Has a PR in review Task Typescript Migration Weekly KSv2

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/PDFView/pdfViewPropTypes.js 3
src/components/PDFView/index.native.js 16
src/components/PDFView/index.js 19
src/components/PDFView/PDFPasswordForm.js 15
src/components/PDFView/PDFInfoMessage.js 10
@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!

Copy link
Author

melvin-bot bot commented Nov 23, 2023

@melvin-bot[bot], this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@roryabraham
Copy link
Contributor

Looks like this component also need to be migrated to a functional component, not sure why it was missed.

Once we do that, we'll have no further uses of withKeyboardState, and we can greatly simplify that to remove:

  • KeyboardStateContext
  • KeyboardStateProvdider, KeyboardStateConsumer
  • withKeyboardState

and consolidate that all into a single useKeyboardState hook.

Note: In #35270 we're considering adding https://kirillzyusko.github.io/react-native-keyboard-controller, in which case we can probably just use useKeyboardHandler hook directly.

@pac-guerreiro
Copy link
Contributor

I'm Pedro Guerreiro from Callstack - expert contributor group. I’d like to work on this task!

@melvin-bot melvin-bot bot added the Overdue label Mar 21, 2024
@fabioh8010
Copy link
Contributor

@pac-guerreiro let's migrate all files under src/components/PDFView folder

  • constants.js
  • index.js
  • index.native.js
  • PDFInfoMessage.js
  • PDFPasswordForm.js
  • pdfViewPropTypes.js
  • WebPDFDocument.js
  • WebPDFPageRenderer.js

@pac-guerreiro
Copy link
Contributor

@fabioh8010 deal! 😄

@fabioh8010
Copy link
Contributor

Any updates here @pac-guerreiro ?

@pac-guerreiro
Copy link
Contributor

@fabioh8010 Draft PR is now open!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Monthly KSv2 Overdue labels Apr 3, 2024
Copy link
Author

melvin-bot bot commented Apr 3, 2024

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

@melvin-bot melvin-bot bot added the NewFeature Something to build that is a new item. label Apr 4, 2024
Copy link
Author

melvin-bot bot commented Apr 4, 2024

@CortneyOfstad
Copy link
Contributor

PR has been merged and no payment needed as it was through CS. Closing!

@ishpaul777
Copy link
Contributor

Hey @CortneyOfstad I reviewed the PR for this #39011, Can we please reopen for payment : )

@roryabraham roryabraham reopened this May 15, 2024
@CortneyOfstad
Copy link
Contributor

@ishpaul777 — just sent over an offer link via Upwork (job post is here) — let me know once you accept and I can get that paid for you ASAP. Thanks!

@CortneyOfstad
Copy link
Contributor

Payment has been completed and this can be closed – thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NewFeature Something to build that is a new item. Not a priority Reviewing Has a PR in review Task Typescript Migration Weekly KSv2
Projects
No open projects
Development

No branches or pull requests

6 participants