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

Course bulk edit: The basic bulk section and activity selection UI, no actions yet

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-76783-master
    • Hide

      Covered mostly by behat tests.

      Custom format actions manual test

      1. Create a course with some sections and activities.
      2. Copy the bulkedittools.phpfile into course/format/topics/classes/output/courseformat/content/bulkedittools.php
      3. Purge caches
      4. Access the course in edit mode and click the "bulk edit" button at the right of the course title
        1. Check the bulk edit sticky footer appears at the bottom of the page
        2. Check some checkboxes are displayed on the left of the activities and section titles.
        3. Check that "Activity Ac. 1" and "Activity Ac. 2" are displayed and dimmed in the sticky footer.
      5. Click on a checkbox at the left of an activity to select it
        1. Check the "Activity Ac. 1" and "Activity Ac. 2" elements in the sticky footer are now black (not dimmed)
      6. Click again on the exact activity checkbox to unselect the activity
        1. Check the "Activity Ac. 1" and "Activity Ac. 2" elements are dimmed again
      7. Click on a checkbox at the left of a section title to select a section
        1. Check that the sticky footer now shows "Section Ac.1" and "Section Ac.2" and that both are black (not dimmed).
      8. Click again on the exact activity checkbox to unselect the section
        1. Check the sticky footer now shows "Activity Ac. 1" and "Activity Ac. 2" elements and that they are dimmed.
      Show
      Covered mostly by behat tests. Custom format actions manual test Create a course with some sections and activities. Copy the bulkedittools.php file into course/format/topics/classes/output/courseformat/content/bulkedittools.php Purge caches Access the course in edit mode and click the "bulk edit" button at the right of the course title Check the bulk edit sticky footer appears at the bottom of the page Check some checkboxes are displayed on the left of the activities and section titles. Check that "Activity Ac. 1" and "Activity Ac. 2" are displayed and dimmed in the sticky footer. Click on a checkbox at the left of an activity to select it Check the "Activity Ac. 1" and "Activity Ac. 2" elements in the sticky footer are now black (not dimmed) Click again on the exact activity checkbox to unselect the activity Check the "Activity Ac. 1" and "Activity Ac. 2" elements are dimmed again Click on a checkbox at the left of a section title to select a section Check that the sticky footer now shows "Section Ac.1" and "Section Ac.2" and that both are black (not dimmed). Click again on the exact activity checkbox to unselect the section Check the sticky footer now shows "Activity Ac. 1" and "Activity Ac. 2" elements and that they are dimmed.
    • 5
    • Maintenance&Planning Sprint 2

      Adapt the current course editor UI to allow bulk section and activity selection. All bulk actions will be implemented in future issues. However, this issue will cover the following:

      • Enable/disable bulk editing (showing checkboxes in the activities and sections)
      • The activity and section checkbox logic: when bulk editing is enabled, all checkboxes are enabled, however, when a user selects an element (section or activity) they can only select the same type.
      • The sticky footer appears when bulk editing is enabled and disappears when bulk editing is disabled. The sticky footer will also:
        • Have a counter of the selected elements
        • A button to unselect everything selected
        • A button to close the bulk editing (yet to confirm)

      If necessary, this issue may implement one simple action to test what happens when an action is performed.

      the current bulk edition designs may vary once the prototype is finished. However, the general flow will remain almost the same as described below:

      1) A new "bulk edition" will appear on the course header:

      2) A sticky footer and select checkboxes will appear once the user clicks the bulk editing. Closing that sticky footer will disable the bulk editing.

      3) Once the user selects some kind of element (activity or section), only the same element's checkboxes will be visible. The available actions will be different depending on the type of element selected.

      4) If an action is clicked, all elements will be unselected, and the user can select either sections or activities again.

        1. (I) Passed -- (Master)MDL-76783.png
          (I) Passed -- (Master)MDL-76783.png
          53 kB
        2. bulkedittools.php
          3 kB
        3. MDL-76783_001.png
          MDL-76783_001.png
          65 kB
        4. MDL-76783_002.png
          MDL-76783_002.png
          73 kB
        5. MDL-76783_003.png
          MDL-76783_003.png
          74 kB

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Laurent David Laurent David
            Amaia Anabitarte Amaia Anabitarte
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 7 hours, 6 minutes
                1w 1d 7h 6m

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