Closed reimand0 closed 5 years ago
I made tables with uploaded mutations sortable.
The default action is not to sort as for bigger datasets and slower machines it could render the page unresponsive for some time; instead a button for sorting with the proposed criteria is exposed to the user:
As an alternative, we could perform the multi-sort server-side, during the search itself, possibly using heap sort so the whole procedure should be quite effective; the only drawback is that it will add some additional complexity to the code. Even if we perform the first (default) sort on the server-side, the "sort" button will be useful to allow user to revert to default order.
Here is how it look now:
Please let me know what do you think and if any improvements are needed.
Closing for now, please feel free to reopen if any improvement is needed.
We should be able to sort mutations in the table of uploaded mutations. I think the best default view would be by gene/isoform/protein_position so that adjacent mutations would show up close to one another.