Sage-Bionetworks / projectLive_NF

Live view of projects of funding partners
2 stars 3 forks source link

make study table filterable #98

Closed allaway closed 3 years ago

allaway commented 3 years ago

I was using the app today to try and evaluate cNF initiative projects but it was a little difficult. It would be helpful to have the ability to filter some of the study table columns. The reactable table library is really good for this!

jaybee84 commented 3 years ago

Are you trying to filter the study table in the "Participating Studies" module?

The search bar on top should let you filter the studies, but currently we dont have the "initiative" column included in the table so finding studies by initiative is not possible right now in that study table.. we are working on including that column.

However, you can filter by initiative on the "snapshot" module to check which studies are part of the initiative.

allaway commented 3 years ago

Yep, I filed #97 first because that blocks this.

I think that typing in the search is an OK way to enable filtering, but it's easier to understand what data exist to search from if you have a dropdown of options (https://nf.synapse.org/Explore/Files click table filter icons as an example).

I actually thought that reactable supported this, but looking into it a bit more, I'm not sure it actually does. All that being said, I think that having some sort of facets might be a nice feature to help users filter on these tables.