-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bump react-fast-pdf #55421
Bump react-fast-pdf #55421
Conversation
@jjcoffee can you please test and add the checklist? |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2025-01-20_10.27.17.mp4Android: mWeb Chromeandroid-chrome-2025-01-20_10.28.29.mp4iOS: Nativeios-app-2025-01-20_11.10.51.mp4iOS: mWeb Safariios-safari-2025-01-20_11.14.48.mp4MacOS: Chrome / Safaridesktop-chrome-2025-01-20_10.15.35.mp4MacOS: Desktopdesktop-app-2025-01-20_10.21.07.mp4 |
…ture/55176-bump-react-fast-pdf
@jjcoffee I've synced it up. |
ios-app-2025-01-20_11.10.51.mp4 |
ios-safari-load-2025-01-20_11.20.57.mp4 |
It cannot relate to the PR or App/src/components/PDFView/index.tsx Line 5 in 9c54d12
|
Yes, this is the expected behavior because the legacy PDF.js worker was applied here - Expensify/react-fast-pdf#43. It works better with the latest worker but does not function on IOS 17.x. |
Makes sense, I'm seeing the same behaviour on main too so definitely not to do with this PR! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…ture/55176-bump-react-fast-pdf
One moment. Looks like I forgot to update the worker import in the project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One change requested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.89-0 🚀
|
Things I have done to fix it:
Neither of them seems to fix it. |
@tgolen, that's my bad because I set one incorrect import (w/ App/config/webpack/webpack.common.ts Line 182 in 264728f
I am working on a quick fix. |
Ah, cool. Thanks for working on a fix! |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|
Explanation of Change
The PR bumps the react-fast-pdf version where the legacy PDF.js worker has been applied.
Fixed Issues
$ #55176
PROPOSAL: N/A
Tests
Note: especially test with IOS Safari 17.x.
Offline tests
Same as tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop