* 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.
2.0 KiB
2.0 KiB