-
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
[TS migration] Migrate VideoPlayerContexts component files to TypeScript #37134
[TS migration] Migrate VideoPlayerContexts component files to TypeScript #37134
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
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.
You have conflicts already 😄
Also please change the title to "[TS migration] Migrate VideoPlayerContexts
component files to TypeScript"
Co-authored-by: Błażej Kustra <46095609+blazejkustra@users.noreply.github.com>
Co-authored-by: Błażej Kustra <46095609+blazejkustra@users.noreply.github.com>
I have read the CLA Document and I hereby sign the CLA |
Co-authored-by: Błażej Kustra <46095609+blazejkustra@users.noreply.github.com>
…ingularMenuItem type & adding menuItems type as generic argument
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.
LGTM!
…nflicts in VideoPopoverMenuContext and PlaybackContext
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.
LGTM!
Reviewer Checklist
Screenshots/VideosAndroid: Native24-03-06-20-02-42.mp4Android: mWeb ChromeScreen.Recording.2024-03-06.at.20.01.48.moviOS: NativeScreen.Recording.2024-03-06.at.18.46.53.moviOS: mWeb SafariScreen.Recording.2024-03-06.at.20.00.49.movMacOS: Chrome / SafariScreen.Recording.2024-03-06.at.18.53.25.1.movMacOS: DesktopScreen.Recording.2024-03-06.at.18.52.17.mov |
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.
LGTM!
@smelaa you might have to merge the main into your PR 😄 |
@smelaa, the checks are failing, could you take a look at this please? |
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.
🟢
@hayata-suenaga looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
somehow, melvin is doing this recently. All tests were passing 🤔 |
✋ 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/hayata-suenaga in version: 1.4.52-0 🚀
|
@hayata-suenaga I am getting a crash when navigating between reports after playing a video, bringing back the optional chaining for stopAsync mitigates this: 2024-03-14_17-36-05.mp4I reported this in the open source slack channel but we don't have a issue tracked yet. UPDATE: |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.52-6 🚀
|
Details
This PR migrates VideoPlayerContext to TypeScript.
Fixed Issues
$ #36724
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests
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.webm
Android: mWeb Chrome
web_android.webm
iOS: Native
ios.mp4
iOS: mWeb Safari
web_ios.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4