edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

feat: support rendering XBlocks in the Learning MFE [FC-0035]

Open Agrendalath opened this issue 2 years ago • 2 comments

Rendering blocks directly in the MFE was developed for the Library Authoring MFE. The solution was then ported to the Learning MFE. This commit includes backend changes required to retrieve data of non-blockstore XBlocks from LMS.

Please see https://github.com/openedx/frontend-app-learning/pull/1281 for the details and testing instructions.

Other information

  • https://github.com/aximcollaborative/funded-contributions/issues/15
  • Private-ref: BB-7872

Agrendalath avatar Feb 01 '24 00:02 Agrendalath

Thanks for the pull request, @Agrendalath! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

openedx-webhooks avatar Feb 01 '24 00:02 openedx-webhooks

Hi @ormsbee and @arbrandes! Just checking in on this. I think we're waiting on this to close the project.

mphilbrick211 avatar Apr 02 '24 16:04 mphilbrick211

Hi @Agrendalath and @ormsbee! Just checking in on this.

mphilbrick211 avatar May 13 '24 13:05 mphilbrick211

We've found that the Library Authoring approach to using an iframe per XBlock doesn't give users a good enough UX. See my comment in the PR that was meant to add the same approach to Course Authoring:

https://github.com/openedx/frontend-app-course-authoring/pull/964#pullrequestreview-2033590615

We're going to need a better plan if we want to stop using the backend to render whole units.

To be clear, this is not to say that this PR is wrong. We might find a frontend-only solution to the performance issues. But we should probably hold off here until we've had that conversation.

arbrandes avatar May 15 '24 13:05 arbrandes

We've found that the Library Authoring approach to using an iframe per XBlock doesn't give users a good enough UX. See my comment in the PR that was meant to add the same approach to Course Authoring:

openedx/frontend-app-course-authoring#964 (review)

We're going to need a better plan if we want to stop using the backend to render whole units.

To be clear, this is not to say that this PR is wrong. We might find a frontend-only solution to the performance issues. But we should probably hold off here until we've had that conversation.

FYI @ormsbee @Agrendalath

mphilbrick211 avatar May 16 '24 21:05 mphilbrick211

Thank you for sharing it, @arbrandes. In this case, I suppose we should close this and https://github.com/openedx/frontend-app-learning/pull/1281 for now.

cc: @ormsbee, @mphilbrick211

Agrendalath avatar May 17 '24 19:05 Agrendalath

@Agrendalath Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

openedx-webhooks avatar May 17 '24 19:05 openedx-webhooks