Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3371

Add global search to mobile app

XMLWordPrintable

    • Hide
      • This should be tested on an Android mobile device (phone) and an iPad
      • Please use the 4.3 demo site that has already global search enabled
      • Global search settings are in admin/settings.php?section=manageglobalsearch
      • Please notice that global search is only available in level 1 navigation (via the main menu at the bottom) and is not available at any other level

      Global search with default options

      1. Display results in separate categories not enabled
      2. Display search information not enabled
      3. Perform several searches in the LMS and the app and confirm that the same results are displayed
      4. The app supports infinite scrolling (it does not implement pagination)
      5. Confirm that after clicking a search result you are redirected to the proper page (a forum post, a course, etc...)
      6. Confirm that in the search bar, you see the history of previous searchs
      7. Confirm that you can disable the global search option in the app by using the specific Moodle setting but also using the Mobile app features -> Disabled features setting
      8. Filtering: confirm that you can use the available filters in the app (please notice that it won't mark exactly the same in the web version, they are limited to Search area category (a simplified version of the Search area filter in the LMS) and Courses (same as the LMS))

      Global search with top results and sections

      1. Display results in separate categories enabled
      2. Maximum top results set to 5
      3. Display search information enabled
      4. Confirm that you see the "Search information" text on top of the global search page in a consistent way with the web version
      5. Perform several searches and confirm that results are consistent but please notice that
        • In the app we do not differentiate top results and we do not use categorisation in tabs
        • We remove duplicated results (right now Moodle offers repeated results in top/results in categories) hence the infinite scroll wont' imply loading the next 10 results (it might be less than 10 if there were duplicates)

      Searchable courses settings section

      • Change the values of these settings to confirm that you do not receive courses you are not supposed to see as part of the search results

      Search areas settings admin/searchareas.php

      1. Disable all the search areas that are in the "User" category and confirm that
        • You do not see "Users" as a filter
      2. Disable all the search areas that are in the "Courses" category and confirm that
        • You do not see "Courses" as a filter
      3. Please notice that even when disabled those sections you could still see some Courses and Users results due to the indexing

      Global search block

      1. Go to a course with a "global search" block enabled.
      2. Open the side blocks, and make sure that you see a block saying "Global search" (this block has no functionality, it's just a button).
      3. Click the block and it should open the global search page.
      4. Open the filters, and make sure that the course from the previous page is the only one checked in the filters.
      5. Everything else should work the same (no need to test exhaustively, but make sure that filters work and such).

      Global search link handler

      1. Visit a page with a link to a search page (SITEURL/search/index.php, it can optionally include a "q=TEXT" parameter).
      2. Click the link, and it should open the global search page in the app.
      Show
      This should be tested on an Android mobile device (phone) and an iPad Please use the 4.3 demo site that has already global search enabled Global search settings are in admin/settings.php?section=manageglobalsearch Please notice that global search is only available in level 1 navigation (via the main menu at the bottom) and is not available at any other level Global search with default options Display results in separate categories not enabled Display search information not enabled Perform several searches in the LMS and the app and confirm that the same results are displayed The app supports infinite scrolling (it does not implement pagination) Confirm that after clicking a search result you are redirected to the proper page (a forum post, a course, etc...) Confirm that in the search bar, you see the history of previous searchs Confirm that you can disable the global search option in the app by using the specific Moodle setting but also using the Mobile app features -> Disabled features setting Filtering: confirm that you can use the available filters in the app (please notice that it won't mark exactly the same in the web version, they are limited to Search area category (a simplified version of the Search area filter in the LMS) and Courses (same as the LMS)) Global search with top results and sections Display results in separate categories enabled Maximum top results set to 5 Display search information enabled Confirm that you see the "Search information" text on top of the global search page in a consistent way with the web version Perform several searches and confirm that results are consistent but please notice that In the app we do not differentiate top results and we do not use categorisation in tabs We remove duplicated results (right now Moodle offers repeated results in top/results in categories) hence the infinite scroll wont' imply loading the next 10 results (it might be less than 10 if there were duplicates) Searchable courses settings section Change the values of these settings to confirm that you do not receive courses you are not supposed to see as part of the search results Search areas settings admin/searchareas.php Disable all the search areas that are in the "User" category and confirm that You do not see "Users" as a filter Disable all the search areas that are in the "Courses" category and confirm that You do not see "Courses" as a filter Please notice that even when disabled those sections you could still see some Courses and Users results due to the indexing Global search block Go to a course with a "global search" block enabled. Open the side blocks, and make sure that you see a block saying "Global search" (this block has no functionality, it's just a button). Click the block and it should open the global search page. Open the filters, and make sure that the course from the previous page is the only one checked in the filters. Everything else should work the same (no need to test exhaustively, but make sure that filters work and such). Global search link handler Visit a page with a link to a search page (SITEURL/search/index.php, it can optionally include a "q=TEXT" parameter). Click the link, and it should open the global search page in the app.
    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • Moodle Apps - 2023 Sprint i3.2, Moodle Apps - 2023 Sprint i3.3

      Global Search has been available in the LMS for a while, but is not supported in the app yet. The UI in the LMS has many filters and settings that may not be suitable for the app, so we’ll have to decide to which extent we support it.

      Specification document

            noeldemartin Noel De Martin
            ralfh Ralf Hilgenstock
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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