Carson
3e2bfb20f5
remove renderedFamily info field
...
Because no information is better than wrong information
https://bugzilla.mozilla.org/show_bug.cgi?id=1252821
2020-05-08 13:36:05 -05:00
Carson
079871df38
Use getStyle() to support old browsers
2020-05-06 15:17:06 -05:00
Carson
210792397d
code review with Winston
2020-05-01 16:20:15 -05:00
Carson
4e59f55f11
wip font support
2020-04-30 17:50:19 -05:00
Carson
330da2dcbb
code review feedback; introduce autoThemeOptions()
2020-04-30 17:50:19 -05:00
Carson
867daeead7
Add accent (link) color and qualitative color palettes
...
Also, improved approach to adjusting various defaults based on fg/bg/accent
2020-04-30 17:50:19 -05:00
Carson
a1a22e811f
Report font-family and colors in getCurrentOutputInfo() if .shiny-report-theme class is present
...
Also, rename autocolors to autotheme as we'd like to support fonts and possibly more in the future
Also, wrap ggplot2 default overriding and building logic into one function, so plotly can use it in a self-contained fashion
2020-04-30 17:50:19 -05:00
Carson
e9f2e0d7d7
wip
2020-04-30 17:50:19 -05:00
Carson
8ba028ebbb
Use native String.trim() method since $.trim() is now deprecated
2020-04-30 10:35:14 -05:00
Joe Cheng
63035b4d66
No need for bg-danger, progress-bar-danger is now in bs3compat
2020-01-07 13:55:46 -08:00
Joe Cheng
33ffb006e3
Get rid of striped progress bar style
...
The bs4 striped progress bar directives have changed,
but also the stripes look pretty dated at this point
2020-01-07 13:55:23 -08:00
Joe Cheng
fb64caab23
Remove unnecessary bs4 classes
...
Since these classes were added, we've decided to handle more of this
kind of thing in the bootscss package, so bs3 markup can work without
modification in many cases.
2020-01-07 13:54:55 -08:00
Carson
ec65a74492
Need to de-active any nav tab, not just navs in a dropdown
2020-01-07 13:53:57 -08:00
Carson
5896667c36
For some reason event.relatedTarget isn't populated when the previously active item is a dropdown item
2020-01-07 13:53:39 -08:00
Carson
d31394254c
progress-bar-striped needs to appear on the actual progress bar (not it's container)
2020-01-07 13:53:21 -08:00
Carson
1a497e246c
progress-bar-danger class has been replaced by bg-danger
2020-01-07 13:53:06 -08:00
Carson
8066f9ce96
remove debugger; more detailed comment
2020-01-07 13:52:49 -08:00
Joe Cheng
2ab925a24c
wip2
2020-01-07 13:52:33 -08:00
Joe Cheng
78fbad7d8d
wip1
2020-01-07 13:52:13 -08:00
Carson
97e296c5d5
Use pageX/pageY instead of offsetX/offsetY to determine if a second click is too far away before triggering a double-click event. Closes #2620
2019-09-17 17:49:20 -05:00
Joe Cheng
6470b3f08c
Fix 062-submitbutton-demo
...
1) In srcjs/input_rate.js line 284, the global variable `name` was
being written to.
2) In a couple of other places in that file, the global variable
`name` was being read instead of `nameType`--the result of an
incomplete refactor.
Also added an eslint rule to prevent this and other globals from
being read implicitly.
2019-09-17 12:55:47 -07:00
Barret Schloerke
b0953e810b
merge master
2019-09-12 10:26:38 -04:00
Carson
431b194ec2
Exit early if date parsing fails in _setMin() and _setMax(), closes #2591
2019-09-09 13:48:18 -05:00
Barret Schloerke
332f5a1266
add js for opening broken reactlog routes
2019-08-28 12:24:17 -04:00
Winston Chang
3e1862cd51
Merge pull request #2526 from rstudio/setDateBounds
...
Set min/max date after date value when they land on the same day
2019-08-27 16:30:49 -05:00
Carson
896a20d76d
set start/end date after setting date if they land on the same day, closes #2335
2019-08-27 10:30:38 -05:00
Barret Schloerke
598898f0a1
use boostrap url stripper regex to remove url before looking for relative tag location
2019-08-15 11:29:50 -04:00
Barret Schloerke
51cbb67a96
use new RegExp
2019-08-07 12:21:38 -04:00
Barret Schloerke
2e2bd80416
remove leading url when removing relative url
2019-08-07 11:06:03 -04:00
Winston Chang
6b835f70e6
Merge pull request #2460 from rstudio/wch-disable-plot-drag
...
Disable dragging of plots with any interactions enabled
2019-05-30 14:32:00 -05:00
Winston Chang
308bc76ac6
Disable dragging of plots with any interactions. Closes #1393 , #2223
2019-05-29 15:16:11 -05:00
nteetor
180e852fee
Trigger shiny:inputchanged event on related input element ( #2442 )
2019-05-22 20:01:33 -04:00
Carson Sievert
4eaa9c7ea9
Don't match text inputs with a trailing '-selectized' in their id, fixes #2396 ( #2418 )
...
* Don't match text inputs with a trailing '-selectized' in their id, fixes #2396
* update news
* parentheses
2019-05-14 16:26:32 -05:00
Carson Sievert
ead23528ca
doSetInput calls setInput (duh) so should have name and type
2019-05-08 16:19:21 -05:00
Carson Sievert
b8644949cc
camelCase for consistency; clarify comment
2019-05-08 16:19:13 -05:00
Carson Sievert
b88e3a64f2
comment on the difference between name_type and name
2019-05-08 16:19:07 -05:00
Carson Sievert
2871b423fd
rename name arg to name_type where relevant in input decorators...
...
this will help to highlight when you should call a method with just the input name instead of both the name and the type
2019-05-08 16:19:02 -05:00
Carson Sievert
562fafbc39
pass inputName to immediateCall() and normalCall()
2019-05-08 16:18:55 -05:00
Carson Sievert
191e0874f8
type is only relevant for public methods setInput() and setRatePolicy()
...
change the name of these arguments to reflect this (name_type)
2019-05-08 16:18:47 -05:00
Carson Sievert
fa5ff7bfa5
Consistently ignore input type in all InputRateDecorator methods
2019-05-08 16:18:39 -05:00
Carson Sievert
82e80ccdeb
InputRateDecorator's setInput method needs to strip of the input's ttype before looking up the input's rate policy, closes #2387
2019-05-08 16:18:19 -05:00
Carson Sievert
2d2cf96f5e
missed input_binding_slider.js
2019-05-03 15:48:47 -05:00
Carson Sievert
370f1b51ee
Inputs now always supply a <label> tag with a special CSS class for hiding NULL labels
...
This helps to simplify the updating logic on the client
2019-05-03 15:38:57 -05:00
Carson Sievert
09388c9f07
Apply label updating logic all relevant input labels
2019-05-01 18:55:36 -05:00
Carson Sievert
a5a0f23c3a
Use jQuery's text() method for proper escaping when inserting data.label string
2019-04-30 17:33:26 -05:00
Carson Sievert
5e8bc204c1
make sure to remove label tag from DOM if label is updated to NULL
2019-04-26 19:08:15 -05:00
Carson Sievert
938332d646
Have textInput()'s receiveMessage method insert a label tag if one is needed, closes #868
2019-04-26 16:56:53 -05:00
Alan Dipert
908d635063
Fix #2349 , #2329 , #1817 : bugs triggered by networkD3 sankey plot
...
* All of these were caused by the presence of multiple body tags on the
page, which happened because networkD3's sankey plot generates SVGs
containing body tags via SVG's foreignObject tag
* In various places, the 'body' jQuery selector string is used under the
assumption there is only one 'body' tag on the page. The presence of
multiple 'body' tags breaks reliant code in strange ways.
* The fix was to use document.body or 'body:first' instead of 'body'.
2019-03-27 11:36:19 -07:00
Barret Schloerke
9a345d191b
merge in master
2018-11-27 10:33:11 -05:00
Winston Chang
77afd73ee1
Use new selectize suffix. Fixes #2245
2018-11-15 15:23:35 -06:00