Use Onyx set if creating new report#12192
Conversation
|
|
|
I could have sworn I made this a Anyways, 👍 from me! |
|
@Gonals It was probably one of my comments 😬 |
|
Updated with set for iouReport to avoid changing the amount in the UI |
chiragsalian
left a comment
There was a problem hiding this comment.
LGTM, merging sooner to tackle deploy blocker. - discussion.
|
@chiragsalian looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
|
Merged soon since we need to CP to address deploy blocker. We'll ask QA to test once this hits staging. |
Use Onyx set if creating new report (cherry picked from commit 2e3aafe)
…-12192 🍒 Cherry pick PR #12192 to staging 🍒
|
🚀 Cherry-picked to staging by @chiragsalian in version: 1.2.20-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by @chiragsalian in version: 1.2.20-3 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
cc @Gonals
Details
We change the Onyx method to set if we are creating a new report since the report doesn't yet exist and it's faster. This avoids the temporary report not found page to show up.
Fixed Issues
$ #12183
Tests
+ > Request moneyQA Steps
Same as test steps
PR Review Checklist
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly 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
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly 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)Screenshots
Web
web.mov
Mobile Web - Chrome
chrome.mov
Mobile Web - Safari
safari.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov