Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62485

Add notification of success after enroll and unenroll of users in course

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test #1 - User self enrolment

      1. Login in as User
      2. In Site home page click on a course with self enrolment enabled
      3. Click to enroll in course
      4. Check there is a success message in the top
      5. Check there is no "1 enrolled users" message bellow the previous message

      Test #2 - User self unenrolment

      1. Login in as User
      2. Go to an enrolled course page
      3. In top right gear, click to unenrol from the course
      4. Check there is a success message in the top
      5. Check there is no "1 unenrolled users" message bellow the previous message

      Test #3 - Admin/Teacher manual enroling users

      1. Login in as Teacher/Administrator
      2. Go to an enrolled course page
      3. Go to the Participants page
      4. Click on Enrol users button
      5. Enrol 2 different users**
      6. Check there is an information message "2 enrolled users"

      Test #4 - Admin/Teacher manual unenroling users

      1. Login in as Teacher/Administrator
      2. Go to an enrolled course page
      3. Go to the Participants page
      4. In the users table, click on a trash icon to unenrol a specific User
      5. Confirm the unenrolment****

       

      Show
      Test #1 - User self enrolment Login in as User In  Site home page  click on a course with self enrolment enabled Click to enroll in course Check there is a success message in the top Check there is no "1 enrolled users" message bellow the previous message Test #2 - User  self unenrolment Login in as User Go to an enrolled course page In top right gear, click to unenrol from the course Check there is a success message in the top Check there is no "1 unenrolled users" message bellow the previous message Test #3 - Admin/Teacher manual enroling users Login in as Teacher/Administrator Go to an enrolled course page Go to the Participants page Click on Enrol users button Enrol 2 different users** Check there is an information message "2 enrolled users" Test #4 - Admin/Teacher manual unenroling users Login in as Teacher/Administrator Go to an enrolled course page Go to the Participants page In the users table, click on a trash icon to unenrol a specific User Confirm  the unenrolment****  
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:

      Description

      After enrolling in a course the user doesn't receive any feedback if the operation was successful or not. For courses with guest access, the user experience is worst because they have already have access to the course content and after the enrollment, they see the same content and don't know if was enrolled or not.

      The image below reflects the actual behavior.

      The proposal is to show a kind of alert or notification for the user, informing the new enrollment or unenrolment. Like the image below.

      And the same notification for the unenrolments:

       

       

      With this implementation, the message appears for course administrators too. This for enrolments:

      and unenrolents:

       

       

        Attachments

        1. BulkEnrol.png
          25 kB
          Willian Mano Araujo
        2. BulkUnenrol.png
          27 kB
          Willian Mano Araujo
        3. Captura de tela de 2019-10-15 18-57-09.png
          48 kB
          Willian Mano Araujo
        4. img1.png
          87 kB
          Willian Mano Araujo
        5. img2.png
          59 kB
          Willian Mano Araujo
        6. img3.png
          69 kB
          Willian Mano Araujo
        7. img4.png
          128 kB
          Willian Mano Araujo
        8. img5.png
          135 kB
          Willian Mano Araujo
        9. RemoveBulkSelf.png
          109 kB
          Willian Mano Araujo
        10. RemovedFromSelection.png
          25 kB
          Willian Mano Araujo
        11. screenshot-1.png
          242 kB
          Janelle Barcega
        12. Screenshot from 2019-10-18 09-22-29.png
          56 kB
          Adrian Greeve
        13. SelfEnrol.png
          29 kB
          Willian Mano Araujo
        14. SelfUnenrol.png
          11 kB
          Willian Mano Araujo
        15. usersenrolled.png
          46 kB
          Sara Arjona (@sarjona)

          Issue Links

            Activity

              People

              Assignee:
              willianmano Willian Mano Araujo
              Reporter:
              willianmano Willian Mano Araujo
              Peer reviewer:
              Sara Arjona (@sarjona)
              Integrator:
              Adrian Greeve
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Barbara Ramiro, Bas Brands
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 50 minutes
                  5h 50m