EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
96 stars 40 forks source link

new feature request: enable search in specific ontology and all ontologies on same page #454

Open nicolevasilevsky opened 3 years ago

nicolevasilevsky commented 3 years ago

If I am on a page for a specific ontology term, there is search box for search [specific ontology], which sometimes I want to do, but sometimes I want to search all ontologies, in which case, I need to go back to the home page.

It would be super cool if there was a way to do both from the same page without having to go back.

If I was on a page such as this, could there be two search bars?

image

or maybe a toggle button? image

cmungall commented 3 years ago

yeh I often end up having to do the back button thing

I feel two search boxes are awkward. I like Having one, but having a clear filter that is set with an "x" next to it that can remove the filter

nicolevasilevsky commented 3 years ago

I love the idea of a removable filter, @cmungall, good idea.

henrietteharmse commented 3 years ago

Hi Nicole & Chris,

Thank you for your suggestions. We will certainly consider this.

I have a question. Why not have 2 tabs open for OLS? One for searching all ontologies and one for searching a specific ontology. I find this useful because I can have the 2 instances open side by side in 2 separate windows.

nicolevasilevsky commented 3 years ago

Good point, that would be a workaround. It would still be ideal to have the ability to search on a specific and all ontologies on the same page though. :) I like the idea of turning on/off a filter that Chris suggested.

jseager7 commented 3 years ago

I also support this, as I usually expect the search box to search all ontologies rather than the one I'm currently browsing.

Another suggestion is to have two search buttons, one which retains the default behaviour of searching the current ontology, and another that searches all ontologies:

image

You could have these as different colours to help users distinguish them:

image

That means users wouldn't have to keep toggling the filter if the setting isn't remembered between visits or across different ontology pages.

nicolevasilevsky commented 3 years ago

Fantastic idea @jseager7!