Repository navigation
feat: include video start & end time in course block - #260
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
|
FYI @felipemontoya - if you want to include this in your dbt changes, we should now subtract |
|
Seems fine if you can get the tests to cover it. We'll need to put something in release notes that folks will need to re-dump all of their courses to pick up the new data, though. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
will include this in the release note: platform-plugin-aspects now sends each video’s start and end times with the course block data. Upgrade steps:
Notes: |
Closes openedx/openedx-aspects#373
Description
In studio, video blocks can be set to play a portion of a video. In Aspects we currently only have the actual start/time of the original video with no information on what slice of video is shown to the user. This means that in the dashboard, a timestamp can show as 10:00.00 when the video shown in the course is only 2 minutes long.
This adds video_start_time and video_end_time to xblock_data_json for video blocks in the course_blocks sink.
Example:
Before:
After:
Merge checklist:
Commit messages use the correct Conventional Commits type
Documentation updated (not only docstrings) — n/a
Fixup commits are squashed away
Unit tests added/updated
Manual testing instructions provided
Noted any: Concerns, dependencies, migration issues, deadlines, tickets — existing courses need a re-dump (above) to pick up the new fields. No effect on reports until the aspects-dbt PR is merged.
🤖 Generated with Claude Code