Open ppavlidis opened 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.
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?
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.
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:
This way we can generate links from the main Gemma website to perform a specific search on GemBrow.
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.
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.
I think @libby-natola can handle the following:
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.