2f90b7881492467de8eedcc254855fb02cb7c003
* If the user does not have access to the course, then redirect to the course outline. In a subsequent PR, if this API call is made on the course outline page in the MFE, we’ll need to be able to prevent the redirect. But that view of the MFE doesn’t exist yet. * Moving course outline redirect logic into CourseContainer. This way, depending on the page calling fetchCourseMetadata, we can make an intelligent choice about whether we want to redirect, show a message, etc. By redirecting in the API call handler, then we took that choice away from ourselves.
|Build Status| |Coveralls| |npm_version| |npm_downloads| |license| frontend-app-learning ========================= Please tag **@edx/teaching-and-learning** on any PRs or issues. Thanks. Introduction ------------ React app for edX learning. .. |Build Status| image:: https://api.travis-ci.org/edx/frontend-app-learning.svg?branch=master :target: https://travis-ci.org/edx/frontend-app-learning .. |Coveralls| image:: https://img.shields.io/coveralls/edx/frontend-app-learning.svg?branch=master :target: https://coveralls.io/github/edx/frontend-app-learning .. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-app-learning.svg :target: @edx/frontend-app-learning .. |npm_downloads| image:: https://img.shields.io/npm/dt/@edx/frontend-app-learning.svg :target: @edx/frontend-app-learning .. |license| image:: https://img.shields.io/npm/l/@edx/frontend-app-learning.svg :target: @edx/frontend-app-learning
Languages
JavaScript
84.9%
TypeScript
13.2%
SCSS
1.7%
Makefile
0.1%