-
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
hide hold option for invoices #49875
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 |
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.
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. |
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 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
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