New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to generate and view reports for any run. #716
Conversation
Codecov Report
@@ Coverage Diff @@
## master #716 +/- ##
=======================================
Coverage 85.66% 85.66%
=======================================
Files 66 66
Lines 2936 2936
=======================================
Hits 2515 2515
Misses 421 421 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I actually think it looks pretty good!
- One issue is when I closed tabs using the browser, leftover tabs remained:
-
It would be nice if it took a bit less space at the top, especially for smaller screens... I wonder if we could stick it somewhere below, or hide behind a pop up / modal?
Would it be possible to this element into into a modal that pops up if you click a tab with a + icon on it? -
Maybe we should spit a warning out / confirmation dialog if more than 4 reports are requested?
There's a few things we could sort to make things look nicer.
Let's always sort by Subject, Session (if any, currently there are none), then Run.
- Let's sort by this order in the string formatted representation of the runs
- Sort the order of the runs in the drop down
- Finally, let's request the first run in this sorted order. E.g. Subject 1, run 1. Rather that what were doing now which is requesting the first run, with the lowest ID. Which is sort of a random order.
Otherwise looks good, and performance looks like not a problem. I have it set on the server right now so maybe @rbroc can also give her feedback
Here's a fun state related bug I found. When I go to an already compiled analysis, it lands on the Review tab. This tab is blank when you first land on it. Try it here: https://neuroscout.org/builder/MNW3V But if I go to "Status" then back to "Review" it loads properly... |
Format looks awesome, just a couple of points:
|
Latest push should address
|
Awesome, just tested your latest commit and I think almost everything is addressed (including showing all the runs, and filtering based on the runs selected in the first tab). I think the only remaining concerns are:
Otherwise, LGTM! |
Added link to download design matrix as a png. This png is being done when the design matrix component is loaded. We can push this generation off to when the download link is clicked if this is a performance issue but it will take some work ( think we need to generate png, make anchor tag, add it to dom, use reference to anchor to call its click() function.) |
Oh, sorry Ross. Miscommunication, I meant a link to download the .tsv design matrix. I think you can already download thos einteractive plots by hovering over the |
The tsv is available as the key |
Ah good I'll revert the changes. Knew about the menu in vega embed, but figured we might want it more explicit? Any way downloading tsv much better. |
Otherwise, LGTM! |
Try that latest fix commit, I tried zooming out on my low res monitor and couldn't get it to float to the side. |
That fixed it, merging! |
Fixes #533 #686
Currently no warning on number of runs selected. @adelavega any idea at what number we might want to warn at?
This also assumes that the api returns run plots in the same order that front end asks for them.