Open lukepereira opened 1 month ago
I think an initial query is the correct move, and the addition of a Clear Query
button which removes all filters quickly.
For the auto-add example, I've been using Eimeria
species, this makes sense as it pertains directly to what the virome documentatoin has been written to describe: i.e. https://github.com/serratus-bio/open-virome/wiki/Virome
This solves many issues with loading and data-points in complex queries. Also it shows people "interesting" data upfront.
When clearing query, we would have the same issues with our summary statistics views. Instead we probably want a welcome/landing screen.
The landing screen can include a logo, an action to open the filters, and the buttons to auto add example queries. Can be similar to this:
Currently users see a warning message to add filters and some rough summary statistics which don't work well for some of the original plots, e.g. displaying networks of the entire database.
Rayan suggested starting with an initial query which would solve this problem but would be annoying to clear every time .
Some options:
Auto-add example everytime and make it easier to clear all filters
Add a optional click action to the warning message to load an example if the user wants. i.e. "Dataset is too large. [Add filters] in the query builder or [load an example]."
Use local storage to only auto-add a query for first time users, otherwise don't add the example