Joe Cheng
6ee7dcdd51
Fix several bugs relating to suspendWhenHidden
...
- If an output is bound in the UI before it exists on the server, the
server will suspend the new output until something else causes
manageHiddenOutputs to be triggered. The refactor in shiny.R sets
the suspended flag to .shouldSuspend.
- As part of the previous refactor, we don't set suspendOnHidden in
defineOutput; instead we leave it empty and .shouldSuspend knows
what the default should be.
- In shiny.js, unbound controls were not being suspended. This was
fixed by having sendOutputHiddenState be stateful; anything in
a visible state that disappears on the next iteration is marked
as hidden. Also unbindAll now calls sendOutputHiddenState.
2013-05-27 12:52:33 -07:00
Winston Chang
4a92bb91df
Initialize slider at correct time
2013-05-24 18:58:47 -05:00
Joe Cheng
69522c422c
Fix rendering issues when slider gets too wide
...
Synced to jslider commit (from rstudio/jslider fork):
6de6ef7b2c788cbcec74dd51e0008e12247e6638
2013-05-23 12:02:43 -07:00
Winston Chang
0e1139446e
Merge pull request #149 from jcheng5/observer-priorities
...
Add priority levels to observers
2013-05-10 12:03:28 -07:00
Winston Chang
f433216fae
Merge pull request #156 from jcheng5/fix-submit-button
...
Fix submit button interactions with tabs, plot sizes
2013-05-10 12:02:14 -07:00
Winston Chang
ed680baaac
selectInput: correctly handle choices with duplicate names. Fixes #157
2013-05-08 18:32:05 -05:00
Winston Chang
bfa4a46bd5
Merge pull request #154 from wch/tag
...
Add withTags function
2013-05-06 08:46:09 -07:00
Winston Chang
619b4824f0
Add tests for withTags
2013-05-06 10:45:41 -05:00
Winston Chang
d3caad8b8d
Add comment in test
2013-05-01 01:17:07 -04:00
Joe Cheng
dd54740d36
Fix submit button interactions with tabs, plot sizes
2013-04-29 13:08:04 -07:00
Winston Chang
0c19105fbf
Add dateInput and dateRangeInput
...
Also:
* add initialize() method for input bindings
* cleanups for JShint
2013-04-24 12:18:20 -05:00
Joe Cheng
10d2432df5
Merge pull request #148 from wch/sendmessage
...
Add support for sending arbitrary messages to client
2013-04-22 16:40:01 -07:00
Joe Cheng
5f61267f75
Allow integers or numerics for priority
2013-04-19 15:42:18 -07:00
Joe Cheng
94ee42cebb
Add priority levels to observers
...
Observers can now take priority levels, which allow the user to control
the order of execution. Note that reactive expressions do not have
priority levels; since they are lazily evaluated, it wouldn't make any
sense to speak of priorities.
Another commit will be needed to add an API for changing the priorities
of outputs (probably in outputOptions?).
2013-04-19 10:34:34 -07:00
Winston Chang
b6795e5c63
Move actionbutton into Shiny proper
2013-04-18 15:11:13 -05:00
Winston Chang
ef85d063c2
Make external message handlers use 'custom'
2013-04-18 13:40:32 -05:00
Winston Chang
59755971e5
Add message handlers
2013-04-18 12:40:19 -05:00
Winston Chang
c5ab831a87
Fixes for jshint
...
Conflicts:
inst/www/shared/shiny.js
2013-04-18 11:41:52 -05:00
Winston Chang
2897059503
Allow setting labels for all input objects
2013-04-08 18:09:40 -05:00
Winston Chang
d491f9df5a
updateCheckboxGroupInput: clean up and allow setting labels
2013-04-08 17:01:00 -05:00
Winston Chang
bc52bafa8d
Add methods for setting bootstrapTabInputBinding
2013-04-06 01:00:18 -05:00
Winston Chang
5c9007b242
Streamline tests
2013-04-06 00:28:26 -05:00
Winston Chang
5857e3f75e
Allow setting value of sliders when they have range
2013-04-05 22:56:12 -05:00
Winston Chang
e202831013
Add empty message tests
2013-04-05 21:57:45 -05:00
Winston Chang
4cbbfccb6d
Make sure not to bind new-style multi-inputs
2013-04-05 21:57:45 -05:00
Winston Chang
21f3b1cf34
Add checkboxGroupInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
f7b384e9b6
Add radioInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
1e6ab47ee4
Fixes to tests for jshint
2013-04-05 21:57:45 -05:00
Winston Chang
78341ea2f1
Trigger change when message sent to input bindings
2013-04-05 21:57:45 -05:00
Winston Chang
3f8a4d4273
Add getState and receiveMessage support to selectInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
c88ccbf9bc
Put inputMessage in a queue
2013-04-05 21:57:45 -05:00
Winston Chang
46389131bc
Add functions for sending messages to client
2013-03-30 21:07:22 -05:00
Winston Chang
bcc2c377a0
Add messenge-sending support
2013-03-29 14:32:34 -05:00
Winston Chang
bb6afc847e
Add input binding tests
2013-03-29 14:30:22 -05:00
Winston Chang
e0193151db
shiny.js: allow setting inputs and getting input state
2013-03-28 16:15:24 -05:00
Joe Cheng
6e3e77f65d
Code review feedback for version checking stuff
2013-03-25 11:26:16 -07:00
Winston Chang
1c0279f17c
Undo commit 'Remove redundant code in shiny.js'
...
The code wasn't actually redundant.
2013-03-22 12:51:29 -05:00
Winston Chang
8866eb292b
Add section breaks in shiny.js
2013-03-21 21:09:16 -05:00
Winston Chang
6fdda3391e
Send initial value of URL hash
2013-03-20 16:53:40 -05:00
Winston Chang
fdb8dd4e5b
Remove redundant code in shiny.js
2013-03-20 13:22:21 -05:00
Joe Cheng
9a1d3783ee
Unbind controls in htmlOutput before displaying error
2013-03-19 13:32:14 -07:00
Winston Chang
f743d5d0b5
New method for detecting hidden outputs
2013-03-17 11:08:28 -07:00
Winston Chang
d511b82264
Add imageOutput function
2013-03-15 16:44:18 -05:00
Joe Cheng
dd046f3442
Merge remote-tracking branch 'jcheng5/master'
...
Conflicts:
R/shiny.R
2013-03-13 10:47:06 -07:00
Winston Chang
63d4798a50
Add tests for parseQueryString
2013-03-12 14:32:52 -05:00
Winston Chang
6c47517684
Move allowDataUriScheme into .clientdata
2013-03-12 14:24:48 -05:00
Joe Cheng
f489d9131b
File uploads failed when no content type was provided
...
The simple fix for this would've been to just guess the content
type on the server (or use empty string or something), but by
doing the fix this way we're also set up to handle uploads by
servers that don't allow custom headers on AJAX calls.
2013-03-12 09:50:01 -07:00
Winston Chang
f0109c5588
Send URL in clientdata
2013-03-11 18:44:58 -05:00
Winston Chang
4605788696
Add informative comments
2013-03-11 18:43:03 -05:00
Joe Cheng
87908313cc
Merge remote-tracking branch 'jcheng5/httpuv'
...
Conflicts:
R/shiny.R
2013-03-11 09:36:47 -07:00