-
-
Notifications
You must be signed in to change notification settings - Fork 31
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.2.0 #162
Dash for R v0.2.0 #162
Conversation
* 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 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
add always
* ✨ 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
# serving order of CSS and JS tags: package -> external -> assets | ||
css_tags <- paste(c(css_deps, | ||
css_external, | ||
css_assets), | ||
collapse = "\n") | ||
|
||
collapse = "\n ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this whitespace necessary here, and in the following instances of css_tags
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is an attempt to properly indent the tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, and based on the testing of the dev
branch of dashR
for the past few weeks the initial issues with the dev_tools
and new features have been cleared up, and the documentation explains the code well.
💃
This PR merges in changes to Dash for the v0.2.0 release. The major improvements include:
dashNoUpdate()
dash-renderer
updated to v1.2.2The full list of changes follows below.
Added
brotli
,gzip
, ordeflate
#157<meta>
tags to index #142use_viewer = TRUE
dashNoUpdate()
#111app$get_asset_url
when app is loaded viasource()
orAPP_ROOT_PATH
environment variable is defined #160url_base_pathname
added; mimics functionality in Dash for Python, sets defaults forroutes_pathname_prefix
andrequests_pathname_prefix
when not otherwise provided #161Changed
dash-renderer
updated to v1.2.2 #137reqres
, patch applied upstream thomasp85/reqres#9pruned_errors
parameter has been renamed todev_tools_prune_errors
#113Fixed
debug = TRUE
anduse_viewer = TRUE
#137reqres
package to handle cookies containing multiple "=" #122get_asset_url
checksgetAppPath()
as well asDASH_APP_ROOT_PATH
environment variable when invoked #161