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

Activity Chooser should better support subtypes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Usability
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • MDL-40248_activityChooserMaster
    • Hide
      • Ensure that the old assignment activity displays in the activity chooser as it currently does.
      • Turn activity chooser off and check that old Assignment appears correctly in add activity dropdown.
      • You can test the new return value from modname_get_types by adding the following to mod/forum/lib.php and then ensuring that Forum still displays in the activity chooser:

        function forum_get_types() {
            return MOD_SUBTYPE_NO_CHILDREN;
        }
        

      Show
      Ensure that the old assignment activity displays in the activity chooser as it currently does. Turn activity chooser off and check that old Assignment appears correctly in add activity dropdown. You can test the new return value from modname_get_types by adding the following to mod/forum/lib.php and then ensuring that Forum still displays in the activity chooser: function forum_get_types() { return MOD_SUBTYPE_NO_CHILDREN; }
    • 3
    • FRONTEND Sprint 5

    Description

      In general we are trying to remove the need for activity module subtypes (which explains why they look so bad on activity chooser in 2.3+). However sometimes they are useful, especially for the case of LTI subtypes - "External tools".

      After some discussion, the plan is this:

      1) If an activity module just has one subtype, then promote the link for that subtype to look like a full activity. This simplifies the interface for users.

      2) If an activity module has two or more subtypes, then promote the module in the UI to a group equal to "Activities" or "Resources". For LTI this would be "External tools" and will show all the subtype icons/links under it.

      Attachments

        Issue Links

          Activity

            People

              bushido Mark Nielsen
              dougiamas Martin Dougiamas
              Dan Poltawski Dan Poltawski
              Marina Glancy Marina Glancy
              Jérôme Mouneyrac Jérôme Mouneyrac
              Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13