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

Timeline block uses stock LTI icon even if it has been customized

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-75571-401
    • Hide

      Setting up the External tool with custom icon and completion settings

      1. Login as admin
      2. Ensure the "Timeline" block is present on your dashboard
      3. Ensure the "Upcoming events" block is present on your dashboard
      4. Go to a course (e.g. LTI Testing), "Turn editing on"
      5. In any given section, "Add an activity or resources"
      6. From the list of available activities in the modal, choose "External Tool" to configure a new LTI
        1. Set a Tool name and Tool URL (you can use any URL, like https://moodle.org)
        2. In the "General" section, click on "Show more..."
        3. Provide a path to an image in the "Icon URL" input field - *custom icon (for instance, you can use https://upload.wikimedia.org/wikipedia/commons/1/15/Wireless-icon.svg)
        4. In the "Activity completion" section set "Completion tracking" = "Students can manually mark the activity as completed" then set "Expect completed on" = a date one day in the future.
      7. Click the "Save and return to course"
      8. In Participants, enrol a different test user (e.g. Test user 1) with the roles "Student".

      Testing scenario 1: Viewing the course as a teacher

      1. Verify the LTI activity is shown in the course with the icon you set.
      2. Click on the LTI activity
      3. Verify the icon in the activity's view page should be the icon you set.

      Testing scenario 2: Viewing as a Student

      1. Login as a test student with access to the course (e.g. Test user 1) [see step 8 in Setup]
      2. Go to the test course (e.g. LTI Testing)
      3. Click on the new LTI activity
      4. Verify the LTI activity is shown in the course with the icon you set.
      5. Navigate to the Dashboard showing Timeline and Upcoming events blocks
      6. Verify the LTI activity is shown in the list with the date you specified [see step 6.4 above in Setup]
      7. Check the icons on both blocks are the icon you added in step 6.3 above in Setup.
      Show
      Setting up the External tool with custom icon and completion settings Login as admin Ensure the "Timeline" block is present on your dashboard Ensure the "Upcoming events" block is present on your dashboard Go to a course (e.g. LTI Testing), "Turn editing on" In any given section, "Add an activity or resources" From the list of available activities in the modal, choose "External Tool" to configure a new LTI Set a Tool name and Tool URL (you can use any URL, like https://moodle.org ) In the "General" section, click on "Show more..." Provide a path to an image in the "Icon URL" input field - *custom icon (for instance, you can use https://upload.wikimedia.org/wikipedia/commons/1/15/Wireless-icon.svg ) In the "Activity completion" section set "Completion tracking" = "Students can manually mark the activity as completed" then set "Expect completed on" = a date one day in the future. Click the "Save and return to course" In Participants, enrol a different test user (e.g. Test user 1) with the roles "Student". Testing scenario 1: Viewing the course as a teacher Verify the LTI activity is shown in the course with the icon you set. Click on the LTI activity Verify the icon in the activity's view page should be the icon you set. Testing scenario 2: Viewing as a Student Login as a test student with access to the course (e.g. Test user 1) [see step 8 in Setup] Go to the test course (e.g. LTI Testing) Click on the new LTI activity Verify the LTI activity is shown in the course with the icon you set. Navigate to the Dashboard showing Timeline and Upcoming events blocks Verify the LTI activity is shown in the list with the date you specified [see step 6.4 above in Setup] Check the icons on both blocks are the icon you added in step 6.3 above in Setup.

    Description

      The Timeline block on the dashboard uses the stock External Tools (LTI) icon (puzzle piece) for LTI resources even if a customized icon for the LTI has been set up in the External Tools setup. The custom icon should also be used there.

      This issue also existed in the Recently Accessed Items block until recently, fixed in MDL-69168

      Attachments

        Activity

          People

            jacdsouza Jackson D'Souza
            247910 Neil Stapleton
            Mark Johnson Mark Johnson
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Clockify

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