Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash for R v0.7.0 #219

Merged
merged 128 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
5c83f5c
Use dev_tools_prune_errors instead of pruned_errors (#113)
rpkyle Aug 23, 2019
d20daa8
Provide support for multiple outputs (#119)
rpkyle Sep 3, 2019
0845184
prepend multiple
Sep 3, 2019
29a3042
Better handling for user-defined error conditions in debug mode (#116)
rpkyle Sep 6, 2019
bbfc6cc
add more trace for pytest
Sep 18, 2019
2e09789
Implement support for clientside callbacks in Dash for R (#130)
rpkyle Oct 1, 2019
c947c73
Provide support for hot reloading in Dash for R (#127)
rpkyle Nov 1, 2019
8e3c168
update percy settings
Nov 4, 2019
5d485d9
Merge pull request #138 from plotly/percy
byronz Nov 4, 2019
5c2ea67
add always
Nov 4, 2019
cd33eba
Merge pull request #139 from plotly/percy
byronz Nov 4, 2019
f866d38
Support for meta tags in Dash for R (#142)
rpkyle Nov 5, 2019
7e16f8d
restore port default
Nov 14, 2019
4b99c88
update codeowners
Nov 29, 2019
2ca3f98
Create CODEOWNERS
Marc-Andre-Rivet Nov 29, 2019
68be6a9
Fixes for hot reloading interval handling and refreshing apps within …
rpkyle Dec 4, 2019
1d5ee2d
Update CHANGELOG.md
rpkyle Dec 4, 2019
e852995
Support for asynchronous loading/compression in Dash for R (#157)
rpkyle Dec 22, 2019
22227f6
make more idiomatic for routr
Dec 22, 2019
006b6d3
:necktie: :hocho: whitespace
Dec 22, 2019
93345e6
Update dash-renderer to 1.2.2 and fix dev tools UI display of stack t…
rpkyle Dec 25, 2019
e6c460a
use versions from dev branch for #996
Dec 25, 2019
8c9678b
Update CHANGELOG.md
rpkyle Dec 25, 2019
61e6dfa
Support returning asset URLs via public method within Dash class (#160)
rpkyle Jan 3, 2020
ca6613c
Update CHANGELOG.md
rpkyle Jan 3, 2020
fb05d18
Minor fix for get_asset_url + docs, add url_base_pathname (#161)
rpkyle Jan 3, 2020
85828d3
Merge branch 'master' into dev
rpkyle Jan 3, 2020
e4cedb3
Autoset routes and requests pathname prefixes (#165)
rpkyle Jan 14, 2020
cc9e06d
Inspect environment variables for host & port (#167)
rpkyle Jan 14, 2020
3733ead
Support for index page templating (#168)
HammadTheOne Feb 11, 2020
2f1be58
Add support for config-aware relative paths (#172)
HammadTheOne Feb 12, 2020
6eddf98
Update CHANGELOG.md
rpkyle Feb 12, 2020
a2907ba
Update DESCRIPTION
rpkyle Feb 12, 2020
98254a1
update authors
Feb 12, 2020
402969d
Merge branch 'dev' of github.com:plotly/dashR into dev
Feb 12, 2020
d7dcae7
Merge branch 'master' into dev
rpkyle Feb 12, 2020
c03c6c1
added dashTable version bump
rpkyle Feb 12, 2020
030adb4
renamed "Removed" section to "Deprecated"
rpkyle Feb 12, 2020
744b696
host & port changes :truck: "Deprecated" section
rpkyle Feb 12, 2020
c853cbf
:see_no_evil: fix typo
rpkyle Feb 12, 2020
7c26675
:see_no_evil: fix typo
rpkyle Feb 12, 2020
49c97da
:see_no_evil: fix typos
Feb 12, 2020
21e78db
Merge branch 'dev' of github.com:plotly/dashR into dev
Feb 12, 2020
2c46d9f
Add unit tests for index customization (#176)
rpkyle Feb 13, 2020
0085036
Send status code of 1 when unit tests fail (#177)
rpkyle Feb 13, 2020
ab702e9
use get_mimetype
Mar 17, 2020
6772b25
use guess_type in get_mimetype
Mar 17, 2020
b03eccd
Add assortment of unit tests to Dash for R (#179)
rpkyle Mar 17, 2020
1a21232
:sparkles: +binary file loader to dash_suite handler
Apr 8, 2020
12d1469
Merge branch 'dev' into 185-arbitrary-extensions
rpkyle Apr 8, 2020
9721087
nested and standard components test
Apr 21, 2020
80576d4
fix test..
Apr 21, 2020
28d30d4
correct branch and few other things
Apr 21, 2020
6e0212d
include dash dev pacakges
Apr 21, 2020
d030347
sudo
Apr 21, 2020
bd704cd
Rscript the component
Apr 21, 2020
f0e7dff
install modified dash
Apr 21, 2020
0032d96
dash branch
Apr 21, 2020
08a9824
.
Apr 21, 2020
b3fbde2
noise
Apr 21, 2020
406f8ae
use dev and clean up
Apr 21, 2020
9f7d33e
Merge pull request #191 from plotly/pr1125-dashR-tests
Marc-Andre-Rivet Apr 22, 2020
e082bc4
Support inline clientside callbacks in Dash for R (#140)
rpkyle Apr 22, 2020
1cb3412
Merge branch 'dev' into 185-arbitrary-extensions
Marc-Andre-Rivet Apr 23, 2020
40c62a5
- use DashPy arbitrary extension branch
Apr 23, 2020
7b9c80e
use the styled_app...
Apr 23, 2020
8c05ad5
wait for font to be loaded
Apr 23, 2020
c1fecf9
changelog
Apr 23, 2020
c0c9201
improve test!
Apr 23, 2020
a4d9dec
Provide support for arbitrary file extensions within Dash for R compo…
rpkyle Apr 24, 2020
7f75aab
Update config.yml
Marc-Andre-Rivet Apr 24, 2020
f976757
:rotating_light: initial test
Apr 27, 2020
7d6bc60
update :books:
Apr 27, 2020
1952be7
:necktie: add CRLF
Apr 27, 2020
8fce87c
:necktie: :hocho: EOL whitespace
Apr 27, 2020
5a1beb0
Merge pull request #194 from plotly/193-add-show-undo-redo
rpkyle Apr 27, 2020
0e7ddad
:racehorse: speed up CI, use image from plotly
rpkyle May 4, 2020
984324e
:truck: update to dash-renderer 1.4.1
May 5, 2020
9385233
bump renderer to v1.4.1
May 5, 2020
6fb198c
update CHANGELOG.md & :hocho: old renderer
May 5, 2020
82d8b01
Merge pull request #195 from plotly/update-renderer-1.4.1
rpkyle May 5, 2020
b84729b
Update CHANGELOG.md
rpkyle May 5, 2020
0241ea6
Update CHANGELOG.md
rpkyle May 6, 2020
e8db472
Merge branch 'master' into dev
May 6, 2020
dc002a0
:hocho: duplicated lines
May 6, 2020
6d9553e
bump dependency versions
May 6, 2020
4af8d7c
document compress in R help
May 6, 2020
b3be88d
update DESCRIPTION
May 6, 2020
9107258
Permit returning components with multiple outputs (#197)
rpkyle May 8, 2020
cee4b03
Merge branch 'master' into dev
rpkyle May 8, 2020
b6a0026
inactive percy to check test output
May 8, 2020
15c6615
Add dopsa test for proposed R build test (#199)
rpkyle May 13, 2020
2f4136d
Remove is.layout, layout_container_id, and redundant component test (…
rpkyle May 26, 2020
1aa6f65
update documentation
May 26, 2020
e91e6ff
:bug: fix validate_keys
May 27, 2020
a58b885
validate keys if argnames or string
May 27, 2020
6cb8351
remove name test
May 27, 2020
9eff393
update docs + set class
May 27, 2020
22c0480
update docs
May 27, 2020
df1f096
assert that template_index is character
May 28, 2020
d5207c1
add is_template
May 28, 2020
a7aa5cb
Add brotli import (#204)
rpkyle May 28, 2020
756adcd
Merge branch 'master' into dev
rpkyle May 28, 2020
4e227f9
re-enable percy
May 28, 2020
7319e09
fix CRLF
May 28, 2020
b69c9d3
update CHANGELOG.md
May 28, 2020
d9176b9
update package info page
May 28, 2020
ef2160d
bump version to 0.5.0
May 28, 2020
a15b186
:hocho: validate_dependency, unused
May 28, 2020
8e9ccb1
update :books:
May 28, 2020
64a6d71
use \url
May 28, 2020
0f82fec
update CHANGELOG.md
May 28, 2020
9d817be
s/Fized/Fixed
May 28, 2020
c451cd3
bump dashTable to v4.8.0
Jun 17, 2020
e2aac2e
Merge branch 'master' into dev
rpkyle Jun 17, 2020
0d3b970
bump dashCoreComponents to 1.10.1
Jun 18, 2020
277c3b4
use double quotes
Jun 18, 2020
859d601
update CHANGELOG
Jun 18, 2020
191260e
Merge branch 'master' into dev
rpkyle Jun 18, 2020
3094d6d
bump version, load v4.8.1 of dashTable
Jun 19, 2020
103f80f
append missing )
Jun 19, 2020
4c12749
Merge branch 'master' into dev
rpkyle Jun 19, 2020
1962cf7
add dash-renderer v1.5.1
Jun 25, 2020
5bca2ff
update Dash for R to v0.6.3
Jun 25, 2020
a97d0e8
re-run tests
Jun 25, 2020
1ee1e92
Update CHANGELOG.md
rpkyle Jun 25, 2020
607e210
Add update_title functionality to Dash for R (#218)
rpkyle Jul 28, 2020
946f7af
Merge branch 'master' into dev
rpkyle Jul 28, 2020
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: 11 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.6.4] - 2020-07-14
**Changed**
- Removes warning message when an app is launched without any component ID's present in the layout. When writing callbacks it iss natural to assume that an ID is necessary, and this warning may be misleading for apps without callbacks (for more details, see [#216](https://github.com/plotly/dashR/pull/216).
## [0.7.0] - 2020-07-28
### Added
- Dash for R now supports an `update_title` parameter, as in Dash for Python. [#218](https://github.com/plotly/dashR/pull/218)

### Changed
- `dash-renderer` updated to v1.6.0
- Dash for R now depends on v4.9.0 of `dashTable` (provides several fixes from [#806](https://github.com/plotly/dash-table/pull/806), [#808](https://github.com/plotly/dash-table/pull/808) and [#809](https://github.com/plotly/dash-table/pull/809)) and v1.10.2 of `dashCoreComponents` (which updates Plotly.js to 1.54.7 via [#835](https://github.com/plotly/dash-core-components/pull/835)).

### Removed
- Dash for R no longer produces a warning when callbacks with no IDs are declared; see [#216](https://github.com/plotly/dashR/pull/216).

## [0.6.3] - 2020-06-25
**Changed**
### Changed
- `dash-renderer` updated to v1.5.1

**Fixed**
### Fixed
- Resolves a regression that prevented multiple loading states from displaying concurrently when a callback updates multiple outputs (for more details, see [#1310](https://github.com/plotly/dash/pull/1310)).

## [0.6.2] - 2020-06-19
Expand Down
10 changes: 5 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Package: dash
Title: An Interface to the Dash Ecosystem for Authoring Reactive Web Applications
Version: 0.6.4
Version: 0.7.0
Authors@R: c(person("Chris", "Parmer", role = c("aut"), email = "chris@plotly.com"), person("Ryan Patrick", "Kyle", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5829-9867"), email = "ryan@plotly.com"), person("Carson", "Sievert", role = c("aut"), comment = c(ORCID = "0000-0002-4958-2844")), person("Hammad", "Khan", role = c("aut"), email = "hammadkhan@plotly.com"), person(family = "Plotly Technologies", role = "cph"))
Description: A framework for building analytical web applications, Dash offers a pleasant and productive development experience. No JavaScript required.
Depends:
R (>= 3.0.2)
Imports:
dashHtmlComponents (== 1.0.3),
dashCoreComponents (== 1.10.1),
dashTable (== 4.8.1),
dashCoreComponents (== 1.10.2),
dashTable (== 4.9.0),
R6,
fiery (> 1.0.0),
routr (> 0.2.0),
Expand All @@ -33,8 +33,8 @@ Collate:
'print.R'
'internal.R'
Remotes: plotly/dash-html-components@e63acfa,
plotly/dash-core-components@5049379,
plotly/dash-table@9603c6c
plotly/dash-core-components@0770afb,
plotly/dash-table@75ac3d9
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Expand Down
19 changes: 13 additions & 6 deletions R/dash.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,16 @@ Dash <- R6::R6Class(
#' possible layout mis-specifications when registering a callback.
#' @param show_undo_redo Logical. Set to `TRUE` to enable undo and redo buttons for
#' stepping through the history of the app state.
#' @param update_title Character. Defaults to `Updating...`; configures the document.title
#' (the text that appears in a browser tab) text when a callback is being run.
#' Set to NULL or '' if you don't want the document.title to change or if you
#' want to control the document.title through a separate component or
#' clientside callback.
initialize = function(server = fiery::Fire$new(),
assets_folder = 'assets',
assets_url_path = '/assets',
assets_folder = "assets",
assets_url_path = "/assets",
eager_loading = FALSE,
assets_ignore = '',
assets_ignore = "",
serve_locally = TRUE,
meta_tags = NULL,
url_base_pathname = "/",
Expand All @@ -69,7 +74,8 @@ Dash <- R6::R6Class(
external_stylesheets = NULL,
compress = TRUE,
suppress_callback_exceptions = FALSE,
show_undo_redo = FALSE) {
show_undo_redo = FALSE,
update_title="Updating...") {

# argument type checking
assertthat::assert_that(inherits(server, "Fire"))
Expand All @@ -96,6 +102,7 @@ Dash <- R6::R6Class(
self$config$external_scripts <- external_scripts
self$config$external_stylesheets <- external_stylesheets
self$config$show_undo_redo <- show_undo_redo
self$config$update_title <- update_title

# ------------------------------------------------------------
# Initialize a route stack and register a static resource route
Expand Down Expand Up @@ -1663,7 +1670,7 @@ Dash <- R6::R6Class(
config <- sprintf("<script id='_dash-config' type='application/json'> %s </script>", to_JSON(self$config))

if (is.null(private$name))
private$name <- 'dash'
private$name <- 'Dash'

if (!is.null(private$custom_index)) {
string_index <- glue::glue(private$custom_index, .open = "{%", .close = "%}")
Expand All @@ -1681,7 +1688,7 @@ Dash <- R6::R6Class(
config <- sprintf("<script id='_dash-config' type='application/json'> %s </script>", to_JSON(self$config))

if (is.null(private$name))
private$name <- 'dash'
private$name <- 'Dash'

if (!is.null(private$custom_index)) {
string_index <- glue::glue(private$custom_index, .open = "{%", .close = "%}")
Expand Down
16 changes: 8 additions & 8 deletions R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
all_files = FALSE),
class = "html_dependency"),
`dash-renderer-dev` = structure(list(name = "dash-renderer",
version = "1.5.1",
version = "1.6.0",
src = list(href = "https://unpkg.com/dash-renderer@1.5.1",
file = "lib/dash-renderer@1.5.1"),
file = "lib/dash-renderer@1.6.0"),
meta = NULL,
script = "dash-renderer/dash_renderer.dev.js",
stylesheet = NULL,
Expand All @@ -48,9 +48,9 @@
all_files = FALSE),
class = "html_dependency"),
`dash-renderer-map-dev` = structure(list(name = "dash-renderer",
version = "1.5.1",
version = "1.6.0",
src = list(href = "https://unpkg.com/dash-renderer@1.5.1",
file = "lib/dash-renderer@1.5.1"),
file = "lib/dash-renderer@1.6.0"),
meta = NULL,
script = "dash-renderer/dash_renderer.dev.js.map",
stylesheet = NULL,
Expand All @@ -60,9 +60,9 @@
all_files = FALSE),
class = "html_dependency"),
`dash-renderer-prod` = structure(list(name = "dash-renderer",
version = "1.5.1",
version = "1.6.0",
src = list(href = "https://unpkg.com/dash-renderer@1.5.1",
file = "lib/dash-renderer@1.5.1"),
file = "lib/dash-renderer@1.6.0"),
meta = NULL,
script = "dash-renderer/dash_renderer.min.js",
stylesheet = NULL,
Expand All @@ -72,9 +72,9 @@
all_files = FALSE),
class = "html_dependency"),
`dash-renderer-map-prod` = structure(list(name = "dash-renderer",
version = "1.5.1",
version = "1.6.0",
src = list(href = "https://unpkg.com/dash-renderer@1.5.1",
file = "lib/dash-renderer@1.5.1"),
file = "lib/dash-renderer@1.6.0"),
meta = NULL,
script = "dash-renderer/dash_renderer.min.js.map",
stylesheet = NULL,
Expand Down
Loading