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

Create user tours for the activity information output component

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Fresh install

      1. Create a fresh Moodle installation.
      2. After installation, log in as an admin and go to Site administration / Appearance / User tours
      3. Confirm that you see 4 user tours about the activity information: 2 for the course homepage and 2 for the activity view page for both students and teachers.

      Upgrade

      1. Uninstall your instance.
      2. Check out the 3.10 branch and install a fresh Moodle 3.10 instance.
      3. Check out the branch for your test and upgrade.
      4. After the upgrade, as an admin, go to Site administration / Appearance / User tours.
      5. Confirm that you see the 4 user tours about activity information.

      Setup for the next tests

      1. Continuing from the upgrade test, restore the attached Course backup as a new course.
        • Note: If the upload fails because of max upload size limits, please adjust this in your php.ini
      2. Change the settings of the course:
        • Enable completion tracking: Yes.
        • Show completion conditions: Yes.
      3. Create a student and a teacher account.
      4. Enrol the created accounts to the Course.

       Admin

      1. Log in as admin.
      2. Go to the restored course's homepage.
      3. Confirm that the user tour about the activity information is not displayed.
      4. Go to an activity.
      5. Confirm that the user tour about the activity information is not displayed.

      Teacher User tours

      1. Log in as a teacher.
      2. Go to the restored course.
      3. Verify that you will see User Tours with the below content:
        • Title: 

          New: Activity information

        • Content:

           New course settings 'Show completion conditions' and 'Show activity dates' enable you to choose whether activity completion conditions (if set) and/or dates are displayed for students on the course page.
           

      4. Confirm that the highlight is on the activity information region of the activity that contains activity information.
      5. Go to any activity that has both dates and completion information displayed. If there's none, edit an activity and add dates  (e.g. due date for an assignment) and enable activity completion.
      6. Verify that you will see the User Tours with the below content:
        • Title: 

          New: Activity information

        • Content:

           Activity dates and completion conditions are now displayed for students on each activity page (and optionally on the course page).
           
          For activities requiring students to manually mark an activity as completed, a 'Mark as done' button is shown on the activity page.
          

      7. Confirm that the activity information region including both completion information and activity dates is highlighted.

      Student User tours

      1. Log in as a student.
      2. Go to the restored course.
      3. Verify that you will see the User Tours with the below content:
        • Title: 

          New: Activity information
          

        • Content: 

            Activity dates and/or what to do to complete the activity are displayed on the course page.
             

      4. Confirm that the highlight is on the activity information region of the activity that contains activity information.
      5. Go to any activity (Ex: Quiz).
      6. Verify that you will see the User Tour with the below content:
        • Title: 

          New: Activity information
             

        • Content:

          Activity dates plus what to do to complete the activity are shown on the activity page. 

      7. Confirm that the activity information region including both completion information and activity dates is highlighted.
         

       

       

      Show
      Fresh install Create a fresh Moodle installation. After installation, log in as an admin and go to Site administration / Appearance / User tours Confirm that you see 4 user tours about the activity information: 2 for the course homepage and 2 for the activity view page for both students and teachers. Upgrade Uninstall your instance. Check out the 3.10 branch and install a fresh Moodle 3.10 instance. Check out the branch for your test and upgrade. After the upgrade, as an admin, go to Site administration / Appearance / User tours. Confirm that you see the 4 user tours about activity information. Setup for the next tests Continuing from the upgrade test, restore the attached Course backup as a new course. Note: If the upload fails because of max upload size limits, please adjust this in your php.ini Change the settings of the course: Enable completion tracking: Yes. Show completion conditions: Yes. Create a student and a teacher account. Enrol the created accounts to the Course.  Admin Log in as admin. Go to the restored course's homepage. Confirm that the user tour about the activity information is not displayed. Go to an activity. Confirm that the user tour about the activity information is not displayed. Teacher User tours Log in as a teacher. Go to the restored course. Verify that you will see User Tours with the below content: Title:  New: Activity information Content:  New course settings 'Show completion conditions' and 'Show activity dates' enable you to choose whether activity completion conditions (if set) and/or dates are displayed for students on the course page. Confirm that the highlight is on the activity information region of the activity that contains activity information. Go to any activity that has both dates and completion information displayed. If there's none, edit an activity and add dates  (e.g. due date for an assignment) and enable activity completion. Verify that you will see the User Tours with the below content: Title:  New: Activity information Content: Activity dates and completion conditions are now displayed for students on each activity page (and optionally on the course page).   For activities requiring students to manually mark an activity as completed, a 'Mark as done' button is shown on the activity page. Confirm that the activity information region including both completion information and activity dates is highlighted. Student User tours Log in as a student. Go to the restored course. Verify that you will see the User Tours with the below content: Title:  New: Activity information Content:  Activity dates and/or what to do to complete the activity are displayed on the course page. Confirm that the highlight is on the activity information region of the activity that contains activity information. Go to any activity (Ex: Quiz). Verify that you will see the User Tour with the below content: Title:  New: Activity information Content: Activity dates plus what to do to complete the activity are shown on the activity page. Confirm that the activity information region including both completion information and activity dates is highlighted.      
    • Affected Branches:
      MOODLE_311_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
      MDL-71234-311
    • Pull Master Branch:
      MDL-71234-master

      Description

      We need to create user tours for the activity output component.

      Some considerations regarding the tour's behaviour:

      1. It needs to show appropriate information depending on the activity's settings:
        1. Whether activity dates are shown or not.
        2. Whether completion information is displayed and whether the activity tracks completions automatically or manually.
      2. Do we show in both course homepage and activity view?

        Attachments

        1. 311_activity_info_course.json
          1.0 kB
        2. 311_activity_info_mod.json
          1 kB
        3. activity_view_tour.png
          activity_view_tour.png
          87 kB
        4. backup-moodle2-course-2-activity_examples-20210428-1537-nu.mbz
          7.65 MB
        5. course_homepage_tour.png
          course_homepage_tour.png
          55 kB
        6. MDL-71234.jpg
          MDL-71234.jpg
          43 kB
        7. MDL-71234 (2).jpg
          MDL-71234 (2).jpg
          32 kB
        8. MDL-71234 (3).jpg
          MDL-71234 (3).jpg
          40 kB
        9. MDL-71234 3 student course.png
          MDL-71234 3 student course.png
          61 kB
        10. MDL-71234 5 completion enabled.png
          MDL-71234 5 completion enabled.png
          63 kB
        11. MDL-71234 6 activity dates highlighted.png
          MDL-71234 6 activity dates highlighted.png
          48 kB
        12. Student User Tour.png
          Student User Tour.png
          214 kB
        13. Teacher User Tour.png
          Teacher User Tour.png
          238 kB
        14. tour_export_10_1620110902.json
          0.9 kB
        15. tour_export_11_1620110901.json
          1 kB
        16. tour_export_12_1620110903.json
          0.9 kB
        17. tour_export_9_1620110899.json
          1 kB

          Issue Links

            Activity

              People

              Assignee:
              huongn@moodle.com Huong Nguyen
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

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