Skip to content

Conversation

@kdmccormick
Copy link
Member

Description

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

Testing instructions

Go to studio, and in a course, add a transcript, and delete it.
Do the same in a v2 library.

@kdmccormick kdmccormick changed the title refactor: Move upload/delete transcript int video_config service refactor: Move upload/delete transcript into video_config service Nov 19, 2025
@kdmccormick kdmccormick force-pushed the kdmccormick/upload-delete-transcript branch 3 times, most recently from b27c671 to 097c430 Compare November 20, 2025 04:45
@kdmccormick kdmccormick marked this pull request as ready for review November 20, 2025 04:45
@kdmccormick kdmccormick force-pushed the kdmccormick/upload-delete-transcript branch from 696e7df to a738d26 Compare November 20, 2025 16:42
@farhan farhan added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Nov 24, 2025
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

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

@farhan
Copy link
Contributor

farhan commented Nov 25, 2025

Transcripts are not uploading in the content library

Screenshot 2025-11-25 at 10 57 59 AM

@farhan farhan requested a review from feanil November 26, 2025 11:49
@farhan farhan force-pushed the kdmccormick/upload-delete-transcript branch from d633e66 to 0e56827 Compare December 2, 2025 15:15
@open-craft-grove
Copy link

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

@open-craft-grove
Copy link

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

@farhan farhan force-pushed the kdmccormick/upload-delete-transcript branch from 0e56827 to c4561ed Compare December 3, 2025 12:42
@open-craft-grove
Copy link

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

This moves edx-platform-specific logic out of the VideoBlock,
in preparation for the VideoBlock extraction:
openedx#36282
@farhan farhan force-pushed the kdmccormick/upload-delete-transcript branch from c4561ed to 886a2ed Compare December 5, 2025 13:08
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@farhan farhan force-pushed the kdmccormick/upload-delete-transcript branch from d968f53 to 6412637 Compare December 5, 2025 14:55
@open-craft-grove
Copy link

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

@open-craft-grove
Copy link

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

Low-level apps should not depend on high-level apps
@farhan farhan force-pushed the kdmccormick/upload-delete-transcript branch from 6c93bd4 to 6f7891d Compare December 10, 2025 08:44
@farhan
Copy link
Contributor

farhan commented Dec 10, 2025

Transcripts are not uploading in the content library

Screenshot 2025-11-25 at 10 57 59 AM

Issue has been tested and its fixed now.

@farhan
Copy link
Contributor

farhan commented Dec 10, 2025

Following testing is done on the sandbox.
Go to studio, and in a course, add a transcript, and delete it.
Do the same in a v2 library.

@open-craft-grove
Copy link

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

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 looks good to me, one small thing to fix.

Also, I don't see it on here, can you outline what testing you have done already on this change?

@open-craft-grove
Copy link

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

@farhan
Copy link
Contributor

farhan commented Dec 16, 2025

Here are my testing notes:

Testing on LMS/Studio:

A. Uploading transcript

  1. Go to any course, add a video (youtube video) into the course
  2. Add the transcript via settings
  3. Transcript should be uploaded successfully
  4. Transcript should render successfully on the studio
  5. Publish the course
  6. Video Block and transcript should render successfully on the LMS

B. Deleting transcript

  1. After performing above steps, now delete the transcript from the video block.
  2. Transcript should be deleted successfully and should stop appearing on the studio.
  3. Publish the course.
  4. Transcript should stop appearing on the lms as well

Testing on Content Library (Beta/V2):

C. Uploading transcript

  1. Go to any content library > Units tab
image
  1. Create a new unit and video block as a content in the unit.
image
  1. Save the video and then edit the video again to upload/add the transcript. Transcript should be uploaded/added successfully.
image
  1. Video and transcript should be render successfully in the content library preview.

  2. Go to any course, Add the block/unit from the library via 'Use unit from library' button

  3. Transcript should render successfully on the studio

  4. Publish the course transcript should render successfully on the studio

D. Deleting transcript

  1. After performing above steps, now delete the transcript from the video block in the content library.
  2. Transcript should be deleted successfully in the content library preview.
  3. Sync the block in the course with the content library version.
  4. Transcript should stop appearing on the course as well.
  5. Publish the course.
  6. Transcript should stop appearing on the lms as well

@farhan
Copy link
Contributor

farhan commented Dec 16, 2025

🐛 BUG
From the testing notes mentioned in this comment (D point)
Deleting transcript on the Content Library Video Unit is note reflecting the changes correctly on the Course.

Content library video block after transcript deletion

image

Course video block added from content library and synced up successfully but still showing transcript which is a bug.

image

Further notes on it:
It exits on master and on this commit as well which is before moving transcript methods to the video service, so it needs to be fixed separately.

cc: @feanil @kdmccormick @openedx/axim-aximprovements @FuaadZam

@farhan farhan closed this Dec 17, 2025
@farhan farhan reopened this Dec 17, 2025
@farhan farhan closed this Dec 17, 2025
@farhan farhan reopened this Dec 17, 2025
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@farhan farhan added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Dec 17, 2025
@open-craft-grove
Copy link

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

@farhan
Copy link
Contributor

farhan commented Dec 19, 2025

Testing Notes:

Uploading transcript on the component/block of the Content library is not working fine on the sandbox of this PR.
It's working fine on Farhan/Irtaza and Kyle's local machine setup (having dev and local tutor setups)

As per discussion with @kdmccormick we tried testing of this PR in a fresh new PR here, created the sandbox and its working fine on new PR sandbox which means there is some data or sandbox-creation issue on this PR.

So I am closing this PR on account of this new PR

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