-
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
[No QA][TS] Memoize constructable types #46280
[No QA][TS] Memoize constructable types #46280
Conversation
Can't tell why TS check is failing - when running from CLI it does not throw any errors (the |
Code looks good to me. Can you please try merge |
@s77rt Done ✅ |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #46067 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
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.
NAB but @kacper-mikolajczak if you look at the type-fest repo they have lots of automated tests for types using https://github.com/tsdjs/tsd. This memoization lib has very advanced typing and is approaching a point where these kinds of unit tests might be helpful. What do you think?
@roryabraham sound like a great idea! I agree the typings' complexity has grown enough to make it worth testing their correctness. From what can I see, there is no setup for Here I created an issue for tracking the type testing setup: #46639 Please let me know what you guys think and whether we can merge the PR @s77rt @roryabraham! |
Hi @s77rt! If you could please let me know what are the next steps for the PR, thanks! |
I think we can proceed with this PR without adding tests first. I volunteered to help @cead22 with the review but just haven't had the time yet. Most likely I'll review this on Monday - sorry for the delay. |
@roryabraham thanks for the update! Have a peaceful weekend and see you Monday ❤️ |
Hi @roryabraham, just wanted to check what's the status here |
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 is super confusing, but seems to work. Don't want to block any further, so I'm going to approve and merge
✋ 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/roryabraham in version: 9.0.18-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀
|
Details
Fixed Issues
$ #46067
PROPOSAL: #46067
Tests
Offline tests
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 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