Skip to content

Rangeslider Plotly.relayout bugfix #568

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 4 commits into from
May 25, 2016
Merged

Rangeslider Plotly.relayout bugfix #568

merged 4 commits into from
May 25, 2016

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented May 25, 2016

Fixes #557

In brief:

  • Refactor the set method for the slider to set the slider, and plot data separately
  • Check for both "types" of relayout update
  • Remove Lib.promiseError which itself threw errors because err.stack is undefined - Error.prototype.stack is a non-standard feature that we shouldn't rely on, and Lib.promiseError is currently not being used anywhere in plotly.js or streambed.

@mdtusz mdtusz added bug something broken status: reviewable labels May 25, 2016
* or <promise>.catch(Plotly.Lib.promiseError)
* TODO: I guess we need another step to send this error to Sentry?
*/
lib.promiseError = function(err) { console.log(err, err.stack); };
Copy link
Contributor

Choose a reason for hiding this comment

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

🔪 🎉

@etpinard
Copy link
Contributor

💃

@mdtusz mdtusz merged commit 3b5178c into master May 25, 2016
@mdtusz mdtusz deleted the rangeslider-update branch May 25, 2016 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants