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

Implement search functionality for the content bank

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68483-master
    • Hide

      Requirements

      • Test with all supported browsers.
      • Test with boost and classic.

      Setup

      1. Create a course  (C1) and enrol a teacher.
      2. Log in as a teacher.
      3. Go to the course C1.
      4. Access to the "Content bank".
      5. Click on the Upload button.
      6. Upload "chart.h5p" file and 'Save changes'.
      7. Click on the Upload button.
      8. Upload "chart.h5p" file, save it as "NewChart.h5p"  and 'Save changes'.
      9. Upload "chart.h5p" file, save it as "file.h5p"  and 'Save changes'.

      Testing scenario: Search

      1. Log in as a teacher.
      2. Go to the course C1 and access to the "Content bank".
      3. Check 3 contents are displayed alphabetically (chart.h5p, file.h5p and NewChart.h5p).
      4. Check the search box is displayed.
      5. Write "chart" into the search box.
      6. Check the search icon has been replaced by a cancel icon.
      7. Check the text "2 items found" is displayed.
      8. Check the file.h5p file is not displayed.
      9. Check the text "chart" is highlighted, respecting upper/lower case.
      10. Click the clear button.
      11. Check the "x items found" text is replaced again by the folder icon.
      12. Check all the contents are displayed again.

       

      Show
      Requirements Test with all supported browsers. Test with boost and classic. Setup Create a course  (C1) and enrol a teacher. Log in as a teacher. Go to the course C1. Access to the "Content bank". Click on the Upload button. Upload "chart.h5p" file and 'Save changes'. Click on the Upload button. Upload "chart.h5p" file, save it as "NewChart.h5p"  and 'Save changes'. Upload "chart.h5p" file, save it as "file.h5p"  and 'Save changes'. Testing scenario: Search Log in as a teacher. Go to the course C1 and access to the "Content bank". Check 3 contents are displayed alphabetically (chart.h5p, file.h5p and NewChart.h5p). Check the search box is displayed. Write "chart" into the search box. Check the search icon has been replaced by a cancel icon. Check the text "2 items found" is displayed. Check the file.h5p file is not displayed. Check the text "chart" is highlighted, respecting upper/lower case. Click the clear button. Check the "x items found" text is replaced again by the folder icon. Check all the contents are displayed again.  

      As an instructional designer
      I want to be able to search in the content bank by content's name
      So that I can find the content I need

      Acceptance criteria:

      • Be able to search content by name in the content bank
      • Be able to go back to see all content in the content bank

      List of tasks:

      • Design and implement search results view
      • Design and implement a way to go back to 'see all' view

      Prototype: 

       

        1. chart.h5p
          107 kB
        2. MDL-68483.jpg
          MDL-68483.jpg
          47 kB

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Ferran Recio Ferran Recio
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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