| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This implements most of the frontend for Open edX Studio, allowing authors to create and edit courses, libraries, and their learning components.
A few parts of Studio still default to the "legacy" pages defined in edx-platform, but those are rapidly being deprecated and replaced with the React- and Paragon-based pages defined here.
`Tutor`_ is currently recommended as a development environment for the Authoring MFE. Most likely, it already has this MFE configured; however, you'll need to make some changes in order to run it in development mode. You can refer to the relevant tutor-mfe documentation for details, or follow the quick guide below.
git clone https://github.com/openedx/frontend-app-authoring.gitThe current version of the micro-frontend build scripts supports the version of Node found in .nvmrc. Using other major versions of node may work, but this is unsupported. For convenience, this repository includes an .nvmrc file to help in setting the correct node version via nvm.
tutor mounts add /path/to/frontend-app-authoringtutor dev start lms cms mfecd frontend-app-authoring && npm cinpm run devThen you can access the app at http://apps.local.openedx.io:2001/course-authoring/home
tutor dev stop
tutor config save --set LMS_HOST=local.openedx.io --set CMS_HOST=studio.local.openedx.io
tutor dev launch -I --skip-build
tutor dev stop authoring # We will run this MFE on the hostEnables a "Pages & Resources" menu item in Studio, under the "Content" menu.
The following are requirements for this feature to function correctly:
In additional to the standard settings, the following local configuration items are required:
Clicking on the "Pages & Resources" menu item takes the user to the course's pages-and-resources standalone page in this MFE. (In a devstack, for instance: http://localhost:2001/course/course-v1:edX+DemoX+Demo_Course/pages-and-resources.)
UX-wise, Pages & Resources is meant to look like a Studio tab, so reproduces Studio's header.
For a particular course, this page allows one to:
New React editors for the HTML, Video, and Problem XBlocks are provided here and are rendered by this MFE instead of by the XBlock's authoring view.
In additional to the standard settings, the following local configuration item is required:
In Studio, a new item ("Proctored Exam Settings") is added to "Other Course Settings" in the course's "Certificates" settings page. When clicked, this takes the author to the corresponding page in the Course Authoring MFE, where one can:
In Studio, the "Advanced Settings" page for each enabled course will now be served by this frontend, instead of the UI built into edx-platform. The advanced settings page holds many different settings for the course, such as what features or XBlocks are enabled.
In Studio, the "Files & Uploads" page for each enabled course will now be served by this frontend, instead of the UI built into edx-platform. This page allows managing static asset files like PDFs, images, etc. used for the course.
In additional to the standard settings, the following local configuration items are required:
Tagging/Taxonomy functionality.
In additional to the standard settings, the following local configurations can be set to switch between different library modes:
Tutor is the community-supported Open edX development environment. See the tutor-mfe plugin README for more information.
If your devstack includes the default Demo course, you can visit the following URLs to see content:
npm ERR! gyp ERR! build error while running npm install on Macs with M1 processors: Probably due to a compatibility issue of node-canvas with M1.
Run brew install pkg-config pixman cairo pango libpng jpeg giflib librsvg before npm install to get the correct versions of the dependencies. If there is still an error, look for "no package [...] found" in the error message and install missing package via brew. (Automattic/node-canvas#1733)
The production build is created with npm run build.
Please see refer to the frontend-platform i18n howto for documentation on internationalization.
If you're having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.
Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace. Because this is a frontend repository, the best place to discuss it would be in the #wg-frontend channel.
For anything non-trivial, the best path is to open an issue in this repository with as many details about the issue you are facing as you can provide.
https://github.com/openedx/frontend-app-course-authoring/issues
For more information about these options, see the Getting Help page.
The code in this repository is licensed under the AGPLv3 unless otherwise noted.
Please see LICENSE for details.
Contributions are very welcome. Please read How To Contribute for details.
This project is currently accepting all types of contributions, bug fixes, security fixes, maintenance work, or new features. However, please make sure to have a discussion about your new feature idea with the maintainers prior to beginning development to maximize the chances of your change being accepted. You can start a conversation by creating a new issue on this repo summarizing your idea.
Note that contributions are expected to follow the Open edX AI Contribution Policy.
All community members are expected to follow the Open edX Code of Conduct.
The assigned maintainers for this component and other project details may be found in Backstage. Backstage pulls this data from the catalog-info.yaml file in this repo.
Please do not report security issues in public, and email security@openedx.org instead.
| Back | FazBrowse Home | New Git URL |