hodcroftlab / covariants

Real-time updates and information about key SARS-CoV-2 variants, plus the scripts that generate this information.

Home Page:https://covariants.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sort countries alphabetically on cases page

yuval-harpaz opened this issue · comments

Please sort the charts of countries' cases by alphabetical order, or make a "sort" button to do that. It takes time to browse for my country, I end up using ctrl+f. Thanks
This page

Hello @yuval-harpaz ! Is anyone working on this issue? If not, I'd love to :)

Hi @dcordoba97 - I don't think anyone is actively working on this, but there was a previous PR that would be worth looking over!

One thing worth noting is that we'd need a button or slider somewhere on relevant pages (Per Country, Per Variant, Cases) to allow sorting by either number of sequences (default) or alphabetical (on choice), so that users can select which they prefer! (Rather than just switching all sorting to alphabetical, as the other PR did.)

With a note to the issue about the fact that the sorting on the Cases page didn't seem to be strictly by sequence counts - it would be fine to implement something that makes this work as intended, rather than however it currently is!

I think this would be a great feature if you are able to work on it!

Sounds interesting! Thanks for the guidance!