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

Add Moodle filters support to user tours

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_403_STABLE
    • MDL-76104-master
    • Hide

      Covered by newly created Behat. (MathJax and Activity names auto-linking)

      Manual testing steps are below

      1. Login as admin.
      2. Navigate to  Site administration > Appearance > User tours > Create a new tour.
      3. Fill in the form with below values:
        • Name: Youtube and Equation tour
        • Apply to URL match: /my/%
        • Tour is enabled: Checked.
      4. Click Save changes.
      5. Verify. The new tour appears in the tours list.
      6. Disabled all tours by clicking the eye icon, so it changed to slash eye icon, except the one that you have created (Youtube and Equation tour).
      7. Click on the created Youtube and Equation tour.
      8. Click on New step link.
      9. Fill in the form with below values:
      10. Click Save changes.
      11. Create an equation tour step by Clicking on New step link.
      12. Fill in the form with below values:
        • Target type: Display in the middle of the page
        • Title: Test Equation
        • Content type: Manual
        • Content: Click Show more buttons (level down icon) in the Atto editor
        • Click the Equation editor icon (calculator icon)
        • Click Advanced and then select one of the equations in the list
        • Verify. New text inserted in the Atto editor.
      13. Click Save changes.
      14. Navigate to Dashboard.
      15. Verify that the Tour will be displayed.
      16. Verify that the titles of the Tour step is: Test Youtube video
      17. Verify that the video player will be displayed.
      18. Click the play icon.
      19. Verify that you can play the Youtube video.
      20. Click the "Next (1/2)" button.
      21. Verify that the titles of the Tour step is: Test Equation
      22. Verify that the equation is displayed correctly as expected.
      23. Navigate to Site Administration -> Plugins -> Manage media players.
      24. Disable VideoJS player and enable Youtube.
      25. Repeat the steps from 1 to 22.
      Show
      Covered by newly created Behat. (MathJax and Activity names auto-linking) Manual testing steps are below Login as admin. Navigate to  Site administration > Appearance > User tours > Create a new tour. Fill in the form with below values: Name: Youtube and Equation tour Apply to URL match: /my/% Tour is enabled: Checked. Click Save changes. Verify. The new tour appears in the tours list. Disabled all tours by clicking the eye icon, so it changed to slash eye icon, except the one that you have created (Youtube and Equation tour). Click on the created Youtube and Equation tour. Click on New step link. Fill in the form with below values: Target type: Display in the middle of page Title: Test Youtube video Content type: Manual Content: https://www.youtube.com/watch?v=PEH-mkmDexc Click Save changes. Create an equation tour step by Clicking on New step link. Fill in the form with below values: Target type: Display in the middle of the page Title: Test Equation Content type: Manual Content: Click Show more buttons (level down icon) in the Atto editor Click the Equation editor icon (calculator icon) Click Advanced and then select one of the equations in the list Verify . New text inserted in the Atto editor. Click Save changes. Navigate to Dashboard. Verify that the Tour will be displayed. Verify that the titles of the Tour step is: Test Youtube video Verify that the video player will be displayed. Click the play icon. Verify that you can play the Youtube video. Click the "Next (1/2)" button. Verify that the titles of the Tour step is: Test Equation Verify that the equation is displayed correctly as expected. Navigate to Site Administration -> Plugins -> Manage media players. Disable VideoJS player and enable Youtube. Repeat the steps from 1 to 22.
    • 6
    • Team Hedgehog 4.1 pre 1.1, Team Hedgehog Sprint 1.1, Team Hedgehog Sprint 1.2, Team Hedgehog Sprint 1.3, Team Hedgehog Sprint 1 review, Team Hedgehog Sprint 2.1, Team Hedgehog Sprint 2.2, Team Hedgehog 2023 Sprint 1.3, Team Hedgehog 2023 Sprint 1.4, Team Hedgehog 2023 Sprint 2.0, Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3

    Description

      Since Moodle 4.0,  users can use the HTML editor to insert Youtube video into Tour step content just by inserting the Youtube video link.

      If the VideoJS is set to play the Youtube video, Tour step can render the player but the user cannot play it.

      Another issue is the user can insert the equation into the Tour content, but the Tour step cannot render that equation.

      We should make User tour supports the Moodle filters

      Attachments

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              huongn@moodle.com Huong Nguyen
              Meirza Meirza
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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