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

Predefine LTI icons in external tool configuration

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as Admin.
      2. Create a Course.
      3. Go to Site Administration/ Plugins / Activity modules / External tool / Manage preconfigured tools (/admin/settings.php?section=modsettinglti).
      4. Add a preconfigured tool
      5. Go to the course 
      6. Add an External tool activity.
        • Select the previously created Preconfigured tool

      Test these following scenarios by uploading/configuring Icons for the preconfigured tool and the external tool activity.

      The expected outcome should represent the icon displayed for the external tool activity in the Course.

       

      Preconfigured tool External tool activity Expected outcome
      No icons uploaded/configured. No icons uploaded/configured. The icon to be used is the external tool default icon (the puzzle piece).
      Has configured Icon URL. No icons uploaded/configured. The External tool uses the icon which is configured by URL in the preconfigured tool
      Has uploaded icon.  No icons uploaded/configured. The icon to be used is the icon which is uploaded in the preconfigured tool
      Has configured Icon URL.
      Has uploaded icon.
      No icons uploaded/configured. The icon to be used is the icon which is uploaded in the preconfigured tool
      No icons uploaded/configured. Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance
      No icons uploaded/configured. Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance
      No icons uploaded/configured. Has uploaded icon.
      Has configured Icon URL.
      The icon to be used is the icon which is uploaded in the activity instance, overriding the icon which is configured by URL in the activity instance 
      Has configured Icon URL. Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance, overriding the icon which is configured by URL in the activity instance
      Has uploaded icon.  Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance, overriding the icon which is uploaded in the preconfigured tool
      Has configured Icon URL. Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance, overriding the icon which is configured by URL in the preconfigured tool 
      Has uploaded icon.  Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance, overriding the icon the icon which is uploaded in the preconfigured tool
      Has uploaded icon and configured icon URL. Usage set to 'show in activity chooser' N/A Activity chooser should show uploaded icon

       

      Show
      Login as Admin. Create a Course. Go to Site Administration/ Plugins / Activity modules / External tool / Manage preconfigured tools (/admin/settings.php?section=modsettinglti). Add a preconfigured tool Go to the course  Add an External tool activity. Select the previously created Preconfigured tool Test these following scenarios by uploading/configuring Icons for the preconfigured tool and the external tool activity. The expected outcome should represent the icon displayed for the external tool activity in the Course.   Preconfigured tool External tool activity Expected outcome No icons uploaded/configured. No icons uploaded/configured. The icon to be used is the external tool default icon (the puzzle piece). Has configured Icon URL. No icons uploaded/configured. The External tool uses the icon which is configured by URL in the preconfigured tool Has uploaded icon.  No icons uploaded/configured. The icon to be used is the icon which is uploaded in the preconfigured tool Has configured Icon URL. Has uploaded icon. No icons uploaded/configured. The icon to be used is the icon which is uploaded in the preconfigured tool No icons uploaded/configured. Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance No icons uploaded/configured. Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance No icons uploaded/configured. Has uploaded icon. Has configured Icon URL. The icon to be used is the icon which is uploaded in the activity instance, overriding the icon which is configured by URL in the activity instance   Has configured Icon URL. Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance, overriding the icon which is configured by URL in the activity instance Has uploaded icon.  Has configured Icon URL. The icon to be used is the icon which is configured by URL in the activity instance, overriding the icon which is uploaded in the preconfigured tool Has configured Icon URL. Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance, overriding the icon which is configured by URL in the preconfigured tool   Has uploaded icon.  Has uploaded icon.  The icon to be used is the icon which is uploaded in the activity instance, overriding the icon the icon which is uploaded in the preconfigured tool Has uploaded icon and configured icon URL. Usage set to 'show in activity chooser' N/A Activity chooser should show uploaded icon  
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-45105_lti_icons

      Description

      In Moodle, I am able to predefine external tools (LTI) globally on /admin/settings.php?section=modsettinglti. There, I can configure things like consumer secret and custom parameters.

      Then, when I add an external tool (LTI) to a course, I am able to reuse those predefined configuration options.
      Additionally, I am able to set a custom icon for this LTI activity. Unfortunately, I have to set the icon for every LTI activity individually, there is no possibility to predefine LTI icons globally in the external tool configuration.

      I would be grateful if icons could be added to the global external tool configuration.

      Additionally, I think it would make sense to enable users to upload LTI icons with DnD to Moodle instead of having them uploaded somewhere else and configured them with a URL.

      Thanks in advance!

        Attachments

        1. icon_issue.png
          249 kB
          Simey Lameze
        2. mod_lti_icon_issue.png
          32 kB
          Simey Lameze
        3. user picture settings.png
          20 kB
          Helen Foster

          Issue Links

            Activity

              People

              Assignee:
              davosmith Davo Smith
              Reporter:
              abias Alexander Bias
              Peer reviewer:
              Mihail Geshoski Mihail Geshoski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              9 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

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