HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Improve search by tag #1272

Open olibclarke opened 5 years ago

olibclarke commented 5 years ago

Hi @ylian,

Currently, one can search for a tag using # in the full text search bar, but it only works if you type the full, correct tag, which is not very helpful if you have a lot of tags and cannot remember the full exact tag (e.g. was it "processing" or "data_processing"?). I suggest two possibilities for improvement:

  1. Allow full text search to search tags as well, so if I start typing "process.." both the "processing" and "data_processing" tags would appear as search results (distinguished by the blue-bubble tag formatting), where clicking them would take the user to all notes with that tag.

  2. Alternatively, keep the current behavior (with regards to #), but suggest tags as the user types, based on whether the current string is a substring of any existing tags.

Cheers Oli

lilyball commented 5 years ago

I think full-text search should surface tags that match, but should also go ahead and match any notes with the matching tags. So if I type "process" any notes that have the processing or data_processing tags should show up in the results.