Skip to content

Ticket - Manage Learner Enrollments #28

@SantiagoSuHe

Description

@SantiagoSuHe

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:

  1. Clicking the “Enroll Learners” button opens a modal titled “Enroll Learners”.
  2. 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.
  3. When clicking Submit, the system processes all valid users entered.
  4. On success, display a confirmation message:
    • “Learners successfully enrolled.”
  5. Users that fail to enroll (e.g., invalid email, already enrolled) are shown in an error message with details.
  6. If no users are provided, disable the Submit button until at least one entry is detected.

Unenroll Learners:

  1. Each learner row in the Actions column includes an “Unenroll” link.
  2. Selecting Unenroll opens a confirmation modal with an Unenroll primary action button.
  3. Clicking Unenroll removes the learner from the course and refreshes the table.
  4. After success, display: “Learner successfully unenrolled.”
  5. If the unenrollment fails, show: “Unable to unenroll learner. [add any necessary detail to improve the understanding of the different possible errors]”

Design: Figma

Image Image Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions