...
The “course card” is what represents a course on the learner dashboard - it contains the course thumbnail, name, passing requirements, and other information. It In Redwood, it also contains an “Upgrade” button:
This In Sumac, this Upgrade button (or more generally, the “Action” button) is now a plugin slot! This means that the button can easily be removed, changed, or even added to. This example below shows how an instance might remove the Upgrade button and instead add two custom action buttons:
...
A commonly requested feature is to remove the Upgrade button. This slot should can be leveraged to achieve that styling.
...
The Course List appears on the learner dashboard; currentlyin Redwood, it consists of horizontal course cards that represent the courses the learner is enrolled in. The CourseListSlot only appears if for a given learner is only when they are enrolled in at least one course.
Utilizing the CourseListSlotIn Sumac, instances can now change the appearance of course cards utilizing the Course List slot. For example, one could convert the horizontal course cards into vertical cards:
...
Leveraging This Slot
This slot, which appears on the learner dashboard for learners enrolled in one or more courses, allows instances to really play around with the visual representation of course cards on the learner’s dashboard. Note this slot doesn’t allow changes to the course card itself, simply rearranging of the visual positioning of the course cards. One could imagine course cards of any shape, with any types of information on them.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
What would be the most common use case or cases of using this slot? |
...
No Courses View Slot (Learner Dashboard)
Capabilities
explain what it can do, with screenshotsOn the Learner Dashboard, when a learner is enrolled in zero courses, a special message is displayed. Now, this special message lives within a slot that can be customized. In Redwood, the message looks like this:
...
In Sumac, this message can be customized with any text, graphics, buttons, and links that meets the needs of your instance:
Leveraging This Slot
Could add some “advanced” use cases. Should basically though point at the developer docs Instances might use this slot to give a custom call to action for learners who haven’t enrolled in a course yet. For example, instance-specific graphics/iconography and text (for example, a message from a founder or prominent course staff member) may provide a personal touch for learners who first land on the Learner Dashboard unenrolled in any course.
Enabling this slot is done via backend administration. Site operators should consult the Learner Dashboard plugin slot documentation for examples of how to use this slot.
...