Skip to content

Conversation

@jsnwesson
Copy link
Member

@jsnwesson jsnwesson commented May 20, 2024

The host example app was not able to render the plugins defined in env.config.js due to something to do with the frontend-component-header and frontend-component-footer dependencies living in the host's package.json (introduced in #61).

Although the reason is unclear of how they affected the configuration, we can safely remove them as they were unused by both example apps.

In addition, the hydrateAuthenticatedUser in Initialize is set to false so that the LMS isn't required to run the example apps, which will allow more from the open-source community to easily access the examples.

Steps to test (following steps in README for developers):

  1. run make requirements in root
  2. run npm run start:example
  3. go to localhost:8080 to see host app with direct and iFrame plugins

* remove auth requirement for LMS
* enables development outside of host devstack and LMS
@jsnwesson
Copy link
Member Author

@bradenmacdonald @arbrandes @davidjoy this should be able to help close out #54 and make the example apps more available to the community!

@jsnwesson jsnwesson changed the title refactor: remove footer and header deps in example apps fix: example app render plugins and remove LMS authentication May 21, 2024
@jsnwesson jsnwesson merged commit c1aa33f into master May 21, 2024
@jsnwesson jsnwesson deleted the jwesson/fix-example-apps branch May 21, 2024 20:52
@openedx-semantic-release-bot

🎉 This PR is included in version 1.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants