-
Notifications
You must be signed in to change notification settings - Fork 80
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
refactor: remove thumbnail for non-edX videos & allow removing fallback URLs #1241
Conversation
Thanks for the pull request, @bra-i-am! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
@bra-i-am it looks like we need you to sign a CLA, or update the records to show that you're covered under eduNEXT's CLA. Then we can review this fix. CC @mphilbrick211 |
@bradenmacdonald I just read that if I belong to an organization I have to email [email protected]. I'll be doing so! I'm awaiting your comments in any case. Thanks a lot! |
@bradenmacdonald I'm already part of the edunext's CLA 🥳 Thanks and please let me know any comments you have |
@bra-i-am Workflows unblocked :) |
d82a899
to
b4393f8
Compare
thanks @bradenmacdonald and the changes were applied, please re-run the workflows |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1241 +/- ##
==========================================
+ Coverage 92.22% 92.30% +0.08%
==========================================
Files 1008 1013 +5
Lines 18514 18732 +218
Branches 3948 4006 +58
==========================================
+ Hits 17074 17291 +217
- Misses 1373 1375 +2
+ Partials 67 66 -1 ☔ View full report in Codecov by Sentry. |
...rs/containers/VideoEditor/components/VideoSettingsModal/components/ThumbnailWidget/index.jsx
Outdated
Show resolved
Hide resolved
...rs/containers/VideoEditor/components/VideoSettingsModal/components/ThumbnailWidget/index.jsx
Outdated
Show resolved
Hide resolved
@KristinAoki, I already addressed the changes requested. Thanks for your feedback! |
Description
This PR aims to solve the issue #1016 by showing the thumbnail from the
videoSettingsModal
only when theVideo ID
is one given by edX according to this methodAdditionally, this PR fixes a bug when trying to delete a
Fallback videos
URL:How to test
Go to the course authoring, and access a unit of a course. Now create a video and follow this:
Video ID
you insert a UUIDv4 like235d2e0e-864d-4b00-906a-77555c72fbb6
, then theThumbnail
feature will be shownVideo ID
, the thumbnail will be hidden (it is not an edX video)Fallback video
URLs, you should be able to delete them without any problems