Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

merge dev into master 1.15.0 #918

Merged
merged 76 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
0d0c7be
update contributing.md to remove reference to outdated components arc…
almarklein Dec 1, 2020
1854d6b
Mention component boilerplate instead
almarklein Dec 1, 2020
d1505e8
First stab at adding drag_value to Slider
almarklein Nov 17, 2020
704a844
Make an initial fire of drag_value with the value of 'value'
almarklein Dec 1, 2020
e74b519
update updatemode docs
almarklein Dec 1, 2020
cbd7d22
Implement drag_value for RangeSlider
almarklein Dec 2, 2020
04dfd98
lint
almarklein Dec 2, 2020
c7adc18
Update src/components/Slider.react.js
almarklein Dec 3, 2020
3a88ac2
Bump Plotly.js to v1.58.0 (#889)
archmoj Dec 3, 2020
31c5942
robustify stdl001 (#891)
Marc-Andre-Rivet Dec 7, 2020
07dd293
Bump plotly.js v1.58.1 (#893)
archmoj Dec 7, 2020
991698a
version bump 1.14.0 (#895)
harryturr Dec 7, 2020
d93b1aa
Merge pull request #887 from almarklein/patch-1
alexcjohnson Dec 9, 2020
7690d0e
Update CODEOWNERS (#900)
Marc-Andre-Rivet Dec 9, 2020
aca609b
Bump plotly.js v1.58.2 (#898)
archmoj Dec 9, 2020
610af0f
version bump 1.14.1, changelog (#901)
harryturr Dec 9, 2020
bbda694
improve dash import test
alexcjohnson Dec 10, 2020
bc7eef8
changelog for import bug fix
alexcjohnson Dec 10, 2020
f67f75c
add tests for slider
almarklein Dec 10, 2020
fa6379f
Merge branch 'drag_value2' of github.com:almarklein/dash-core-compone…
almarklein Dec 10, 2020
4763f78
lint and add missing import
almarklein Dec 10, 2020
966f227
black?
almarklein Dec 10, 2020
4d0a3e2
fix test, hopefully
almarklein Dec 10, 2020
a0740c2
fix test
almarklein Dec 10, 2020
7ddd835
fix test
almarklein Dec 10, 2020
b9c72c4
fix test?
almarklein Dec 10, 2020
0799af5
fix?
almarklein Dec 10, 2020
1be148f
use exact same code as other example. Im running out of ideas
almarklein Dec 10, 2020
fdb511f
Merge pull request #903 from plotly/import-test
alexcjohnson Dec 10, 2020
b3ccc08
bring test down to minimum
almarklein Dec 10, 2020
24600cf
also include output for value
almarklein Dec 10, 2020
82c8763
refactor slicer implementation a bit
almarklein Dec 11, 2020
4c19122
change test and tweak code
almarklein Dec 11, 2020
773c881
maybe only the initialization fails?
almarklein Dec 11, 2020
65a1ba0
Merge branch 'dev' into drag_value2
Marc-Andre-Rivet Dec 11, 2020
1322548
update rangeslider and add a test for it
almarklein Dec 11, 2020
6c9bcda
verify that `value` only changes on mouseup while `drag_value` change…
alexcjohnson Dec 14, 2020
7477eeb
Merge pull request #888 from almarklein/drag_value2
alexcjohnson Dec 14, 2020
0482abd
Dont clone figure.layout
almarklein Dec 14, 2020
ec7b6bc
include responsive
almarklein Dec 15, 2020
fc1d7a2
keep track of original values of overridden data
almarklein Dec 16, 2020
99b4411
add test for layout shapes
almarklein Dec 16, 2020
196ec85
fix test (and black)
almarklein Dec 16, 2020
c7338c1
flake
almarklein Dec 16, 2020
eb82ae1
lint fixes
alexcjohnson Dec 16, 2020
bf89290
use dash loosen-testing-reqs branch and fix linting
alexcjohnson Dec 17, 2020
7e25781
robustify test loca002
alexcjohnson Dec 17, 2020
595b445
Fix spelling
jbampton Dec 17, 2020
3ecf57d
Bump plotly.js v1.58.3 (#906)
archmoj Dec 17, 2020
0a7ac4b
robustify test upft001
alexcjohnson Dec 17, 2020
188d60c
Merge branch 'dev' into dash-1506
alexcjohnson Dec 17, 2020
9df6e0e
back to dev branch of dash
alexcjohnson Dec 17, 2020
d48bd91
Merge branch 'dash-1506' of github.com:plotly/dash-core-components in…
alexcjohnson Dec 17, 2020
f24e9b8
Merge branch 'dev' into fix-spelling
alexcjohnson Dec 17, 2020
a769c5c
Merge pull request #908 from jbampton/fix-spelling
alexcjohnson Dec 17, 2020
b6798fb
Merge branch 'dev' into dash-1506
alexcjohnson Dec 17, 2020
5d045ac
black
alexcjohnson Dec 17, 2020
8f9a792
Merge pull request #907 from plotly/dash-1506
alexcjohnson Dec 17, 2020
fcdd87d
improve how prev originals are handled
almarklein Dec 17, 2020
05ddff4
add test to verify that original layout params are maintained
almarklein Dec 18, 2020
9075fc3
get rid of sleep
almarklein Dec 18, 2020
fed8fbd
bump plotly.js v1.58.4
archmoj Dec 21, 2020
d07d8f9
update changelog for plotly.js v1.58.4
archmoj Dec 25, 2020
dcb12a7
Merge pull request #911 from plotly/plotly.js-v1.58.4
archmoj Dec 25, 2020
630b7d7
Merge branch 'dev' into figure-state
emmanuelle Jan 12, 2021
27d93b3
standardize state usage in Graph
alexcjohnson Jan 15, 2021
582d281
number the tests in graph_varia
alexcjohnson Jan 15, 2021
271ce56
tweak new tests - usage and explicit graph height
alexcjohnson Jan 15, 2021
6c8490c
more extensive test of graph responsive changes
alexcjohnson Jan 15, 2021
3c3f61d
changelog for don't clone figure layout
alexcjohnson Jan 15, 2021
414be44
Merge pull request #905 from almarklein/figure-state
alexcjohnson Jan 15, 2021
0e59119
Add changelog entry for dcc#888 (#915)
harryturr Jan 18, 2021
de5a2b5
bump to v1.15.0 (#917)
harryturr Jan 19, 2021
02a4e43
Merge branch 'dev' into 1.15.0-master
harryturr Jan 19, 2021
2b39a1b
artifacts
harryturr Jan 19, 2021
cd320f3
track licenses
harryturr Jan 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.15.0] - 2021-01-19
### Fixed
- [#905](https://github.com/plotly/dash-core-components/pull/905) Make sure the `figure` prop of `dcc.Graph` receives updates from user interactions in the graph, by using the same `layout` object as provided in the prop rather than cloning it. Fixes [#879](https://github.com/plotly/dash-core-components/issues/879).
- [#903](https://github.com/plotly/dash-core-components/pull/903) Part of fixing dash import bug https://github.com/plotly/dash/issues/1143

### Updated
- [#911](https://github.com/plotly/dash-core-components/pull/911), [#906](https://github.com/plotly/dash-core-components/pull/906)
- Upgraded Plotly.js to [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
- Patch Release [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
- Patch Release [1.58.3](https://github.com/plotly/plotly.js/releases/tag/v1.58.3)

### Added
- [#888](https://github.com/plotly/dash-core-components/pull/888) Adds a `drag_value` prop to `dcc.Slider`to be able to fire callbacks from dragging and releasing the slider.

## [1.14.1] - 2020-12-09
### Updated
- [#898](https://github.com/plotly/dash-core-components/pull/898)
Expand Down Expand Up @@ -1002,7 +1016,7 @@ LIMIT 10;
## [0.6.0] - 2017-07-18
### Added
- The `Slider` and the `RangeSlider` component can update when the user finishes dragging the slider rather than just while they drag. The default behaviour has remained the same (updates while dragging) but you can toggle that the updates only get fired on "mouse up" by setting `updatemode` to `'mouseup'` (`'drag'` is the default).
- A `Link` and `Location` were added. `Location` represents the address bar of the web browser and `Link` provides a way to modify the address bar without refreshing the page. Combined, these two components can be used to create a "single page app" with multiple URLs. That is, apps that have mulitple URLs but surfing between the different pages doesn't trigger a full page refresh like it would with traditional links.
- A `Link` and `Location` were added. `Location` represents the address bar of the web browser and `Link` provides a way to modify the address bar without refreshing the page. Combined, these two components can be used to create a "single page app" with multiple URLs. That is, apps that have multiple URLs but surfing between the different pages doesn't trigger a full page refresh like it would with traditional links.
- Previously, if callback functions weren't supplied to a component, it wouldn't update. This caused a lot of confusion: users would create a simple layout without any callbacks and then wonder why the sliders wouldn't slide or the text inputs wouldn't update. Now, all of the components manage their own state and their appearance will update regardless of whether Dash has assigned a callback to them.

## [0.5.3] - 2017-07-03
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashCoreComponents
Title: Core Interactive UI Components for 'Dash'
Version: 1.14.1
Version: 1.15.0
Description: 'Dash' ships with supercharged components for interactive user interfaces. A core set of components, written and maintained by the 'Dash' team, is available in the 'dashCoreComponents' package. The source for this package is on GitHub: plotly/dash-core-components.
Depends: R (>= 3.0.2)
Imports:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "DashCoreComponents"
uuid = "1b08a953-4be3-4667-9a23-9da06441d987"
authors = ["Chris Parmer <[email protected]>"]
version = "1.14.1"
version = "1.15.0"

[deps]
DashBase = "03207cf0-e2b3-4b91-9ca8-690cf0fb507e"
Expand Down
6 changes: 3 additions & 3 deletions R/dccRangeSlider.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

dccRangeSlider <- function(id=NULL, marks=NULL, value=NULL, allowCross=NULL, className=NULL, count=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, pushable=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
dccRangeSlider <- function(id=NULL, marks=NULL, value=NULL, drag_value=NULL, allowCross=NULL, className=NULL, count=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, pushable=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, marks=marks, value=value, allowCross=allowCross, className=className, count=count, disabled=disabled, dots=dots, included=included, min=min, max=max, pushable=pushable, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
props <- list(id=id, marks=marks, value=value, drag_value=drag_value, allowCross=allowCross, className=className, count=count, disabled=disabled, dots=dots, included=included, min=min, max=max, pushable=pushable, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'RangeSlider',
namespace = 'dash_core_components',
propNames = c('id', 'marks', 'value', 'allowCross', 'className', 'count', 'disabled', 'dots', 'included', 'min', 'max', 'pushable', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
propNames = c('id', 'marks', 'value', 'drag_value', 'allowCross', 'className', 'count', 'disabled', 'dots', 'included', 'min', 'max', 'pushable', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashCoreComponents'
)

Expand Down
6 changes: 3 additions & 3 deletions R/dccSlider.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AUTO GENERATED FILE - DO NOT EDIT

dccSlider <- function(id=NULL, marks=NULL, value=NULL, className=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
dccSlider <- function(id=NULL, marks=NULL, value=NULL, drag_value=NULL, className=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, marks=marks, value=value, className=className, disabled=disabled, dots=dots, included=included, min=min, max=max, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
props <- list(id=id, marks=marks, value=value, drag_value=drag_value, className=className, disabled=disabled, dots=dots, included=included, min=min, max=max, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'Slider',
namespace = 'dash_core_components',
propNames = c('id', 'marks', 'value', 'className', 'disabled', 'dots', 'included', 'min', 'max', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
propNames = c('id', 'marks', 'value', 'drag_value', 'className', 'disabled', 'dots', 'included', 'min', 'max', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashCoreComponents'
)

Expand Down
42 changes: 21 additions & 21 deletions R/internal.R
Original file line number Diff line number Diff line change
@@ -1,126 +1,126 @@
.dashCoreComponents_js_metadata <- function() {
deps_metadata <- list(`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-datepicker.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-dropdown.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-graph.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-highlight.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-markdown.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-slider.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-upload.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-datepicker.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-dropdown.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-graph.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-highlight.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-markdown.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-slider.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-upload.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_core_components.min.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_core_components.min.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components-shared` = structure(list(name = "dash_core_components-shared",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_core_components-shared.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE), class = "html_dependency"),
`dash_core_components-shared` = structure(list(name = "dash_core_components-shared",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_core_components-shared.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'plotly.min.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = 'eager'), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-plotlyjs.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE, async = 'lazy'), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
version = "1.14.1", src = list(href = NULL,
version = "1.15.0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'async-plotlyjs.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
Expand Down
Loading