-
Notifications
You must be signed in to change notification settings - Fork 9
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 Inputs for loading additional data on the "files" tab #4
Comments
There are a few steps to figure out.
|
A few (possibly) helpful links: |
Pretty sure we want to use
EDIT: No longer convinced observeEvent() is the way to go. Not clear to me if you can trigger this based on an output changing state, or if it has to be an input. Not able to find an example where this triggers on an arbitrary js event (although seems like it should be doable ...) |
This looks like a good option for js -> R -> js rendering. Can be used to trigger an update in the files table once a new file is added. |
And this might be the way to add content after the initial loads. Can be used to add the file upload buttons after the explorer Shiny output is validated. |
Simple implementation of part #1 ("Once the files tab is drawn server.R adds the buttons to the tab") done like so:
Need to add in some of bootstrap's CSS to make it look decent and would be better to trigger on a call back, but all things considered, waiting for a second works reasonably well ... |
One is basically good to go. Going to create separate issues for part 2 below:
|
Alas, bumping from v0.2.0. |
Add inputs to the
.instructions
section of the files tab that allow users to add files to the codebook.Files
tabFiles Tab
The text was updated successfully, but these errors were encountered: