-
Notifications
You must be signed in to change notification settings - Fork 31
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 see validated cases in app #62
Conversation
Hi Nathan, sorry for only getting back to you now. This looks like a great start! It appears to work well for figures that were already validated before starting the Shiny app. Do you think it'd be easy to populate the |
Adding newly confirmed plots feels doable. I'll take a swing at it and get back. |
Hi Lionel, I took a look at this last night and it looks a little more complicated than I thought, but I think there is path forward. Right now the function I think if the reactive values object Do you think this is reasonable? |
This sounds reasonable. Perhaps another way is to maintain two lists of cases, one containing the validated cases and the other the pending cases. Would this be easier? |
I think I was making this harder than it needed to be. Re-classing instead of removing cases, seems to work. What's your opinion of doing it like this? |
Looks good! My only concern is that validating a case now switches the "Type:" dropdown menu to "Validated". Then you have to go back to "Mismatched" or "New" to continue validating other figures. I think the "Type" selection should not change. |
Great, I will make that update. |
That's awesome, thanks Nathan! @clauswilke will be happy :) |
Yes, I will! Thanks! |
A week later but here is my attempt for a fix #38, ready for critique.
Three points for clarification:
I kept your suggestion of using the label 'Validated' (in
input$type
) but wanted to double check because the other case types use the same label as the case class, i.e. switch label to 'Succeeded'I am unsure how to test this and have not written any new tests yet. Happy to build some, just wanted to get feedback first.
I put the JS code to disable buttons in www/toggle.js, is that the best location?