Joe Cheng
8babbd69d8
Merge branch 'session-documentation'
...
Conflicts:
inst/staticdocs/index.r
2014-05-09 19:41:19 -07:00
Joe Cheng
11bf02eb56
Merge pull request #478 from rstudio/remove-literate-programming
...
Stop using literate programming
2014-05-09 19:39:58 -07:00
Joe Cheng
e84a76cebd
Merge pull request #457 from yihui/feature/unsatisfied-input
...
A first attempt of the custom error type for unsatisfied input dependencies
2014-05-08 16:12:58 -07:00
Yihui Xie
342265be94
put the custom class(es) in the first as Hadley suggested
2014-05-08 15:04:49 -07:00
Joe Cheng
dee6fbcb8f
Stop using literate programming
...
Couldn't build from source without knitr installed, and knitr
is not a required dependency
2014-05-08 14:54:11 -07:00
Joe Cheng
ca27a9e31a
Validation refactoring
...
- Move validation logic from shinywrappers.R to utils.R
- Don't coerce validation results; fail if not FALSE, NULL, or character
- Reverse order of stopWithCondition args
2014-05-07 16:20:07 -07:00
Joe Cheng
18d0f45cf9
Refactoring/renaming of validation
...
- validateInput renamed to validate
- validateCondition renamed to need
- Removed ability to provide "bare" conditions. It is
still possible to fail validation silently by passing
FALSE as the second argument to need()
- Rather than using a two-element list to convey results,
use a single result protocol; NULL is success, FALSE is
silent failure, string is failure with message
- Tweak "missing input" semantics, add tests
2014-05-07 16:09:06 -07:00
Joe Cheng
00b40d64a1
Remove delayedAssign which causes problems for downstream packages
...
See comment on d7eb9b2d18
2014-05-06 20:40:57 -07:00
Joe Cheng
3a7d0a5a9f
Document session object
...
Also allow http handlers to return standard Rook responses instead of
httpResponse objects.
2014-05-06 11:56:23 -07:00
Joe Cheng
57a02318e3
Clearer error message when shinyAppDir is given a nonexistent path
2014-05-05 15:31:21 -07:00
Joe Cheng
8f6d8cf0d6
Slider with label=NULL doesn't have tag classes attached
2014-05-05 14:00:43 -07:00
Joe Cheng
4d83596595
Merge pull request #465 from rstudio/feature/horizontal-layout
...
New layouts for horizontal placement
2014-05-05 13:10:26 -07:00
Joe Cheng
fbda2db884
Only show special "No UI defined" message for shinyAppDir
2014-05-02 18:52:37 -07:00
Joe Cheng
2a229774ef
Merge pull request #463 from jcheng5/bugfix/faster-select
...
Massively faster selectInput
2014-05-02 17:31:38 -07:00
Joe Cheng
7920d66cd0
Separate option tags with newline
2014-05-02 17:26:27 -07:00
Yihui Xie
9f2dae7f3b
the logic of the last commit was not correct: we should not stop immediately on a non-condition object; instead, we still need to collect all messages on all conditions before we stop
2014-05-02 18:13:35 -05:00
Yihui Xie
2c2658a8ec
rewrite the lapply()/vapply() with a plain dumb for-loop
2014-05-02 17:54:05 -05:00
Yihui Xie
6f2f8f6f7a
add a function validateCondition() to avoid ambiguity
...
two advantages:
1. we no longer need to worry about input$foo being a list;
2. users have to explicitly call validateCondition() when they want error messages, so we know when to silently stop;
2014-05-02 17:33:29 -05:00
Yihui Xie
4b6dcdd1b0
use shiny-output-error as the _prefix_ for CSS classes of error messages
2014-05-02 16:56:43 -05:00
Yihui Xie
de346fd6c3
filter out some common error classes
2014-05-02 16:56:43 -05:00
Yihui Xie
143803f86d
factor out stop() code to a separate function
2014-05-02 16:56:43 -05:00
Yihui Xie
311143451d
condition first, message second
2014-05-02 16:56:43 -05:00
Joe Cheng
7a495357f7
Update NEWS, tweak description for flowLayout
2014-05-02 12:06:15 -07:00
Joe Cheng
13864a811d
Add inputPanel
2014-05-02 12:06:15 -07:00
Joe Cheng
5b65e4b250
Replace horizontalLayout with flowLayout; add splitLayout
2014-05-02 12:06:15 -07:00
Joe Cheng
829a466f72
New horizontalLayout function; put elements in a single table row
2014-05-02 12:06:14 -07:00
Yihui Xie
1206c70c42
we -> you
2014-05-02 12:45:35 -05:00
Yihui Xie
0709f08d65
a custom type of errors for unsatisfied input dependencies
2014-05-01 18:13:56 -05:00
Joe Cheng
50f78c6e40
Make tabsetPanel result visible
...
Without this, they don't show up in knitr documents
2014-05-01 14:31:25 -07:00
Joe Cheng
7e7afc6d38
Massively faster selectInput
2014-05-01 14:16:27 -07:00
Winston Chang
959fc2bbb2
Merge pull request #459 from jcheng5/naked-render-in-tags
...
Allow naked renderXXX functions to be used inside other tags
2014-04-30 13:24:38 -05:00
Joe Cheng
f8ae505011
Change all "is()" calls to "inherits()"
...
According to ?inherits
2014-04-30 11:19:49 -07:00
Joe Cheng
cd183a1926
Merge branch 'feature/mask-reactive-context'
...
Conflicts:
NEWS
2014-04-30 11:14:50 -07:00
Joe Cheng
5de7103890
Upgrade jqueryui to 1.10.4 and remove datepicker
...
The jqueryui datepicker collides with our bootstrap datepicker
Reviewed by @wch
2014-04-30 11:07:51 -07:00
Joe Cheng
a78c91ba7e
Make renderPlot print result if visible
...
Reviewed by @wch
2014-04-30 10:10:06 -07:00
Joe Cheng
61f2c908b1
Add maskReactiveContext function
2014-04-29 12:01:03 -07:00
Joe Cheng
4c096ac068
Merge pull request #454 from yihui/feature/selectize-more
...
Make `selected` work for server-side selectize input
2014-04-28 15:41:19 -07:00
Jonathan
2c95678be1
Merge pull request #451 from jcheng5/suppress-reactlog
...
Don't send reactlog messages to the client unless showcase mode
2014-04-28 14:52:42 -07:00
Joe Cheng
1a643cecf3
Allow naked renderXXX functions to be used inside other tags
2014-04-28 10:13:16 -07:00
Joe Cheng
aa10b2e8c4
Merge pull request #455 from trestletech/feature/subapp
...
Added extra query param to identify sub apps.
2014-04-28 09:33:37 -07:00
trestletech
6e879c8156
Added extra query param to identify sub apps.
2014-04-25 11:30:48 -05:00
Yihui Xie
b6ee67aa41
make the selected argument of updateSelectizeInput() work even in the server mode
2014-04-25 02:38:38 -05:00
Yihui Xie
07bed0c7c7
factor out a function columnToRowData() so both updateSelectInput() and selectizeJSON() can use it
2014-04-25 02:37:45 -05:00
Yihui Xie
d2bd59d149
Make meta of length 0 when we are sure there are no dependencies
...
knitr::asis_output() will decide whether x is cacheable by checking length(meta) == 0. Some shiny tags are cacheable, such as numericInput(), because it is pure HTML without dependencies, whereas selectizeInput() is not cacheable due to the dependency on selectize.js.
2014-04-25 01:14:14 -05:00
Yihui Xie
7bdac5a44e
Make sure shiny app objects are not cacheable using asis_output(..., cacheable = FALSE)
...
This commit reverts d08a2507fa
2014-04-25 01:14:08 -05:00
Joe Cheng
e395ae6555
Merge branch 'html-deps'
...
Code reviewed by @jmcphers
Conflicts:
DESCRIPTION
R/bootstrap.R
R/reactives.R
2014-04-24 16:37:46 -07:00
Joe Cheng
57b3b919a5
Don't send reactlog messages to the client unless showcase mode
2014-04-24 16:05:54 -07:00
Joe Cheng
00c6bbb297
Merge pull request #449 from rstudio/bugfix/knitr-cached-shiny
...
Fail when attempting to insert a Shiny app into a cached knitr chunk
2014-04-24 15:50:05 -07:00
Joe Cheng
b6536a0af3
Merge pull request #445 from wch/str
...
Add str.reactivevalues
2014-04-24 15:49:21 -07:00
Jonathan McPherson
d08a2507fa
fail when attempting to insert a shiny app into a cached chunk
2014-04-24 15:28:07 -07:00