-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[TS Migration] Remove EmptyObject
type
#42851
[TS Migration] Remove EmptyObject
type
#42851
Conversation
…on/remove-empty-object
@mkhutornyi 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] |
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 very promising! 🚀
How about EmptyObject usage in src/components/PopoverProvider/types.ts
and src/hooks/useKeyboardShortcut.ts
?
@tienifr Could you please explain why |
@tienifr bump, and we have conflicts now |
…on/remove-empty-object
Do we need to write a test to make sure no one would use it in the future?
|
These lints are not related to this PR. |
…on/remove-empty-object
Looks good so far. @tienifr please add screen recordings, along with fixing conflict. |
…on/remove-empty-object
…on/remove-empty-object
…on/remove-empty-object
@mkhutornyi Updated! Please prioritize this because we get more and more conflicts every day. |
Looks like there are more conflicts already @tienifr |
…on/remove-empty-object
@mkhutornyi All done. Same reminder above ^. |
@mkhutornyi please let me know after you review so that we can merge before there's conflicts again |
Looks like there's a conflict but @mkhutornyi please review/add screenshots anyway. The conflicts look relatively small and I will also review them before merging after @tienifr fixes. |
@mkhutornyi is there any update here? |
I've been testing various flows. Will complete soon |
…on/remove-empty-object
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 except conflict
Thanks @mkhutornyi, I know screenshots/videos are a little difficult for this one but if you could add some type of screenshots that would just help check off the requirement for this. @tienifr, I'm reviewing now but if you could fix the conflict whenever you have a chance that would be great. I think you might just be able to replace the {} with null. |
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.
This looks good to me as well apart from the conflict. Thanks everyone! @tienifr please let me know once you get around to resolving the conflict and I can re-approve and merge. There seems to be a couple more now.
On it. |
…on/remove-empty-object
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.
Great thanks!
✋ 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 production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
This PR investigates and removes usages of
EmptyObject
type.Fixed Issues
$ #39124
PROPOSAL:
Tests
Offline tests
NA
QA Steps
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
video_2024-06-21_16-53-53.mp4
Android: mWeb Chrome
video_2024-06-21_16-53-50.mp4
iOS: Native
Untitled.mov
iOS: mWeb Safari
Screen.Recording.2024-06-21.at.16.25.38-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-06-21.at.16.07.58-compressed.mov
MacOS: Desktop
Screen.Recording.2024-06-21.at.16.15.22-compressed.mov