Show a course home message for important course dates
Covers Upgrade Deadline, and Course End
Some messages will have a link (upgrade, id verify)
Add a unique class per message type in support of enabling/disabling in Optimizely
Add an event for each link (bi?)
If multiple milestones are relevant:
show a separate message for each one
sort by date (earliest milestones shown first)
Milestones will be warned two weeks ahead of their date
For very short courses (under 2 weeks), can we start with default behavior that could include multiple messages at the same time as the pre-course start message?
Note: none of these messages will be dismissable
Need to add functionality for warning date.
When do we start showing the warning relative to the date?
How is this configured?
Ideally we would use get_course_date_blocks to get the relevant date types
Each date_summary instance could be extended to optionally generate a message for the current learner on the current date
See the instances here: https://github.com/edx/edx-platform/blob/master/lms/djangoapps/courseware/date_summary.py