-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Prod QA] Update Statement PDF #8270
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
Conversation
|
Will be production QA, unable to test on simulators but made sure there were no console errors on those devices |
nickmurray47
left a comment
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.
Looks pretty solid! Had one larger suggestion to implement
nickmurray47
left a comment
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
sketchydroide
left a comment
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.
just a small question
|
Added a log line! |
|
not sure if @nickmurray47 is still going to be doing a review |
|
seems like I can't remove him. |
|
Triggered auto assignment to @flodnv ( |
|
Sorry Flo, this actually isn't internal QA and can be tested with applause |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@thienlnam, this PR has to be deployed to PROD for us to QA, right? |
|
🚀 Deployed to staging by @thienlnam in version: 1.1.47-0 🚀
|
|
Ah yes sorry, this needs to be production QA @mvtglobally |
|
🚀 Deployed to production by @roryabraham in version: 1.1.49-1 🚀
|
Details
Separates the download handling from the fetching of the statement. Prevents multiple download clicks. Automatically generate statement on component load so it's ready when the user wishes to download the statement
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/192002
Tests
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
Production QA
Navigate to new.expensify.com/statements/202112/
Click on the download button and verify it downloads the PDF
Verify that no errors appear in the JS console
Screenshots
Web
Mobile Web
Desktop
iOS
Android