Repository navigation
Remove branding related code from video xblock. - #37491
Conversation
|
Thanks for the pull request, @salman2013! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are 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. DetailsWhere 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. |
|
Sandbox deployment failed 💥 |
There was a problem hiding this comment.
We should remove the usage of branding_info from all the places within Video BuiltIn Block
https://github.com/openedx/edx-platform/blob/salman/remove-branding/lms/templates/video.html#L143
@feanil Please confirm
There was a problem hiding this comment.
If we're dropping the location specific override, don't we need to drop this setting?
There was a problem hiding this comment.
Are you asking about the VIDEO_CDN_URL setting? To keep the changes simple and easy to test, we decided to make minimal modifications to the platform. In this PR, I removed the branding config–related code, and I’ll remove this setting in a separate PR.
Please let me know if this approach sounds good to you.
There was a problem hiding this comment.
Got it. I think in that case it's important to make that plan clear in your PR description/commit messages. The understanding that I don't see recorded in an easily parsable way is:
- We want to remove the specialised VIDEO_CDN_URL.
- When we do that, nothing will reference the branding code so we're removing it first.
An alternative approach would have been to drop the VIDEO_CDN_URL related code first. This would drop the usage of the branding info but not the models. Then in a follow-up PR you could show that nothing is referencing the branding code and thus could be dropped.
I think for now maybe just update the PR description to make it clear that we're removing this because it's about to stop being used. But think about these other approaches in the future.
f18916b to
7af1231
Compare
7af1231 to
a7eeb41
Compare
|
Sandbox deployment failed 💥 |
a7eeb41 to
74782f4
Compare
|
Sandbox deployment failed 💥 |
|
@farhan Please review it again i believe its ready. |
|
@salman2013 Just checking in — have you done its manual testing on the sandbox? |
|
@farhan Yes, i did manual testing on sandbox. |
* chore: remove branding related code from video_block class as it is stop being used, we have plan to remove the specialized VIDEO_CDN_URL in the next phase as after removing URL nothing will reference the branding code so we're removing it first.
* chore: remove branding related code from video_block class as it is stop being used, we have plan to remove the specialized VIDEO_CDN_URL in the next phase as after removing URL nothing will reference the branding code so we're removing it first.
Description
In this PR, we are removing the branding-related code from video block since it’s no longer being used.
We have plan to remove the specialized VIDEO_CDN_URL in the next phase.
When we do that, nothing will reference the branding code so we're removing it first.
More Detail:
As part of simplification efforts under the (Video XBlock extraction
), we have adopted a strategy to gradually identify and remove small, unused portions of the Video Block code. This approach will help us create smaller, more focused PRs that are easier to review during the extraction phase.
Ticket: openedx/public-engineering#425