Skip to content

Conversation

@farhan
Copy link
Contributor

@farhan farhan commented Dec 23, 2025

Description

This moves edx-platform-specific logic out of the VideoBlock, in preparation for the VideoBlock extraction:
#36282

Testing instructions

point where available_translation method calls as a fallback on error.

I have manually called the required javascript function by adding test code in this file to hit the available_translations function and tested the api on my local machine.

Here are the results:

Screenshot 2025-12-24 at 3 39 27 PM
Screenshot 2025-12-24 at 3 39 33 PM

Following are the screenshots of the sanbox created within this PR:


Screenshot 2025-12-24 at 3 45 08 PM
Screenshot 2025-12-24 at 3 45 00 PM

@farhan farhan force-pushed the farhan/move-available-translations branch from 4eb5548 to 5b237b8 Compare December 23, 2025 15:08
@farhan farhan added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Dec 23, 2025
Copy link
Contributor

@feanil feanil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally makes sense, let me know once you've added your testing notes and I can do a final review.

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@farhan farhan force-pushed the farhan/move-available-translations branch from 5b237b8 to 804a91f Compare December 24, 2025 07:29
@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@farhan farhan force-pushed the farhan/move-available-translations branch from 804a91f to bf24571 Compare December 24, 2025 11:00
This moves edx-platform-specific logic out of the VideoBlock,
in preparation for the VideoBlock extraction:
#36282
@farhan farhan force-pushed the farhan/move-available-translations branch from bf24571 to 3a9baa6 Compare December 24, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants