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

Remove subsection from the activity chooser

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-82574-main
    • Hide

      Test 1: Subsection enabled

      1. Go to Admin > Plugins > Manage Activities
      2. Ensure that Subsection is enabled
      3. Create a course C1
      4. Add a subsection in section 1
      5. Add an activity and open the activity chooser dialog
      6. Ensure that subsection is not an activity listed in the activity chooser

      Test 2: Subsection disabled

      1. Go to Admin > Plugins > Manage Activities
      2. Ensure that Subsection is disabled
      3. Create a course C2
      4. Add an activity and open the activity chooser dialog
      5. Ensure that subsection is not an activity listed in the activity chooser
      Show
      Test 1: Subsection enabled Go to Admin > Plugins > Manage Activities Ensure that Subsection is enabled Create a course C1 Add a subsection in section 1 Add an activity and open the activity chooser dialog Ensure that subsection is not an activity listed in the activity chooser Test 2: Subsection disabled Go to Admin > Plugins > Manage Activities Ensure that Subsection is disabled Create a course C2 Add an activity and open the activity chooser dialog Ensure that subsection is not an activity listed in the activity chooser
    • 1
    • HQ 2024 Sprint I3.2 Moppies

      This issue is part of the course hierarch project.

      Issue goals

      After MDL-81767 the activity chooser will display a dropdown to create subsection instances without opening the activity modal. However, the mod_subsection is still present in the activity list modal.

      In this issue, mod_subsection will be hidden from the activity list modal.

      This issue should also evaluate if the mod_subsection string "modulename_help" can be removed (because it is only used in the activity chooser).

      Note: a good way to start this issue is by looking at the get_content_items_for_user_in_course method that generates the modchooser list.

            laurent.david@moodle.com Laurent David
            tusefomal Ferran Recio
            Mikel Martín Corrales Mikel Martín Corrales
            Ferran Recio Ferran Recio
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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