Winston Chang
21fb7959a5
Fix edge case with nested choices. Fixes #560
...
When the set of choices is a list containing a named vector of length 1,
choicesWithNames would return the wrong result.
2014-08-01 16:11:51 -05:00
Winston Chang
02c7351c6d
Add custom version of selectize.js to work around Firefox bug
...
This is a workaround for issue #550 . This version is based on selectize version 0.9.1.
2014-07-24 15:29:23 -05:00
Jonathan McPherson
75ccfe38ce
update comment with more specific browser notes
2014-07-23 09:43:42 -07:00
Jonathan McPherson
e3cb3fe2e4
deal gracefully with elements that have no computed style available
2014-07-22 14:41:34 -07:00
Yihui Xie
029595f8ea
an edge case selectInput(choices = NULL)
...
firstChoice() may fail with an error "subscript out of bounds"
2014-07-17 15:59:33 -05:00
Yihui Xie
f6bf4a416f
Merge pull request #537 from yihui/bugfix/native-encoding
...
Use native encoding internally
2014-07-17 14:49:53 -05:00
Winston Chang
262528e36a
Add tests for deeper nesting with choicesWithNames
2014-07-16 12:07:13 -05:00
Winston Chang
b604dba948
Add tests for default selected items
2014-07-16 00:52:29 -05:00
Winston Chang
1837a64bd2
Add tests for selectOptions
2014-07-16 00:51:57 -05:00
Winston Chang
62176c3218
Add tests for choicesWithNames
2014-07-16 00:51:57 -05:00
Yihui Xie
418de862e6
rename newOptions to config
2014-07-11 14:17:08 -05:00
Yihui Xie
d2fc851816
make updateSelectInput(), updateCheckboxGroupInput(), and updateRadioButtons() work
...
now session$sendInputMessage() does not send options as the choices data, but as a pre-generated raw HTML string; in shiny.js, we just receive this string, and .append() it to the input after the input is emptied
2014-07-11 14:03:47 -05:00
Yihui Xie
ab56b72f39
json2.js modified and uglified from https://github.com/yihui/JSON-js via http://lisperator.net/uglifyjs/
...
I'm using the date of json2 as its version number, since it does not really have a version number
This should close rstudio/shiny-server#79
2014-07-10 17:56:23 -05:00
Jonathan McPherson
038221408c
fix #500 : check for null source ref highlight points
2014-07-09 09:26:39 -07:00
Yihui Xie
eb4fabeac6
fix two more staticdocs errors
2014-06-19 00:17:55 -05:00
Joe Cheng
2f94e1d2c9
Fix timing issue with random seed test on windows
2014-06-13 14:40:19 -07:00
Joe Cheng
dde266768c
Restore HTML generating functions
...
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
2014-05-31 08:06:03 -07:00
Joe Cheng
1cb5e09109
Remove obsolete entry from staticdocs index
2014-05-31 08:06:03 -07:00
Joe Cheng
3212e59dcc
Fix broken client-side HTML dependency rendering
2014-05-31 08:06:03 -07:00
Joe Cheng
44a795bf18
Extract HTML functionality to htmltools library
2014-05-31 08:06:03 -07:00
Winston Chang
6c14789362
Merge pull request #492 from rstudio/bugfix/0.10misc
...
Miscellaneous bug fixes
2014-05-23 14:13:29 -05:00
Winston Chang
880a12b914
Merge pull request #489 from yihui/bugfix/428
...
Fixes #428
2014-05-23 14:09:43 -05:00
Joe Cheng
07a0dfddc7
Validation error causes real errors to look like validation errors
...
The CSS class for validation errors was not being properly removed between different kinds of errors
2014-05-21 19:32:44 -07:00
Yihui Xie
3bdcdf96d4
upgrade selectize.js to v0.9.1 to fix the third issue in #428
2014-05-20 01:30:37 -05:00
Yihui Xie
831fba9a53
add a 'width' option to selectizeInput() and sliderInput() to specify the width of these widgets
2014-05-17 01:28:27 -05:00
Winston Chang
ff628ac0b2
Fixes for jshint
2014-05-12 20:46:24 -05:00
Joe Cheng
8babbd69d8
Merge branch 'session-documentation'
...
Conflicts:
inst/staticdocs/index.r
2014-05-09 19:41:19 -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
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
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
5b6605b296
Add inputPanel to staticdocs index
2014-05-05 13:59:46 -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
7e12a281f5
Remove slider from bundled jquery-ui
2014-05-05 12:12:41 -07:00
Joe Cheng
c63c10e48a
Merge pull request #466 from rstudio/bugfix/space-urls
...
Encode pathname when necessary on browsers that supply it decoded
2014-05-05 11:40:06 -07:00
Joe Cheng
155554f0b7
Only double-encode on Qt
2014-05-05 11:36:27 -07:00
Joe Cheng
fbda2db884
Only show special "No UI defined" message for shinyAppDir
2014-05-02 18:52:37 -07:00
Joe Cheng
137e5b13ef
Update tests
2014-05-02 17:28:01 -07: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
bf9d7c2012
use the classes of the error condition as names of CSS classes in the output
2014-05-02 16:56:43 -05:00
Jonathan McPherson
c9030f401d
encode pathname when necessary on browsers that supply it decoded
2014-05-02 14:41:11 -07:00
Joe Cheng
8668ddce74
Tweak padding
2014-05-02 12:21:34 -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
bf82b9742a
Use standardized widths for selectize/jslider
...
The 100% width worked well inside of a sidebar, but in other situations
like full-width columns or zero-min-width tables a fixed width is better.
If there's demand we can add parameters for setting the width to custom
values including 100%.
2014-05-02 12:06:14 -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
0709f08d65
a custom type of errors for unsatisfied input dependencies
2014-05-01 18:13:56 -05:00
Joe Cheng
7e7afc6d38
Massively faster selectInput
2014-05-01 14:16:27 -07:00
Joe Cheng
cd183a1926
Merge branch 'feature/mask-reactive-context'
...
Conflicts:
NEWS
2014-04-30 11:14:50 -07:00
Joe Cheng
bb2796fbc3
Add tests
2014-04-30 11:14:20 -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