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

Feature/22998 pdf password handling #8

Merged
merged 13 commits into from
Dec 11, 2023

Conversation

rezkiy37
Copy link
Contributor

@rezkiy37 rezkiy37 commented Nov 28, 2023

Details

The PR introduces password handling for protected pdf files. Also, starting from this PR, the example/ starts using react-fast-pdf directly from NPM.

Related Issues

Expensify/App#22998

Manual Tests

For testing locally and running in development mode, you need do a couple steps:

  1. In example/package.json change react-fast-pdf value to "../src".
  2. In example/tsconfig.json change rootDir value to "../".

Linked PRs

N/A

PDF.mov

src/PDFPasswordForm.tsx Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPasswordForm.tsx Outdated Show resolved Hide resolved
src/PDFPreviewer.tsx Outdated Show resolved Hide resolved
@allroundexperts
Copy link

Works good!

Screen.Recording.2023-12-11.at.6.57.47.AM.mov

Copy link
Contributor

@mountiny mountiny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mountiny mountiny merged commit 55f09e3 into Expensify:main Dec 11, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants