FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: example app render plugins and remove LMS authentication by jsnwesson · Pull Request #66 · openedx/frontend-plugin-framework · GitHub

fix: example app render plugins and remove LMS authentication - #66

Merged
jsnwesson merged 2 commits into
masterfrom
jwesson/fix-example-apps
May 21, 2024
Merged

jsnwesson merged 2 commits into
masterfrom
jwesson/fix-example-apps

Conversation

jsnwesson commented May 20, 2024
edited
Loading

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
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 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 merged commit c1aa33f into master May 21, 2024
jsnwesson deleted the jwesson/fix-example-apps branch May 21, 2024 20:52

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

3 participants


Back | FazBrowse Home | New Git URL