-
Notifications
You must be signed in to change notification settings - Fork 214
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
Preview site not in MFE #1455
Preview site not in MFE #1455
Comments
@kdmccormick please check. |
I can confirm that this is an existing issue. I was on the team that migrated Open edX from its Legacy course UI to the Learning Micro-Frontend. We ran out of project time before we could migrate the Preview feature over to the Learning MFE, so it still uses the Legacy UI today. The specific technical limitation is that the Learning MFE fetches course data from a set of read-optimized HTTP APIs. These APIs make the course load faster, but they currently only have access to "published" course content. The Preview feature relies on the ability to read "draft" (unpublished) course content, which only the legacy UI supports. This needs to be resolved at some point so that we can remove the Legacy course UI, but it has not been planned or scheduled yet. |
Amazing, thank you @KristinAoki ! Before we close this out, I'm going to do some verification, particularly around data caches which are populated only when a unit is published. FYI @ormsbee . |
@KristinAoki: This is fantastic! Thank you! |
This is currently causing an issue with |
As a course author, I would like to preview a course unit with the same MFE experience as for the live content.
Currently, the "Preview" button in Studio redirects to the legacy version of a course.
There's a thread open in the forum about this topic.
To replicate, go to Studio, edit a course, go to any unit, and hit "Preview".
The text was updated successfully, but these errors were encountered: