c3d0ac141712bd87f5eff86ac25050f8164341b8
* build: bumping version of frontend-platform We’re going to need to use the new getLoginRedirectUrl helper. * Adding custom alerts for anonymous and unenrolled users. - Anonymous users are prompted to sign in or register. - Unenrolled users are prompted to enroll. The alerts themselves are lazy-loaded as necessary, like the ContentLock component. This PR also adds `customAlerts` to the AlertList, allowing an application to specify custom components to be shown as Alerts for a given alert code. * refactor: Renaming enrollmentIsActive to isEnrolled As per review feedback that the former wasn’t clear.
|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.8%
TypeScript
13.1%
SCSS
1.9%
Makefile
0.1%