Skip to content
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

Drop Plotly.Queue from the API #5423

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Drop Plotly.Queue from the API #5423

merged 2 commits into from
Jan 19, 2021

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Jan 19, 2021

cc: #5395

@plotly/plotly_js

@alexcjohnson Shoud we remove lib/queue as well?

@archmoj archmoj added this to the NEXT milestone Jan 19, 2021
@nicolaskruchten
Copy link
Contributor

Is this an inbuilt undo/redo queue? Let's not get rid of it altogether, although hiding the API makes sense to me.

if(!Plotly.Queue) {
Plotly.Queue = {
if(!Queue) {
Queue = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like this fallback must be useless at this point?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems so.
Addressed in 0cac2f5.

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.

Looks good, just the one test comment then I think this is good to go. 💃

@nicolaskruchten this queue is only populated by restyle and relayout, not react. I agree that we shouldn't remove its internals yet, though if nobody objects after using v2 I think we can do that as a followup to simplify and save some bytes.

@archmoj archmoj merged commit 78140c9 into master Jan 19, 2021
@archmoj archmoj deleted the drop-Plotly.Queue branch January 19, 2021 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants