Jeremy Wildfire

Results 52 comments of Jeremy Wildfire

This would be tricky to support in the JS repo, but would be an excellent addition to the r pacakge

Definitely add type, but not sure what additional metadata can be added.

There are a few steps to figure out. 1) Once the files tab is drawn server.R add the buttons to the tab (this isn't done by the javascript library) 2)...

A few (possibly) helpful links: - https://groups.google.com/d/msg/shiny-discuss/cs8qx3Ato0I/pvXlSXjgDwAJ - https://shiny.rstudio.com/articles/html-ui.html

Pretty sure we want to use [`observeEvent()`](http://shiny.rstudio.com/reference/shiny/latest/observeEvent.html) for these. This example is close, but we need to trigger on a custom js from codebook.js ("renderComplete" or whatever we choose to...

[This](https://github.com/daattali/advanced-shiny/tree/master/api-ajax) 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](https://shiny.rstudio.com/articles/execution-scheduling.html) 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: ``` Sys.sleep(1) insertUI( selector="div.explorer div.instructions.section", where="beforeEnd", ui=fileInput('datafile','Upload a file',accept...

One is basically good to go. Going to create separate issues for part 2 below: 1. Once the files tab is drawn server.R add the buttons to the tab (this...

Alas, bumping from v0.2.0. `Sys.sleep()` didn't play nice with interactivity. Seems like we probably need to use a more typical javascript event workflow to do this. Will tackle in a...