intermine / InterMine-Data-Browser-Tool

InterMine Data Browser: a tool for exploring semi-homogeneous biological datasets
http://data-browser.apps.intermine.org/
Other
7 stars 33 forks source link

Design doc #104

Closed JM-Mendez closed 4 years ago

JM-Mendez commented 4 years ago

Description

This is the first draft of the design doc. I've never had to write one up before, so I just went off the scant examples I found online.

Besides the packages for state management and accessibility, I didn't add any of the packages I might use. It felt like those were better suited to be addressed after the design doc approval? Not entirely sure here, but I kinda already know most of the ones I might use if you'd like me to list them somewhere.

JM-Mendez commented 4 years ago

@AdrianBZG @Nikhil-Vats @amand1996

In the doc I put that we'd have to hijack the DOM created by im-tables because it doesn't give us methods to control the rendering. I've been reading through that codebase and I found out how to retrieve just the results of the query. Then I would build out the table view myself.

I think this would be a great solution considering that the main logic of that library is in combining the results into a usable data structure to be rendered. Also, it currently makes a request on each change, so I don't believe building the view manually should cause problems.

I can submit a quick PR to that library since it's only a one-line change if you approve.