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

LTI Advantage: Content Item flow to support creating multiple links

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Pre-requisite

      1. LTI Advantage requires your site to be reachable from the internet. If not, Install ngrok to expose your moodle setup externally. Refer here for additional guidelines
      2. Have a course with an instructor.
      3. As admin install the LTI Robotest test app using the instructions found at https://robotest.theedtech.dev
        • Check in "Privacy" section of the "External tool configuration" form, setting "Accept grades from the tool" has the following options: "Never", "Always" and "As specified in Deep Linking definition or Delegate to teacher".
      4. Tool configuration usage: Show in activity chooser and as preconfigured tool

      Test 1: custom parameters and url are saved when adding links using deep linking

      1. Enter a course as instructor
      2. Turn editing on
      3. Add external activity, choose Robotest app
      4. Click Select Content:
      5. Check the link "One of each please!" link is not strikethrough
      6. Check the following message is displayed: "Your platform supports multiple items to be returned "
      7. Click over "One of each please!" link to choose download both activities (graded, not graded)
      8. In the  "Adding a new External tool to Topic x" page:
        1. Check the following message is displayed: "Successfully fetched tool configuration from the selected content."
        2. Check the External tool form is hidden and only a summary of the 2 links to be added is shown (graded and not graded)
        3. Check only "Save and return to course" and "Close" buttons are displayed
      9. Click "Save and return to course"
      10. Check it returns you to the course
      11. Check the 2 links are added to the course.
      12. Click on the Graded link
        1. Verify the test app loads properly

       

      Test 2: adding one single link works as before supporting multiple

      1. Enter a course as instructor
      2. Turn editing on
      3. Add external activity, choose Robotest app
      4. Click Select Content:
      5. Check the following message is displayed: "Your platform supports multiple items to be returned "
      6. Click over "A single graded LTI Link" link to choose download graded activity
      7. Check the following message is displayed: "Successfully fetched tool configuration from the selected content."
      8. Check the external tool form is still displayed and some of the fields have been filled, such as "Activity name"
      9. Click "Save and return to course"
      10. Check it returns you to the course
      11. Check the 1 link has been added to the course.
      12. Click on the new created "Graded link":
        1. Verify the test app loads properly

       

      Show
      Pre-requisite LTI Advantage requires your site to be reachable from the internet. If not, Install ngrok to expose your moodle setup externally. Refer here for additional guidelines Have a course with an instructor. As admin install the LTI Robotest test app using the instructions found at https://robotest.theedtech.dev Check in "Privacy" section of the "External tool configuration" form, setting "Accept grades from the tool" has the following options: "Never", "Always" and "As specified in Deep Linking definition or Delegate to teacher". Tool configuration usage: Show in activity chooser and as preconfigured tool Test 1: custom parameters and url are saved when adding links using deep linking Enter a course as instructor Turn editing on Add external activity, choose Robotest app Click Select Content: Check the link "One of each please!" link is not strikethrough Check the following message is displayed: "Your platform supports multiple items to be returned " Click over "One of each please!" link to choose download both activities (graded, not graded) In the  "Adding a new External tool to Topic x" page: Check the following message is displayed: "Successfully fetched tool configuration from the selected content." Check the External tool form is hidden and only a summary of the 2 links to be added is shown (graded and not graded) Check only "Save and return to course" and "Close" buttons are displayed Click "Save and return to course" Check it returns you to the course Check the 2 links are added to the course. Click on the Graded link Verify the test app loads properly   Test 2: adding one single link works as before supporting multiple Enter a course as instructor Turn editing on Add external activity, choose Robotest app Click Select Content: Check the following message is displayed: "Your platform supports multiple items to be returned " Click over "A single graded LTI Link" link to choose download graded activity Check the following message is displayed: "Successfully fetched tool configuration from the selected content." Check the external tool form is still displayed and some of the fields have been filled, such as "Activity name" Click "Save and return to course" Check it returns you to the course Check the 1 link has been added to the course. Click on the new created "Graded link": Verify the test app loads properly  
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE
    • Pull from Repository:
    • Pull 3.10 Branch:
      MDL-67473-multipledeeplinking-squashed-310
    • Pull Master Branch:
      MDL-67473-multipledeeplinking-squashed

      Description

      The deep linking flow (aka Content Item Message) allows for the instructor to open the tool to pick or create the content to be added to course.

      Adding one item at a time can often be cumbersome when building a course. This flow is to allow the picker flow to return more than one selection. In which case a simplified summary screen of the items to be added is presented, not allowing further edits.

      The proposed flow is:

      • Add external tool - the external tool add page is displayed
      • Select the tool then Select Content
        • The tool is opened up in a modal (current functionality) with the multipe=true, indicating to the tool it's ok to return more than one selection
        • In the tool makes the selection
      • Back on the external add page:
        • If only one item is present, current functionality
        • If more than one item is present, show a summary of the items to be added including the points possible for items that included a line item definition
      • Save and return to course will add the activity(ies)

      This ticket is related to MDL-66901 which aims to shortcut the external link page altogether (hide the plumbing to the user).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              claudevervoort Claude Vervoort
              Reporter:
              claudevervoort Claude Vervoort
              Peer reviewer:
              Mathew May
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 2 hours, 15 minutes
                  4d 2h 15m