-
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
Setup App for TypeScript #20179
Setup App for TypeScript #20179
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Closing it for now. |
Added @neil-marcellini @mountiny as they're part of TS migration team |
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.
Besides comments LGTM @blazejkustra! 🚀
…ommended rules that we extend)
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.
I've tested with my Onyx POC branch and several ESLint rules, all working correctly!
@blazejkustra Could we also disable this rule? It's causing several Onyx
methods which return Promise<void>
to raise errors, but there is nothing wrong with this.
@blazejkustra this is somewhat unrelated question but do you know why we're building github actions code? |
@hayata-suenaga That's a good question, I don't know exactly. I'm assuming it was a package that was updated and it influenced github actions somehow 🤷♂️ A similar answer here |
Yep exactly as @blazejkustra mentioned updating packages can sometime cause a diff in compiled actions |
@blazejkustra thank you so much for your work on this 🙇 🎆 🥳 🎊 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Woo typescript! |
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.49-0 🚀
|
i think this PR cause the regression |
@gadhiyamanan You are right, I'm working on a fix. I'm so used to Typescript preventing such issues that I didn't notice that I used the wrong name 🤦 |
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.3.50-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.49-3 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.50-3 🚀
|
@blazejkustra some internal engineers realized that the |
Details
Related Issue
$ #20626
Tests
This touches the project globally, there are no files to reasonably test individually. We should run basic smoke tests here to see that the app runs and works as expected.
Check that all scripts listed in
package.json
works as expected.Offline tests
n/a
QA Steps
None. This should be covered by regression testing.
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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
web.1.mov
Mobile Web - Chrome
android-web.mov
Mobile Web - Safari
iphone-web.mov
Desktop
desktop.mov
iOS
iphone.mov
Android
android.mov