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

Create the groupmode state actions

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78201-master
    • Hide

      The patch is tested by phpunit test, but it doesn't implement any UI changes, so there is no behat test.

      To test manually the changes:

      1. Apply attached MDL-78201-testing.patch:

        git apply MDL-78201-testing.patch

      2. Purge caches
      3. Create a course and any type of activity in the course
      4. Go to course page with editing on
      5. Open activity's edition options menu
      6. Click on 'Separate groups' link
      7. Go to activity settings
      8. Confirm the 'Group mode' setting value is set to 'Separate groups'
      9. Go back to course page
      10. Open activity's edition options menu
      11. Click on 'Visible groups' link
      12. Go to activity settings
      13. Confirm the 'Group mode' setting value is set to 'Visible groups'
      14. Go back to course page
      15. Open activity's edition options menu
      16. Click on 'No groups' link
      17. Go to activity settings
      18. Confirm the 'Group mode' setting value is set to 'No groups'

       

      Show
      The patch is tested by phpunit test, but it doesn't implement any UI changes, so there is no behat test. To test manually the changes: Apply attached MDL-78201 -testing.patch : git apply MDL-78201-testing.patch Purge caches Create a course and any type of activity in the course Go to course page with editing on Open activity's edition options menu Click on 'Separate groups' link Go to activity settings Confirm the 'Group mode' setting value is set to 'Separate groups' Go back to course page Open activity's edition options menu Click on 'Visible groups' link Go to activity settings Confirm the 'Group mode' setting value is set to 'Visible groups' Go back to course page Open activity's edition options menu Click on 'No groups' link Go to activity settings Confirm the 'Group mode' setting value is set to 'No groups'  
    • 3
    • HQ 2023 Sprint i2.2 Moppies

      The new groupmode icon introduced in MDL-78200 will be interactable soon as the 3,9- one. However, the new icon will not use the old webservices because they are not integrated with the new course editor created in 4.0.

      In this issue, the new state actions and mutations needed to change the group activity mode from the icon will be implemented.

      This issue is about creating the state actions and mutations only, the UI to call to these functions will be implemented in MDL-78203  

            amaia Amaia Anabitarte
            tusefomal Ferran Recio
            Mikel Martín Corrales Mikel Martín Corrales
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 30 minutes
                1d 3h 30m

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