hide hold option for invoices#49875
Conversation
|
@abdulrahuman5196 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] |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
|
Code looks fine. let me work on platform testing |
|
@mjasikowski Could you kindly run the approval steps? To avoid any lint errors after C+ testing? |
|
@abdulrahuman5196 done |
|
@codewaseem Some of the tests are failing. Could you kindly merge with main and fix any issues if present? |
|
@abdulrahuman5196 I have merged with latest main and replaced the usage withOnyx with useOnyx hook which was causing lint errors based on the updated eslint rules. Can you please recheck? Thanks. |
|
@mjasikowski We are not even updating onyx data in this PR as per the original issue. Do we still need to the onyx migration? |
@mountiny can you comment on this one? |
|
let's not do the migration in this PR. Can you please revert to withOnyx and let's merge this with the failing action? This is a complex component so I think we should migrate it in a specific PR where we will test the component thoroughly |
|
@mountiny @mjasikowski @abdulrahuman5196 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-10.at.8.02.27.PM.mp4Android: mWeb ChromeScreen.Recording.2024-10-10.at.8.05.00.PM.mp4iOS: NativeScreen.Recording.2024-10-10.at.7.59.56.PM.mp4iOS: mWeb SafariScreen.Recording.2024-10-10.at.8.01.02.PM.mp4MacOS: Chrome / SafariScreen.Recording.2024-10-10.at.7.56.27.PM.mp4MacOS: DesktopScreen.Recording.2024-10-10.at.7.58.57.PM.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @mjasikowski
🎀 👀 🎀
C+ Reviewed
|
The checks failure are not related to this PR. We should be fine to go ahead. |
mjasikowski
left a comment
There was a problem hiding this comment.
Looks good @codewaseem, thank you!
|
@mjasikowski looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
ESLint failures were unrelated |
|
✋ 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/mjasikowski in version: 9.0.49-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.49-2 🚀
|
Details
I removed the hold option for invoices, as invoices cannot be on hold.
Fixed Issues
$ #47570
PROPOSAL: #47570 (comment)
Tests
That is make sure there is no hold option shown for the invoices in these two places.

Offline tests
QA Steps
That is make sure there is no hold option shown for the invoices in these two places.

PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
No hold option shown in these two places for invoices.Android: mWeb Chrome
No hold option shown in these two places for invoices.
iOS: Native
No hold option shown in these two places for invoices.
iOS: mWeb Safari
No hold option shown in these two places for invoices.
MacOS: Chrome / Safari
web.webm
MacOS: Desktop
desktop.webm