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

Hardcoded button "I understand" in "Course management" user tour

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73784-master
    • Hide

      Course management end tour's label

      1. Log in as an admin.
      2. Go to Site administration / Appearance / User tours.
      3. Click the 'Edit' icon in the Course management tour.
      4. Verify that the value of the End tour button's label field is: tour_navigation_mycourses_endtourlabel,tool_usertours
      5. Go to My courses.
      6. Click Reset user tour on this page link (in the Footer popup).
      7. Verify that you will see the tour step with the below content:
        • Title: Courses and categories
        • Content: [image] Add, copy, delete and hide courses from this menu.
        • End button's label: I understand

      Noted: Below are test cases that were copied from MDL-72783. It could require us to click on the Reset user tour on this page link (in the Footer popup) to make the tour display.

      User tour for Teacher

      1. Log in as a teacher.
      2. Go to Dashboard.
      3. Verify that you will see a User tour with the below content:
        • Title: Expand to explore!
        • Content: [Picture] This side panel can contain more features.
        • End button's text: Got it
      4. Go to My Courses.
      5. Verify that you will see a User tour with the below content:
        • Title: Courses and categories
        • Content: [Picture] Add, copy, delete and hide courses from this menu.
        • End button's text: I understand
      6. Go to the created Course.
      7. Verify that you will see a User tour with the below content:
        1. Tour 1:
          • Title: Activate edit mode
          • Content: [Picture] Add new content or edit existing content.
        2. Tour 2:
          • Title: Course index
          • Content: [Picture] Drag and drop activities to re-order course content.
        3. Tour 3:
          • Title: Something to tell everyone?
          • Content: [Picture] Post important news here.
          • End button: Got it

      User tour for student

      1. Log in as a student.
      2. Go to Dashboard.
      3. Verify that you will see a User tour with the below content:
        • Title: Expand to explore!
        • Content: [Picture] This side panel can contain more features.
        • End button's text: Got it
      4. Go to the created Course.
      5. Verify that you will see a User tour with the below content:
        • Title: Find your way around
        • Content: [Picture] Browse through activities and track your progress.
        • End button's text: Got it

      Tour name and description can be translatable

      1. Log in as admin.
      2. Go to Site administration / Appearance / User tours.
      3. Click on the "Create a new tour" link.
      4. Input as below:
        • Name: tour_activityinfo_activity_student_title,tool_usertours
        • Description: tour_activityinfo_activity_student_content,tool_usertours
      5. Click on Save changes.
      6. Verify that you will see a tour with a name called "New: Activity information".
      7. Verify that you will see a tour with a description is "information  Activity dates plus what to do to complete the activity are shown on the activity page."
      Show
      Course management end tour's label Log in as an admin. Go to Site administration / Appearance / User tours. Click the 'Edit' icon in the Course management tour. Verify that the value of the End tour button's label field is: tour_navigation_mycourses_endtourlabel,tool_usertours Go to My courses. Click Reset user tour on this page link (in the Footer popup). Verify that you will see the tour step with the below content: Title: Courses and categories Content: [image] Add, copy, delete and hide courses from this menu. End button's label: I understand Noted : Below are test cases that were copied from MDL-72783 . It could require us to click on the Reset user tour on this page link (in the Footer popup) to make the tour display. User tour for Teacher Log in as a teacher. Go to Dashboard. Verify that you will see a User tour with the below content: Title: Expand to explore! Content: [Picture] This side panel can contain more features. End button's text: Got it Go to My Courses. Verify that you will see a User tour with the below content: Title: Courses and categories Content: [Picture] Add, copy, delete and hide courses from this menu. End button's text: I understand Go to the created Course. Verify that you will see a User tour with the below content: Tour 1: Title: Activate edit mode Content: [Picture] Add new content or edit existing content. Tour 2: Title: Course index Content: [Picture] Drag and drop activities to re-order course content. Tour 3: Title: Something to tell everyone? Content: [Picture] Post important news here. End button: Got it User tour for student Log in as a student. Go to Dashboard. Verify that you will see a User tour with the below content: Title: Expand to explore! Content: [Picture] This side panel can contain more features. End button's text: Got it Go to the created Course. Verify that you will see a User tour with the below content: Title: Find your way around Content: [Picture] Browse through activities and track your progress. End button's text: Got it Tour name and description can be translatable Log in as admin. Go to Site administration / Appearance / User tours. Click on the "Create a new tour" link. Input as below: Name: tour_activityinfo_activity_student_title,tool_usertours Description: tour_activityinfo_activity_student_content,tool_usertours Click on Save changes. Verify that you will see a tour with a name called "New: Activity information". Verify that you will see a tour with a description is "information  Activity dates plus what to do to complete the activity are shown on the activity page."
    • 2
    • HQ Team International CIH2-217

    Description

      After MDL-72783

      In "Course management" usertours the button to end is "I understand".

      When the tour has ONE step the button is in english "Got it" (String in AMOS endonesteptour | tool_usertours - https://github.com/moodle/moodle/blob/6652ec135b08e6633e7f82570edc65f7abb6c1f0/admin/tool/usertours/lang/en/tool_usertours.php#L150

      It's not a string in AMOS. Hardcoded to english?

      I found the string here: https://github.com/HuongNV13/moodle/commit/09b234d4e4ff6f73fc504665724d0654f9e154ab#diff-fbec7cb0c4c6ac582f9bd13aee3418e210911936b92aef42fa43fbee86f078b5R289

      Attachments

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              dinism Dinis Medeiros
              Andrew Lyons Andrew Lyons
              Jun Pataleta Jun Pataleta
              Gladys Basiana Gladys Basiana
              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 - 6 hours, 10 minutes
                  6h 10m

                  Clockify

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