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

Plotlyjs 1.49.0 upgrade #589

Merged
merged 1 commit into from
Jul 30, 2019
Merged

Plotlyjs 1.49.0 upgrade #589

merged 1 commit into from
Jul 30, 2019

Conversation

shammamah-zz
Copy link
Contributor

@shammamah-zz shammamah-zz commented Jul 30, 2019

Closes #577

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.

@shammamah Nice catch cleaning the old ones out of inst/deps before any more pile up! 💃

@rpkyle Let's push this through now for the current update to get properly applied, but should we be emptying out that dir during package generation, before refilling it with files found from the Python side? Is there ever a case we need to leave something in that dir that's not found in Python? Please make an issue in the dash repo to follow up on this. Then hopefully future plotly.js updates here can leave inst/deps alone, and it will be updated during the release process.

@alexcjohnson
Copy link
Collaborator

(oh looks like there's a new config option that needs propagating to the component props... anyway the 💃 stands once you get tests to pass)

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.

Small stuff: release tag in changelog and detailed comments about 1.49.0.

Otherwise, new prop as mentioned ☝️

CHANGELOG.md Outdated Show resolved Hide resolved
/**
* Delay for registering a double-click event in ms
*/
doubleClickDelay: PropTypes.number,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Marc-Andre-Rivet The prop in plotly.js has min/max values defined, but I don't think there's a way to do that here. Should I add the min/max values to the docstring?

Copy link
Contributor

Choose a reason for hiding this comment

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

You're right. Proptypes support runtime validation but our use of react-docgen does not. The docstring is best. :)

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.

💃 All that's left is watching the tests pass.

Add auto-generated files.

Update CHANGELOG.

Add link to PR.

Revert "Add auto-generated files."

This reverts commit 1a34c46.

Update external and local package locations.

Update CONTRIBUTING.md.

Remove old plotly.js dependency files.

feature summary for plotly.js 1.49

Add config options from plotly.js 1.49.0 release.

doubleClickDelay and showEditInChartStudio.

Add information about defaults and min/max to new props.

Update CHANGELOG.md

Co-Authored-By: Marc-André Rivet <Marc-Andre-Rivet@users.noreply.github.com>

Fix formatting.
@shammamah-zz shammamah-zz merged commit 066500b into master Jul 30, 2019
@shammamah-zz shammamah-zz deleted the plotlyjs-1.49.0-upgrade branch July 30, 2019 19:14
@rpkyle
Copy link
Contributor

rpkyle commented Jul 31, 2019

@shammamah Nice catch cleaning the old ones out of inst/deps before any more pile up! 💃

@rpkyle Let's push this through now for the current update to get properly applied, but should we be emptying out that dir during package generation, before refilling it with files found from the Python side? Is there ever a case we need to leave something in that dir that's not found in Python? Please make an issue in the dash repo to follow up on this. Then hopefully future plotly.js updates here can leave inst/deps alone, and it will be updated during the release process.

plotly/dash#847

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.

Bump Plotly.js to 1.49.0
4 participants