pi-base / viewer

Web UI for the π-Base
https://topology.pi-base.org
MIT License
9 stars 3 forks source link

Omnisearch #54

Open jamesdabbs opened 4 years ago

jamesdabbs commented 4 years ago

It would be nice to have a unified search experience that

StevenClontz commented 4 years ago

So I've always envisioned a "Search by Tag" kind of interface. I feel like I've used this in an app before but cannot find anything like it with a quick Google search.

Basically, users type into the search box, and suggested Properties show up below the box that users can toggle to filter the search by that property (or its negation). Adding the tag removes the text from the searchbox so users can type out another property, or filter by title instead. So basically the current contents of the search box are always filtering by title, but the tags allow for searching by properties.

I think this might be better UX than making users learn a syntax with commas, tildes, etc., although more thought needs to be made with making sure it's natural on desktop and mobile. It's something I'd like to build when I have the bandwidth.