IGS/gEAR

Write v2 widget to save genes as gene cart

Closed this issue · 2 comments

This applies to the compare tool and multigene curator. Some of this is figuring out where to put this. I don't want to make the left panel too cluttered. So what I may do is have some "table" icon at the bottom of the plot panel, which opens up a modal showing the weighted genes + table and saving options

Currently writing this as part of the multigene curator page for now. When we add other pages, like the compare tool, then I can extract this code into reusable content.

Also as part of this, I have "un-jquery'ed" the genecart.js page. It's worth noting that I am using axios.js for the server-side calls instead of the standard "fetch" function for its readability and ease of coding. So any page that imports genecart.js (or common.js) will need to import axios (though there's a good chance they already will for page-centric functionality)

This has been committed and works for the compare tool and multigene curator tool.