-
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
Remove isNotEmptyObject in favor of !isEmptyObject #34490
Remove isNotEmptyObject in favor of !isEmptyObject #34490
Conversation
@thesahindia 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] |
@thesahindia Would you be able to review this one today/tomorrow? |
I can review but I think it doesn't need a C+ review. cc: @tgolen |
I think that this shouldn't be a |
cc: @blazejkustra |
@tgolen You mean to add unit tests or describe test scenarios in the PR description? |
The second one, adding test scenarios to the PR description. 👍 |
@thesahindia @tgolen Done 👌 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-01-19.at.12.33.07.AM.moviOS: NativeScreen.Recording.2024-01-19.at.12.35.52.AM.moviOS: mWeb SafariScreen.Recording.2024-01-19.at.12.29.08.AM.movMacOS: Chrome / SafariScreen.Recording.2024-01-18.at.11.51.46.PM.movMacOS: DesktopScreen.Recording.2024-01-14.at.1.18.27.AM.mov |
Sorry I was a little late. Please resolve the conflicts @blazejkustra |
✋ 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/tgolen in version: 1.4.28-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.28-0 🚀
|
Details
It can be somewhat of an antipattern to create two methods as opposed to having a single method that can be negated. This is sometimes useful in TS when we want to narrow parameters, but we're not really using it that way in our code.
This was discussed in more detail in Slack.
Fixed Issues
$ #33886
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as test
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screen.Recording.2024-01-15.at.11.06.16.mov