During outbreaks of emerging diseases such as COVID-19, efficiently collecting, sharing, and integrating data is critical to scientific research. outbreak.info is a resource to aggregate all this information into a single location.
To improve the page load, we want to remove the curated lineages as the default condition if there's no pango parameter and force the user to request individual lineages instead. There are also a couple of bugs to fix at the same time.
Individual tasks:
Stop a default pango parameter from being set on page load if it's empty
Change the expansion panel to "change lineages" be open on page load
Add buttons to add the current CURATED variants as variants
Remove the sub parameter and the associated "include sublineages" checkbox option
Double check that refreshing a route loads the right parameters
In box 2 (WHO VOC/VOI sublineages), remove the "clear and add X lineages" button.
In boxes 2-5, don't trigger the route change/execution of the form, but just add the results to the selected lineages variable. The user will have to click "create report" to add them.
If there's other bugs/issues you see, please suggest changes!
Right now, on the page load, https://outbreak.info/compare-lineages loads the variants of concern to compare, which is a decently heavy query.
Goals:
To improve the page load, we want to remove the curated lineages as the default condition if there's no
pango
parameter and force the user to request individual lineages instead. There are also a couple of bugs to fix at the same time.Individual tasks:
pango
parameter from being set on page load if it's empty⬆️ these tasks have been completed (I think) on the compare-lineage-no-preload branch
Additional tasks:
sub
parameter and the associated "include sublineages" checkbox option