Repository navigation
fix: open mfe modal editor of new duplicated xblock #36641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ChrisChV
merged 6 commits into
openedx:master
from
open-craft:dvz/mfe-fix-unit-studio-duplicate
May 20, 2025
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c5d6f45
fix: open mfe modal editor of new duplicated xblock
DanielVZ96 2bf2dfe
feat: send videogallery waffle flag to mfe
DanielVZ96 9b5dac2
fix: update waffle flag tests
DanielVZ96 f17d0b6
fix: backwards compatibility
DanielVZ96 587cb84
chore: empty commit to run
DanielVZ96 66cfa86
Merge branch 'master' into dvz/mfe-fix-unit-studio-duplicate
ChrisChV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure it's OK to remove this "video gallery flow"? Isn't it something that 2U uses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no.. @DanielVZ96 had code in openedx/frontend-app-authoring#1838 (review) which used this alternate video creation flow, but I didn't know it existed, and so I reverted those changes 😢
But you're right, we should avoid breaking anything else, and fix what we removed.. sorry about this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bradenmacdonald you are right. I'll have to refactor this a bit to handle both flows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DanielVZ96 @pomegranited CC @bradenmacdonald I'm not sure if this is in scope, but when you open the editor from the Unity legacy page, with
new_core_editors.use_video_gallery_flowenabled, the video gallery workflow doesn't open.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChrisChV I think that is in scope. nice find.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still see the issue: https://www.loom.com/share/e890c58a81e34a34a08c3fa708d1197d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DanielVZ96 I still can't see the gallery workflow when opening the editor from the legacy unit page. I have rebuilt the assets. Maybe my local is misconfigured, @pomegranited could you test if it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChrisChV I didn't think we had to worry about the legacy unit page anymore -- Isn't that right @bradenmacdonald ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, but we should at least avoid introducing regressions on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, make sense to me, I can confirm that is not a regression 👍