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

chore: remove the old element ast clearing code #33905

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

w33ble
Copy link
Contributor

@w33ble w33ble commented Mar 27, 2019

Code is no longer be needed, this was changed over a year ago.

Very early on, I was storing the ast value of an expression on the element object, along with the expression. But the ast value can, and should, be calculated, the only piece we need to store is the expression, otherwise it gets out of sync.

The code here existed so that the value would be purged from the user's state. But the fix went in over a year ago, on Dec 12, 2017, so it's unlikely someone will upgrade from one of the super old technical preview versions to something newer (the future 7.1.0 release in this case).

should no longer be needed, this was changed over a year ago
@w33ble w33ble added review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v8.0.0 v7.2.0 labels Mar 27, 2019
@w33ble w33ble requested a review from cqliu1 March 27, 2019 00:05
@w33ble w33ble requested a review from a team as a code owner March 27, 2019 00:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

Copy link
Contributor

@cqliu1 cqliu1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@w33ble w33ble merged commit 68a57af into elastic:master Mar 27, 2019
w33ble added a commit to w33ble/kibana that referenced this pull request Mar 27, 2019
should no longer be needed, this was changed over a year ago
w33ble added a commit that referenced this pull request Mar 27, 2019
Backports the following commits to 7.x:
 - chore: remove the old element ast clearing code  (#33905)
joelgriffith pushed a commit that referenced this pull request Mar 27, 2019
should no longer be needed, this was changed over a year ago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants