Joe Cheng
c14a382b90
wip
2018-02-09 11:12:45 -08:00
Joe Cheng
39d3784b9b
async support for renderDataTable
2018-02-09 11:12:45 -08:00
Joe Cheng
7d29df58f1
Support same-tick execution for synchronous outputs
2018-02-09 11:12:45 -08:00
Joe Cheng
05aa413683
promises::finally() was missing namespace prefix
2018-02-09 11:12:45 -08:00
Joe Cheng
132f90f45b
Support promise domain wrapSync; fix renderPrint visibility
...
Also introduce promise_chain and hybrid_chain, for assembling chains of
operations without involving magrittr-style operators
2018-02-09 11:12:45 -08:00
Joe Cheng
2602dc15b0
Changes to flush cycle to support async
...
- Moved (in|de)crementBusyCount calls out of Context and into Observer
- decrementBusyCount is (effectively) deferred for async observers until
the async operation is complete
- invalidateLater didn't force(session), almost certainly was buggy
- invalidateLater, reactiveTimer, and manageInputs all now use a new
session$cycleStartAction, which delays their effect until observers
(including async ones) are done executing
2018-02-09 11:12:45 -08:00
Joe Cheng
2314f63424
Fix broken .shiny__stdout mechanism
2018-02-09 11:12:45 -08:00
Joe Cheng
f7e4702685
Restore writing of _n_flushReact and _x_flushReact to stdout
2018-02-09 11:12:45 -08:00
Joe Cheng
71682512c4
Refactor flush cycle
2018-02-09 11:12:45 -08:00
Joe Cheng
20b82fbf77
Cleanup R CMD check
2018-02-09 11:12:45 -08:00
Joe Cheng
47bef0f1b0
Remove extraneous debugging code
2018-02-09 11:12:45 -08:00
Joe Cheng
c1dc662a40
"promise" package was renamed to "promises"
2018-02-09 11:12:45 -08:00
Joe Cheng
9063133a7b
Fix various rendering bugs
2018-02-09 11:12:45 -08:00
Joe Cheng
3fbb436187
Add call_async temporarily; this should probably live somewhere else
2018-02-09 11:12:45 -08:00
Joe Cheng
7c845d070b
Sync to changes in promise. run_now aggressively in serviceApp.
2018-02-09 11:12:45 -08:00
Joe Cheng
5e905aa73e
Implement execOnResize
2018-02-09 11:12:45 -08:00
Joe Cheng
e15654f265
Minor renderPlot cleanup
2018-02-09 11:12:45 -08:00
Joe Cheng
c037e69793
Fix ggplot brushing
2018-02-09 11:12:45 -08:00
Joe Cheng
8c935ff44e
Use proper promise:: prefix
2018-02-09 11:12:45 -08:00
Joe Cheng
74bf8b0554
renderPlots works!!! Testing needed.
2018-02-09 11:12:45 -08:00
Joe Cheng
6345972efe
Adapt promise domains to handle multiple arguments
2018-02-09 11:11:35 -08:00
Joe Cheng
16242e87a1
Some steps toward renderPlot working. Move to promise package instead of system2.5.
2018-02-09 11:11:34 -08:00
Joe Cheng
8155320ba5
wip
2018-02-09 11:09:28 -08:00
Dmitriy Selivanov
7b72209277
fixes #1859 ( #1861 )
...
* style & formatting. fixes #1859
* prepare `choices` in `updateSelectizeInput()` as per discussion in #1861
* remove duplicated block in selectizeJSON, simply `lab` assignement logic
2018-01-29 13:41:30 -06:00
Winston Chang
213ee7be13
Quote arguments to do.call() for nicer stack traces. Closes #1851
2017-09-26 14:36:19 -05:00
Barbara Borges Ribeiro
53e47484e2
reverted the relative positioning of the icon and the title text in navbarMenus and tabPanels back to what it was before Shiny 1.0.5 ( fixes #1840 )
2017-09-12 12:16:06 +01:00
Winston Chang
dc18b20e5a
Don't copy httpuv::decodeURIComponent at build time
2017-09-07 21:31:32 -05:00
Winston Chang
4fa2af72cc
Avoid port 6697. Closes #1784
2017-08-28 16:40:51 -05:00
Joe Cheng
c2b3c3379d
Fix #1824 : HEAD request on static files causes app to stop ( #1825 )
...
* Fix #1824 : HEAD request on static files causes app to stop
The problem was that for HEAD requests specifically, we implement
an explicit Content-Length header (normally we let httpuv figure
out the Content-Length based on the content, but for HEAD we don't
return any content but still want to include the Content-Length).
The Content-Length header was only implemented correctly for string
values, not for raw vectors or file-by-path. This change implements
the value correctly for all currently valid httpuv content.
* Update NEWS
* Code review feedback
2017-08-23 13:01:22 -05:00
Winston Chang
e30fac02ed
Add safe wrapper for fromJSON
2017-08-21 19:55:48 -05:00
Winston Chang
fc32c2c944
Clarify that choices must be strings
2017-08-18 11:48:41 -05:00
Barbara Borges Ribeiro
b02eb11345
do inputId <- session$ns(inputId) in user facing functions for module functionality (rather than overriding the same functions in makeScope)
2017-08-04 18:02:43 +01:00
Barbara Borges Ribeiro
ed3ba303bc
Joe's feedback
2017-08-04 17:56:58 +01:00
Barbara Borges Ribeiro
494627c6e1
make this PR work for modules
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
82ac112dec
added select argument to showTab function
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
40cfff33ff
for dynamic tabs, send message on session$onFlush (instead of session$onFlushed)
2017-08-04 15:10:08 +01:00
Joe Cheng
dde7b144f0
Add select=FALSE argument to insert/append/prependTab
2017-08-04 15:10:08 +01:00
Joe Cheng
f1873a014c
Make tab prepend/append just edge cases of insert
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
10f3320165
more JS code refactoring; improved documentation
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
d57aa33b40
insertion fully implemented
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
0e7c78bae3
refactored code and made insertion of navbarMenus possible
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
e6602786ec
updated docs
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
31bbb3894c
remove extra line
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
8bbf576807
typo: tag -> tab (makes a big difference!)
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
1ecc9b9d0e
Fixed documentation problems and JS code logic
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
3adbebc3d9
document similar things together; add prependTab and appendTab
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
a4c086f51b
now working for navbarPage and navlistPanel
2017-08-04 15:10:08 +01:00
Barbara Borges Ribeiro
2813e0b706
update examples
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
b94efe81e4
finish insertTab
2017-08-04 15:09:00 +01:00
Barbara Borges Ribeiro
20bff18bd4
changes
2017-08-04 15:09:00 +01:00