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

Update dashCoreComponents package in R to 0.44.0 #482

Merged
merged 9 commits into from
Mar 10, 2019
Merged

Conversation

rpkyle
Copy link
Contributor

@rpkyle rpkyle commented Mar 8, 2019

In addition to updating dash_core_components.min.js and dash_core_components.dev.js to version 0.44.0, and including plotly-1.45.0.min.js, this PR also aims to incorporate support for loading_state in "transpiled" dashR components.

Some simplification of the component generation statements in package.json is proposed as well.

@rpkyle rpkyle self-assigned this Mar 8, 2019
@rpkyle rpkyle requested a review from alexcjohnson March 8, 2019 18:29
@rpkyle rpkyle changed the title Update dashHtmlComponents package in R to 0.44.0 Update dashCoreComponents package in R to 0.44.0 Mar 8, 2019
package.json Outdated
"build:py": "node ./extract-meta src/components > dash_core_components/metadata.json && cp package.json dash_core_components && dash-generate-components ./src/components dash_core_components",
"build:r": "node ./extract-meta src/components > dash_core_components/metadata.json && cp package.json dash_core_components && dash-generate-components ./src/components dash_core_components --r-prefix 'core'",
"build:py": "dash-generate-components ./src/components dash_core_components",
"build:r": "dash-generate-components ./src/components dash_core_components --r-prefix 'dcc'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Again, let's 🔪 extract-meta

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in 2a78084

@@ -10,7 +10,7 @@ Checklist is a component that encapsulates several checkboxes. The values and la
}

\usage{
coreChecklist(id=NULL, options=NULL, values=NULL, className=NULL, style=NULL, inputStyle=NULL, inputClassName=NULL, labelStyle=NULL, labelClassName=NULL, ...)
dccChecklist(id=NULL, options=NULL, values=NULL, className=NULL, style=NULL, inputStyle=NULL, inputClassName=NULL, labelStyle=NULL, labelClassName=NULL, loading_state=NULL, ...)
Copy link
Collaborator

Choose a reason for hiding this comment

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

These ones still have ... at the end, but looks like the components themselves lost that a while back?

Copy link
Contributor Author

@rpkyle rpkyle Mar 10, 2019

Choose a reason for hiding this comment

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

Thanks again for noting this -- it turns out there were actually two separate issues to address.

This has been fixed in plotly/dash#638; when that PR is merged, ... will only appear when wildcards are supported by the component.

Copy link
Contributor Author

@rpkyle rpkyle Mar 10, 2019

Choose a reason for hiding this comment

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

The components being merged here were 'transpiled' using the updated code from the aforementioned PR ☝️, so the stray ellipsis has been 🔪.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

  • 🔪 extract-meta
  • open an issue to come back to the ... in the docs
  • 💃

@rpkyle rpkyle merged commit 855748f into master Mar 10, 2019
@rpkyle rpkyle deleted the 0.44.0-issue591 branch March 10, 2019 02:59
rpkyle added a commit that referenced this pull request Mar 28, 2019
#482 renamed core* to dcc*, coreLoading.R is not even exported, so it can be safely deleted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants