Skip to content
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

Open
Tracked by #31620
angonz opened this issue Sep 11, 2024 · 2 comments
Open
Tracked by #31620

Preview site not in MFE #1455

angonz opened this issue Sep 11, 2024 · 2 comments
Labels
enhancement Relates to new features or improvements to existing features

Comments

@angonz
Copy link

angonz commented Sep 11, 2024

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".
image

@angonz angonz added the enhancement Relates to new features or improvements to existing features label Sep 11, 2024
@angonz
Copy link
Author

angonz commented Sep 11, 2024

@kdmccormick please check.

@kdmccormick
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Relates to new features or improvements to existing features
Projects
Status: No status
Development

No branches or pull requests

2 participants