Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Plotlyjs 1.49.0 upgrade - #589

Merged
shammamah-zz merged 1 commit into
masterfrom
plotlyjs-1.49.0-upgrade
Jul 30, 2019
Merged

shammamah-zz merged 1 commit into
masterfrom
plotlyjs-1.49.0-upgrade

Conversation

@shammamah-zz

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

Copy link
Copy Markdown
Contributor

Closes #577

@alexcjohnson alexcjohnson left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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)

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

Copy link
Copy Markdown
Contributor

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 ☝️

Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread src/components/Graph.react.js Outdated
/**
* Delay for registering a double-click event in ms
*/
doubleClickDelay: PropTypes.number,

Copy link
Copy Markdown
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
Copy Markdown
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. :)

@shammamah-zz
shammamah-zz force-pushed the plotlyjs-1.49.0-upgrade branch from a43dfc8 to 7c97515 Compare July 30, 2019 18:32

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

Copy link
Copy Markdown
Contributor

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 force-pushed the plotlyjs-1.49.0-upgrade branch from 87effe5 to 7afc9aa Compare July 30, 2019 19:06
@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

rpkyle commented Jul 31, 2019

Copy link
Copy Markdown
Contributor

@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