Skip to content

Dash for R v0.4.0 #196

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

Merged
merged 88 commits into from
May 6, 2020
Merged

Dash for R v0.4.0 #196

merged 88 commits into from
May 6, 2020

Conversation

rpkyle
Copy link
Contributor

@rpkyle rpkyle commented May 6, 2020

This PR merges in changes to Dash for the v0.4.0 release. The major improvements include:

  • inline clientside callbacks
  • support for asset serving of component library dependencies with extensions other than .css or .js

The full list of changes follows below.


Added

  • Support for inline clientside callbacks in JavaScript #140
  • Support for arbitrary file extensions for assets within component libraries #186
  • Dash for R now provides a show_undo_redo parameter as in Dash for Python #194

Changed

  • dash-renderer updated to v1.4.1 #195
  • dashHtmlComponents updated to v1.0.3
  • dashCoreComponents updated to v1.10.0
  • dashTable updated to v4.7.0

rpkyle and others added 30 commits August 23, 2019 09:23
* rename pruned_errors to prune_errors

* rename pruned to prune

* provide support for no_update in Dash for R (#111)
* rename pruned_errors to prune_errors

* rename pruned to prune

* 🔨 handle stop errors

* 🚨 add test for stop errors
add more trace for pytest
* Add line number context to stack traces when srcrefs are available (#133)

* ✨ Support line #s when in debug mode

* ✨ Add use_viewer option for RStudio

* 🚨 Add soft and hard hot reloading tests
* ✨ initial support for meta tags

* support arbitrary tags

* 🚨 add tests

* 🔬 add asserts

* add reference to meta tag PR

* ⏩ indent meta tags
* add eager_loading parameter

* 📛 add buildFingerprint

* 📛 add checkFingerprint

* use getDependencyPath, + 🐾/Etag support

* updates to support async

* ✨ properly support gz compression

* 🐛 post-async fixes for CSS handling
…races (#137)

* 🚚 upgrade dash-renderer to v1.2.2, 🔨 fix stack traces

* 🚚 add polyfill.js
* refactor resolvePrefix

* camel case resolve_prefix

* Update R/utils.R

Co-authored-by: HammadTheOne <[email protected]>
Marc-André Rivet and others added 18 commits April 23, 2020 17:16
…nent libraries (#186)

* ✨ +binary file loader to dash_suite handler
* use guess_type in get_mimetype

* - use DashPy arbitrary extension branch
- test arbitrary extension + snapshots

* use the styled_app...

* wait for font to be loaded

* changelog

* improve test!

Co-authored-by: Marc-André Rivet <[email protected]>
Add show_undo_redo parameter to Dash for R
@rpkyle rpkyle self-assigned this May 6, 2020
@rpkyle rpkyle marked this pull request as ready for review May 6, 2020 02:24
@rpkyle rpkyle requested a review from Marc-Andre-Rivet May 6, 2020 02:24
@@ -6,7 +6,7 @@ jobs:
"test": &test-template
working_directory: ~/dashr
docker:
- image: byronz/dashr:ci
- image: plotly/dashr:ci
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

pip install -e git+https://github.com/plotly/dash.git#egg=dash[testing]
git clone --depth 1 https://github.com/plotly/dash.git dash-main
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ..
cd dash-main/\@plotly/dash-generator-test-component-nested && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexcjohnson has simplified this in a previous PR - you can run cd dash-main && npm run setup-tests && cd .. instead for the test components

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. Dev to master, no need to fix it. Just take note :)

Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@rpkyle rpkyle merged commit d20cacf into master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants