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

the debounce time used in the timeline and courseoverview blocks is not enough

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73865-master
    • Hide

      Test copied from MDL-72650 with minor changes.

      Initial setup

      1. Create as many courses as you want.
      2. Create a student account and enrol on these courses.
      3. Create a choice activity with the close day is next 7 days in one course.

      Timeline

      1. Log in as a student.
      2. go to the Dashboard.
      3. Add Timeline block to the Dashboard if necessary.
      4. Verify that you will see a search field called: Search by activity or name.
      5. Type something into the search field.
      6. Verify that 1 second after you stop typing, the X (clear) button is shown.
        • (It's not important to measure if it was exactly 1 second. Just rely on your intuitive judgement)
      7. Press tab.
      8. Verify that the X (clear) button will be clearly focused.
      9. Press Enter.
      10. Verify that the search will be reset.
      11. Verify that the search field will be focused.

      Course overview

      1. Log in as a student account.
      2. Go to the Dashboard.
      3. Add Course overview block to the Dashboard if necessary.
      4. Verify that you will see a search field called: Search.
      5. Type something into the search field.
      6. Verify that 1 second after you stop typing, the X (clear) button is shown.
        • (It's not important to measure if it was exactly 1 second. Just rely on your intuitive judgement)
      7. Press tab.
      8. Verify that the X (clear) button will be clearly focused.
      9. Verify that the search feature still works as normal.
      10. Press Enter.
      11. Verify that the search will be reset.
      12. Verify that the search field will be focused.
      Show
      Test copied from MDL-72650 with minor changes. Initial setup Create as many courses as you want. Create a student account and enrol on these courses. Create a choice activity with the close day is next 7 days in one course. Timeline Log in as a student. go to the Dashboard. Add Timeline block to the Dashboard if necessary. Verify that you will see a search field called: Search by activity or name. Type something into the search field. Verify that 1 second after you stop typing, the X (clear) button is shown. (It's not important to measure if it was exactly 1 second. Just rely on your intuitive judgement) Press tab. Verify  that the X (clear) button will be clearly focused. Press Enter. Verify  that the search will be reset. Verify  that the search field will be focused. Course overview Log in as a student account. Go to the Dashboard. Add Course overview block to the Dashboard if necessary. Verify that you will see a search field called: Search. Type something into the search field. Verify that 1 second after you stop typing, the X (clear) button is shown. (It's not important to measure if it was exactly 1 second. Just rely on your intuitive judgement) Press tab. Verify  that the X (clear) button will be clearly focused. Verify  that the search feature still works as normal. Press Enter. Verify  that the search will be reset. Verify  that the search field will be focused.
    • 1
    • HQ Team International CIH2-218

    Description

      The current debounce is 300ms which seems too short. It's better to rethink that and increase.

      Attachments

        Activity

          People

            rezaie9 Shamim Rezaie
            rezaie9 Shamim Rezaie
            Huong Nguyen Huong Nguyen
            Victor Déniz Falcón Victor Déniz Falcón
            Gladys Basiana Gladys Basiana
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              19/Apr/22

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m