fix: reduce the PDF download steps by one click#72846
fix: reduce the PDF download steps by one click#72846cristipaval merged 10 commits intoExpensify:mainfrom
Conversation
Codecov Report❌ Patch coverage is
... and 276 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
@alitoshmatov Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@dubielzyk-expensify does this alignment for the spinner look right to you? It doesn't feel quite as centered as you have it laid out here. Could just be my eyes playing tricks though—@daledah can you double check? For iOS, why doesn't this modal have a title like it does on desktop/web? And why does it change? Same question for mobile web, why does the modal change part way through?
|
|
@alitoshmatov please help us with a PR review when you're on. We'd like to prioritize getting this improvement to production. |
@daledah Is this because downloading is also taking a little bit time. May be we should combine both waiting for file and downloading states into one, and show single message in both cases here: App/src/components/MoneyReportHeader.tsx Lines 291 to 299 in a97e742 |
|
@alitoshmatov I updated using your suggestions.
Currently I can't find the RCA for this, but the modal component cuts off its contents so the header is not shown. I'll take a deeper look into this. But IMO it's a out-of-scope bug for this PR. |
|
@daledah are you saying that the iOS modal title bug is present in other modals on production? |
|
Bump @daledah! |
|
I'd be happy to review this since @alitoshmatov is OOO starting today |
|
Yes please! |
|
Hey, I noticed you changed Please look at the code and make sure there are no malicious changes before running the workflow. If you have the K2 extension, you can simply click: [this button] |
|
@trjExpensify Fixed the header not showing, turns out it's because of incorrect stylings 😅 |
|
Unit Tests failing |
|
I am being redirected to expensify.com.dev web.mov |
|
I'm checking now |
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
@situchan This is expected when testing on the dev branch as logic here App/src/libs/actions/Report.ts Lines 4921 to 4927 in 13a0e11 |
|
@situchan Looks like the PDF download link is having problems with the dev environment. After changing to use staging environment, it works well
ios.mov |
@situchan i updated the videos on native |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb Chromemchrome.moviOS: HybridAppios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktop |
|
@trjExpensify can you please generate adhoc build here? |
|
On it |
|
🚧 @trjExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Doesn't seem to be working on that build for me. |
|
@daledah, what's your next step here? |
|
@trjExpensify i resolved all comments. Waiting for the next review from @situchan |
I think the question is about this |
@dannymcclain which platforms have you tested on? Can you please share video? I tested on android native, android chrome, ios safari and worked fine. |
|
Looks like Chrome is the bugger here for some reason. Works fine for me on Safari? Chrome CleanShot.2025-10-31.at.12.41.52.mp4Safari CleanShot.2025-10-31.at.12.43.10.mp4 |
|
@dannymcclain maybe because it's adhoc url. Hopefully work fine on staging / production
Please allow here |
| <ActivityIndicator | ||
| size={CONST.ACTIVITY_INDICATOR_SIZE.SMALL} | ||
| color={theme.textSupporting} | ||
| style={styles.ml3} |
There was a problem hiding this comment.
When failed to generate pdf, still shows loading indicator. Hope this would be fine.
Ah ha! Thank you so much for that—didn't even see that it blocked a pop up 🤦♂️ Once I allowed from there it worked perfectly 👍 |
|
Dialog looks good from my eyes 👍 |
|
✋ 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/cristipaval in version: 9.2.43-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.2.43-2 🚀
|








Explanation of Change
Fixed Issues
$ #72035
PROPOSAL: #72035 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
Screen.Recording.2025-10-17.at.15.50.57.mov
iOS: Native
ios.mov
iOS: mWeb Safari
Screen.Recording.2025-10-17.at.15.56.43.mov
MacOS: Chrome / Safari
Screen.Recording.2025-10-17.at.15.59.22.mov
MacOS: Desktop
Screen.Recording.2025-10-17.at.16.00.28.mov