-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitecore search #450
Sitecore search #450
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not do exhaustive testing, but I tried to grab the most common places where search things fall over:
✅ TEST 1: Search for newsletter 'January'
- Navigate to Newsletter archive (/newsletter)
- In the search box at the top, type 'January' and press enter key
- Filter by Developer Portal with Site Name
EXPECTED RESULT: January newsletters are top result
ACTUAL: As expected.
✅ TEST 2: UNCHECK Filter
- From search results page, uncheck the Site Name filter for Developer Portal
EXPECTED RESULT: All matches that were previously shown should now be shown. Checkbox should appear unchecked
ACTUAL: As expected.
✅ TEST 3: Change sorting
- Change sorting on right side drop-down from 'Suggested' to 'Title ASC'
- Change sorting back to Suggested
- Change sorting to 'Title DESC'
- Change sorting to 'Title ASC'
EXPECTED RESULT: As the sorting is changed, the results should reorder to be ordered in the requested format. The selected sort option should remain selected.
ACTUAL: As expected
✅ TEST 4: Click on result
- For any result, click on the entry
EXPECTED RESULT: Sent to the appropriate result page.
ACTUAL: As expected
⚠ TEST 5: Invalid search
- In the search box, type an invalid keyword like 'januaryxdb' and press Enter key
EXPECTED RESULT: Message about no results should be displayed. Should not be able to navigate between pages. Filters should have no counts on them.
ACTUAL: Expected does occur for navigation and filters, but there is no message displayed about the lack of results and a strange '0' is shown on the screen where the "Showing [x] to [y]" results are supposed to be displayed.
✅ TEST 6: Filter by product
- In the search box, type in 'personalization' and press Enter key
- Go to the product filter and choose one option
- Clear the first option
- Go to the product filter and choose a second option
- Clear the second option
EXPECTED RESULT: After every product selection is made, the filter should remember the selection. The results should update to only show results matching that product
ACTUAL: As expected, but it seems like there are only a few products available? I expected to see Personalize when searching for personalization. Are we not able to do something with the docs site where we infer the product from the slug?
✅ TEST 7: Navigation of results for lower page numbers
- Select the arrow to jump to the next page
- Select one of the page numbers displayed in the first (lower) block
- Select the arrow to jump to the previous page
- Refresh the search to be on page 1.
- Press the '5' link to go to the 5th page
- Press the right arrow to go to the next page '6'
EXPECTED: Arrows should navigate the user to the next/previous page of results. The 'current' page should be displayed in a different colour. Jumping directly to a page should show that page of results. Navigating beyond the first block of numbers should display the next block of numbers.
ACTUAL: As expected. Although, it seems odd that it shows first/last when in the early blocks of numbers, but only the middle block of numbers once you leave that block (i.e. go to page 6). I think this is probably the best we can do, it just seemed to change UX for some unknown reason.
❌ TEST 8: Navigation of results for higher page numbers
- Search for 'personalization'.
- Select one of the numbers in the higher block (not the last)
- Navigate to the next page
- Navigate to the previous page
- Select the very last page numbers
EXPECTED: Arrows should navigate the user to the next/previous page of results. The 'current' page should be displayed in a different colour. Jumping directly to a page should show that page of results. Navigating to the last page should show the final results.
ACTUAL: Navigation mostly functions, but very last page (417) displays no results and breaks the pagination. Displays the same as when there are no results.
❌ TEST 9: Special character search
- Enter in '#$%?' as the search term
EXPECTED: No results, no errors, querystring is encoded
ACTUAL: Querystring does not encode the characters.
✅ TEST 10: Darkmode
- From the first search results page, toggle dark mode on
- Toggle dark mode off
- Toggle dark mode on again
- Navigate to another page of results.
EXPECTED: Display mode should adjust as requested by the user. It should persist through navigation
ACTUAL: As expected
⚠ TEST 11: Suggested terms
- Type 'xdb' into the search bar but do not press enter
- Click on a suggested result
- Click on a suggested term
EXPECTED: Suggested results should display. Clicking on a result should navigate to that page. Clicking on a suggested term should run a search with that term.
ACTUAL: Mostly as expected, but clicking on a suggested term only changes the top results. It does not run the search.
✅ Test 5: Fixed |
The suggested results in the top search bar only show a few items. I expected that if I clicked on one of the suggested terms it would somehow allow me to run that search so I could see all the results for that term combination. For example, after typing in 'xdb' one of the suggested terms is 'xdb migration'. Clicking on it shows me a few results on the right-side, but there's no way for me to trigger that to be my search. I thought this was supposed to help with auto-completion of your search terms so you could run that search. I might be completely missing the point of what is happening in the search bar, though. |
Verified these two fixes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor issues left but no blockers for me
Right, I get you now. This was also raised in the MVP feedback and is currently tracked in open issue #448 |
As discussed with Test 8, i've changd the UX for the pagination to remove the shortcut to the last page. I think that fixes everything raised and we can iterate on the rest after launch. Are we good to merge now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Let's merge!
Integration of Sitecore Search and removal of Coveo
Types of changes
/data
directory or other markdown files)Checklist:
/public/images
folder that need to be migrated to Sitecore DAMCloses #432