PavlidisLab / GemBrow

The Gemma Browser
Apache License 2.0
4 stars 1 forks source link

Web site features for GemBrow #27

Open ppavlidis opened 1 year ago

ppavlidis commented 1 year ago

Jotting down some required features/improvements/tasks

n.b.: GemBrow is just an internal name!

Reiterating the two big use cases:

These have to motivate our development approach.

arteymix commented 1 year ago

I've added a debounce of 1 second when the user is actively typing and removed the check for pending requests. We might have a few queued requests, but it's not perceivable since the site is reply quickly.

arteymix commented 1 year ago

Terms are sorted by entropy (the closest they are to split 50:50 the total number of datasets, the best) and category by taking the term with maximal entropy. Terms that are selected always appear first.

If not using the best term, what should be the ordering? A predefined one? or alphabetic?

ppavlidis commented 1 year ago

Terms are sorted by entropy (the closest they are to split 50:50 the total number of datasets, the best) and category by taking the term with maximal entropy. Terms that are selected always appear first.

If not using the best term, what should be the ordering? A predefined one? or alphabetic?

Are you referring to the "The ordering of categories should be kept constant" point?

I would suggest a fixed ordering. We can debate what ordering is most aesthetically pleasing but that's what it comes down to.

A heuristic would be to go off how many relevant datasets we have for each category in total - not for the current query/filter, but in Gemma. So Disease might be first, OrganismPart second or whatever. My intuition is that will align with what people are most likely to be looking for on average.

arteymix commented 1 year ago

Ok, that might require some kind of configuration for the default order of categories.

For Gemma integration, the Vue router can pass parameter from the URL fragment to the browser:

image

This way we can generate links from the main Gemma website to perform a specific search on GemBrow.

ppavlidis commented 1 year ago

Having a search field elsewhere on the site that goes to the browser would be nice, but minimally we just need links to the browser, and the browser should have the same or at least similar chrome (header, footer ... menus? etc) as the rest of the site. That's what I mean by integration. Of course I don't mean to make that into a major job.

arteymix commented 1 year ago

The number of entries shown for each category seems limited right now? The smallest count is 50. We should just show "everything" (until performance becomes an issue)

Past 2000 terms, it's challenging to handle from the browser because of the rendering. We might need some kind of lazy-loading strategy to query sub-trees.

Experiment table: show status and presence of DEA like on the old browser. Possibly allow filtering by this.

I'll see if this is covered by the filters. From what I recall, this is filled in the detailed EE VO.

arteymix commented 1 year ago

I think @libby-natola can handle the following: