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

Enable/disable group messaging in bulk

    XMLWordPrintable

Details

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • mdl-76270-master
    • Hide
      1. Create a test course (Size = M to ensure at least 5 users)
      2. In the test course under Participants -> Groups Auto create groups enter group/member count: 5 and press Submit
      3. In the test course, under participants -> Permissions (dropdown) -> Advanced role override set to "Non-editing teacher" apply the following permissions:
        1. moodle/course:managegroups -> Allow
        2. moodle/course:creategroupconversations -> Prohibit for non-editing-teacher
      4. Create a test user called "LimitedGroupUser"
      5. Enrol "LimitedGroupUser" into the course as the non-editing teacher
      6. In a new browser/tab log in as LimitedGroupUser
      7. Navigate to the test course -> Participants -> Groups (dropdown)
      8. Confirm that under heading "With selected" Only the "Edit group settings" and "Delete" are visible. (i.e. messaging buttons are hidden)
      9. Logout of test user and back in as Admin user
      10. Load the test course's groups page
      11. Confirm that with no groups selected, all 4 buttons under "With selected" are greyed out / disabled
      12. Select only Group A
      13. Confirm that all 4 buttons are not disabled and the group members appear in the members list
      14. Press the button "Edit group settings"
      15. Confirm the group settings page loads
      16. Navigate back to groups page
      17. Select only Group A
      18. Press "Delete" then "Yes" in the confirm modal
      19. Confirm the group A has been deleted successfully
      20. Click on only Group B then press the button "Edit group Settings"
      21. Set the "Group messaging" setting to Yes & press Save changes
      22. Select all the groups in the list
      23. Press the button "Disable messaging"
      24. Confirm the notification "Successfully disabled messaging in 4 group(s)"  is displayed
      25. Click on just Group B then press the button "Edit group Settings"
      26. Confirm the Group messaging setting is now set to "No"
      27. Navigate back to the groups list
      28. Select all the groups in the list
      29. Press the button "Enable messaging"
      30. Confirm the notification "Successfully enabled messaging in 4 group(s)" is displayed
      31. Click on just Group B then press the button "Edit group settings"
      32. Confirm the Group messaging setting is now set to "Yes"
      33. Navigate back to the groups manage page
      34. Press the button "Create group"
      35. Confirm the group creator page loads
      36. Navigate back to the groups manage page
      37. Press the button "Import groups"
      38. Confirm the group import page loads
      Show
      Create a test course (Size = M to ensure at least 5 users) In the test course under Participants -> Groups Auto create groups e nter group/member count: 5 and press Submit In the test course, under participants -> Permissions (dropdown) -> Advanced role override set to "Non-editing teacher" apply the following permissions: moodle/course:managegroups -> Allow moodle/course:creategroupconversations -> Prohibit for non-editing-teacher Create a test user called "LimitedGroupUser" Enrol "LimitedGroupUser" into the course as the non-editing teacher In a new browser/tab log in as LimitedGroupUser Navigate to the test course -> Participants -> Groups (dropdown) Confirm that under heading "With selected" Only the "Edit group settings" and "Delete" are visible. (i.e. messaging buttons are hidden) Logout of test user and back in as Admin user Load the test course's groups page Confirm that with no groups selected, all 4 buttons under "With selected" are greyed out / disabled Select only Group A Confirm that all 4 buttons are not disabled and the group members appear in the members list Press the button "Edit group settings" Confirm the group settings page loads Navigate back to groups page Select only Group A Press "Delete" then "Yes" in the confirm modal Confirm the group A has been deleted successfully Click on only Group B then press the button "Edit group Settings" Set the "Group messaging" setting to Yes & press Save changes Select all the groups in the list Press  the button "Disable messaging" Confirm the notification "Successfully disabled messaging in 4 group(s)"  is displayed Click on just Group B then press the button "Edit group Settings" Confirm the Group messaging setting is now set to "No" Navigate back to the groups list Select all the groups in the list Press  the button "Enable messaging" Confirm the notification "Successfully enabled messaging in 4 group(s)" is displayed Click on just Group B then press the button "Edit group settings" Confirm the Group messaging setting is now set to "Yes" Navigate back to the groups manage page Press the button "Create group" Confirm the group creator page loads Navigate back to the groups manage page Press the button "Import groups" Confirm the group import page loads

    Description

      There is a need to enable/disable group messaging in bulk in large courses with a big number of groups. Having 100+ groups in a course it would be challenging for academics to iterate through the list of groups and enable/disable group messaging one by one.

      As a potential solution it could be new buttons Enable group messaging and Disable group messaging added to the group/index.php?id=123456 page that would behave same way as Delete selected groups (users could select more than one group or even all groups usign ctrl + A and then hit the button).

      Another side note is UI/UX of this page. Currently, there are 5 buttons stacked on each other. If we add two more there will be 7 so maybe we could add a dropdown element called With selected... then the dropdown... and then Go (like we have in mod/assign/view.php to lock, unlock, download submissions etc). Delete groups , Enable group messaging and Disable group messaging could go into this dropdown.

      Attachments

        Issue Links

          Activity

            People

              matthewhilton Matthew Hilton
              mikhailgolenkov Misha Golenkov
              Dmitrii Metelkin Dmitrii Metelkin
              Jake Dallimore Jake Dallimore
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 16 minutes
                  2h 16m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.