Skip to content

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

Closed

Description

@melvin-bot

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

Activity

  1. melvin-bot commented on Sep 11, 2023

    @melvin-bot
    Author

    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!

  2. melvin-bot commented on Nov 23, 2023

    @melvin-bot
    Author

    @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.

  3. moved this from Done to Todo in Typescript migrationon Nov 29, 2023
  4. roryabraham commented on Feb 3, 2024

    @roryabraham
    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.

  5. 8 remaining items

  6. melvin-bot commented on Apr 3, 2024

    @melvin-bot
    Author

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

  7. melvin-bot commented on Apr 4, 2024

    @melvin-bot
    Author
  8. CortneyOfstad commented on Apr 17, 2024

    @CortneyOfstad
    Contributor

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

  9. ishpaul777 commented on May 14, 2024

    @ishpaul777
    Contributor

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

  10. CortneyOfstad commented on May 15, 2024

    @CortneyOfstad
    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!

  11. CortneyOfstad commented on May 20, 2024

    @CortneyOfstad
    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

Metadata

Metadata

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions