IGS/gEAR

Replace nice-select2 gene search dropdowns with simple autocomplete

Closed this issue · 1 comments

The nice-select2 box is functional right now, though with some hacky "onchange" code set up to sync up gene select boxes from pre-plot and post-plot view in the dataset curator. However, it is slow to render the typical number of genes in our datasets, and this is visible when the whole page freezes up.

I think what should be acceptable is a simple autocomplete box, and I found one at https://tarekraafat.github.io/autoComplete.js/#/ that should handle our needs. We just need to let the user search and select the gene, and in the case of the multigene curator or compare tool, we move code that shows number of genes selected outside of the "gene select" box into another area (probably were the gene tags are located).

As we want to freeze our "ui-v2" branch for the upcoming ARO conference in early February, I plan on creating a new branch for this work.

Did this for the gene selections. Did not do this for the plotType and analysis nice-select2 elements, though I have no problems with doing so... it just "pretty-fies" the select element.