Skip to content

Restrict to only English videos on the level video editor - #51270

Merged
bethanyaconnor merged 1 commit into
stagingfrom
bethany/fix-video-editor-language
Apr 20, 2023
Merged

Restrict to only English videos on the level video editor#51270
bethanyaconnor merged 1 commit into
stagingfrom
bethany/fix-video-editor-language

Conversation

@bethanyaconnor

Copy link
Copy Markdown
Contributor

Fix for issue report in Slack. I tested locally and could repro before this fix and could not after.

Some background on videos: videos have a key which is used to link the video to the level. All videos have an English version (locale column = en-US) but some videos are localized into different languages. In those cases, they share the same key as their English counterpart with the locale value equal to the language they're localized into.

In this specific case, we are grouping videos by key, which overwrites the English video info with non-English video info sometimes. This isn't causing any major issues, but a 17 comment Slack thread seems like it's confusing enough that we should fix it.

@bethanyaconnor
bethanyaconnor requested a review from a team April 11, 2023 19:26

@hannahbergam hannahbergam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for doing this!

@bethanyaconnor
bethanyaconnor merged commit 34e9f7e into staging Apr 20, 2023
@bethanyaconnor
bethanyaconnor deleted the bethany/fix-video-editor-language branch April 20, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants