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

Search: Highlight texts that match searched text

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Please test on both the Clean and the Boost theme.

      Test message and user searching

      1. Log in as admin
      2. Create user with a name  "John Snow" and a user with name "Martha Smith"
      3. Send John a message
      4. Send Martha Smith a message
      5. Navigate back to the main messaging window
      6. Search for words used in the messages
      7. Verify the search word is highlighted in the search results
      8. Search for user John Snow using the full name or only a part of the name
      9. Verify the username is highlighted in the search results

      Test highlighting after load more messages / users

      1. Log in as admin
      2. Send John Snow 60 very short messages with text "ee"
      3. Navigate back to the main messaging window
      4. Search for the words "ee"
      5. Verify you see a load more link when scrolling down the message results
      6. Verify that after clicking the load more link the remainder results are highlighted as well.

       

       

      Show
      Please test on both the Clean and the Boost theme. Test message and user searching Log in as admin Create user with a name  "John Snow" and a user with name "Martha Smith" Send John a message Send Martha Smith a message Navigate back to the main messaging window Search for words used in the messages Verify the search word is highlighted in the search results Search for user John Snow using the full name or only a part of the name Verify the username is highlighted in the search results Test highlighting after load more messages / users Log in as admin Send John Snow 60 very short messages with text "ee" Navigate back to the main messaging window Search for the words "ee" Verify  you see a load more link when scrolling down the message results Verify that after clicking the load more link the remainder results are highlighted as well.    
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
    • Pull Master Branch:
      MDL-64137-master

      Description

      Highlight texts that match searched text

        Attachments

        1. highlighted text.png
          143 kB
          Barbara Ramiro
        2. image-2019-04-22-08-48-22-932.png
          300 kB
          Janelle Barcega
        3. match text.png
          75 kB
          Bas Brands
        4. messages_highlighsearch2.png
          43 kB
          Sara Arjona (@sarjona)

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 37 minutes
                  6h 37m