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

Activity Chooser should better support subtypes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6
    • 2.5
    • 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

      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.

            bushido Mark Nielsen
            dougiamas Martin Dougiamas
            Dan Poltawski Dan Poltawski
            Marina Glancy Marina Glancy
            Jérôme Mouneyrac Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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