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

Use search_input_auto for Course overview and Timeline block

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.10, 3.10.7, 3.11.3, 4.0
    • 4.0
    • Blocks
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72650-master
    • Hide

      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 the X (clear) button will be shown.
      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 the X (clear) button will be shown.
      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
      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 the X (clear) button will be shown. 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 the X (clear) button will be shown. 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.
    • 0
    • HQ Team International Sprin 10, HQ Team International CI H2-21, HQ Team International CIH2-212

    Description

      In MDL-72295, we modified the Search element to make the focus and outline look better.

      It would be good to make a similar change for the Search element in the Course overview block.

      Current UI of Course overview block:

      UI of the Search element in MDL-72295:

      Attachments

        1. before-after.png
          6 kB
          Shamim Rezaie
        2. image-2021-09-23-09-56-42-498.png
          8 kB
          Huong Nguyen
        3. image-2021-09-23-09-57-00-238.png
          4 kB
          Huong Nguyen
        4. MDL-72650_Test Passed.png
          56 kB
          Gladys Basiana

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              huongn@moodle.com Huong Nguyen
              Dongsheng Cai Dongsheng Cai
              Jun Pataleta Jun Pataleta
              Gladys Basiana Gladys Basiana
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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