In-place enrollment on course home

Description

This story will change enroll links on the course home page to immediately enroll the user, and then refresh the page to show enroll-only content. A success message will be shown to show that the user is notified that they successfully enrolled (confirm with ).

Acceptance Criteria

  • Update the Enroll Now button to use the enrollment API

  • Success message or error message depending on whether or not the learner can be enrolled.

  • Add a Waffle flag so that we can disable the button for certain courses

    • Create a follow-up story to remove the Waffle flag

  • Analytics events

    • Emit an event with the right parameters to show that the course home did the enrollment

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Diana Huang

Reporter

Andy Armstrong

Labels

None

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Story Points

3

Epic Link

Components

Sprint

None

Priority

Unset
Configure