focalboard icon indicating copy to clipboard operation
focalboard copied to clipboard

Bug: Searching boards does not return all items

Open nab-77 opened this issue 1 year ago • 3 comments

Steps to reproduce the behavior

  1. Use the search box Find Boards
  2. Type in your board name
  3. Review list
  4. Note the board you are searching for is missing

Expected behavior

Based on your search input the list would be complete, including the board you are searching for.

Screenshots (optional)

Edition and Platform

  • Edition: community.mattermost.com
  • Version: Boards v7.2.0
  • Browser and OS: Chrome on macOS & Desktop App on macOS.

nab-77 avatar Aug 04 '22 17:08 nab-77

@nab-77 Is this happening for single word searches or when you start using multiple words in your search term? cc @sbishel @chenilim

wuwinson avatar Aug 04 '22 21:08 wuwinson

I'm encountering this pretty frequently whenever I enter a 2nd word into my search term from both the Link Board modal and the Share modal.

https://user-images.githubusercontent.com/93531870/183123429-48269715-5a02-472a-918d-1527b5c1d510.mov

wuwinson avatar Aug 05 '22 16:08 wuwinson

Its on a single word for me. I am looking for Product Journey Team board. Screenshot 2022-08-04 at 15 13 27

nab-77 avatar Aug 05 '22 20:08 nab-77

@wuwinson what you are showing in the demo video is because when you search for multiple words, we don't look for them occurring together, but rather anything that matches either word. For example, if you search for "hello world", you'd get everything containing just "hello", and just "world" rather than things containing "hello world" together. From your video I can see this isn't the ideal experience but so it always searching for the two terms together.

I remember implementing this way thinking if you wanna open the Focalboard OKR board and search for "Focalboard OKR", and the board is named "Focalboard Q4 OKR", you won't get any results. I can see from the video that either approach isn't ideal.

harshilsharma63 avatar Aug 08 '22 10:08 harshilsharma63

@nab-77 can you tell which channel was that board in and which team?

harshilsharma63 avatar Aug 08 '22 10:08 harshilsharma63

Need to file separate bugs for these 3 search bugs.

wuwinson avatar Aug 08 '22 19:08 wuwinson

@nab-77 can you tell which channel was that board in and which team?

I was searching for Product Journey Team Meeting Agenda board, in the Product Journey Team channel (it does show as a linked board in the RHS).

nab-77 avatar Aug 08 '22 20:08 nab-77

@nab-77 The board switcher only searches for the board name, not the channel name. Is your board titled "Product Journey Team Meeting Agenda" or is it titled "Meeting Agenda" on the Product Journey Team channel? If it's the latter, then you'd need to search for the term "Meeting Agenda".

wuwinson avatar Aug 09 '22 01:08 wuwinson

Board name is Meeting Agenda. So using those search terms I get multiple boards in the results and I am unable to see which is the one I am looking for.

I did used to enter "Product" in the search box and see the item.

nab-77 avatar Aug 09 '22 08:08 nab-77

As a follow up I renamed the board to "Product Journey Team Meeting Agenda" and when entering I still get no results.

nab-77 avatar Aug 09 '22 15:08 nab-77

Thanks for following up Neil! We're looking to address this bug in the following ways:

  1. Switch the search with multiple words from an "OR" to an "AND" search, which would narrow down the results and be consistent with how the channel switcher works.
  2. Display your custom categories in the search results, so it's easier to find your board that uses the same name as other boards.

When you renamed the board to "Product Journey Team Meeting Agenda" the search results should be displaying boards the have ANY of those 5 words. Are you getting no results or too many? If it's no results, then that might be another issue we'll have to investigate. cc @sbishel

wuwinson avatar Aug 09 '22 16:08 wuwinson

I get results just not the board I am searching for.

"Product" > results do not contain what i am looking for "Product Journey" > results do not contain what i am looking and does not expand the list of results "Product Journey Team" > results do not contain what i am looking for but does expand the list of results "Product Journey Team Meeting" > results do not contain what i am looking for but does expand the list of results further "Product Journey Team Meeting Agenda" > results do not contain what i am looking for but expands the list of results even further

Seems like we are currently doing an OR search as with the last search "Meeting Agenda" board in the list of results.

Sadly I never see the board I am searching for.

nab-77 avatar Aug 09 '22 17:08 nab-77