generated from openedx/frontend-template-application
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Description:
As an instructor, I want to manually enroll or unenroll learners in my course so that I can control participation, optionally send notifications, and ensure that users are properly registered.
Acceptance Criteria:
Enroll Learners:
- Clicking the “Enroll Learners” button opens a modal titled “Enroll Learners”.
- The modal contains:
- A multiline text box labeled “Email addresses / Usernames”, where the instructor can input multiple entries separated by commas or line breaks.
- Two checkboxes displayed below the input field:
- Auto Enroll
- If checked: users who are not yet registered will be automatically enrolled in the course.
- If unchecked: users who are not yet registered will not be enrolled automatically, but will be allowed to self-enroll once they create an account.
- Notify Users By Email
- If checked: enrolled learners receive an email notification confirming their enrollment.
- Auto Enroll
- When clicking Submit, the system processes all valid users entered.
- On success, display a confirmation message:
- “Learners successfully enrolled.”
- Users that fail to enroll (e.g., invalid email, already enrolled) are shown in an error message with details.
- If no users are provided, disable the Submit button until at least one entry is detected.
Unenroll Learners:
- Each learner row in the Actions column includes an “Unenroll” link.
- Selecting Unenroll opens a confirmation modal with an Unenroll primary action button.
- Clicking Unenroll removes the learner from the course and refreshes the table.
- After success, display: “Learner successfully unenrolled.”
- If the unenrollment fails, show: “Unable to unenroll learner. [add any necessary detail to improve the understanding of the different possible errors]”
Design: Figma

Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Development