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

fix: set uninitialized state when removeSpec action is called #739

Conversation

markov00
Copy link
Member

@markov00 markov00 commented Jul 6, 2020

Summary

This commit reset the chart state to not initialized when removing a spec. After #723 PR that
reduced the number of steps on the state machine when parsing, the removeSpec action wasn't
accounted on that refactoring causing side effects when removing/switching a spec on the chart
configuration due to the state being in an wrong status.

fix #738

Checklist

  • Unit tests were updated or added to match the most common scenarios

This commit reset the chart state to not initialized when removing a spec. After elastic#723 PR that
reduced the number of steps on the state machine when parsing, the removeSpec action wasn't
accounted on that refactoring causing side effects when removing/switching a spec on the chart
configuration due to the state being in an wrong status.

fix elastic#738
@markov00 markov00 added bug Something isn't working :specs Chart specifications related issue labels Jul 6, 2020
@markov00 markov00 merged commit 35b8caf into elastic:master Jul 6, 2020
@markov00 markov00 deleted the 2020_07_06-fix_wrong_state_when_removing_spec branch July 6, 2020 10:25
markov00 pushed a commit that referenced this pull request Jul 6, 2020
# [19.8.0](v19.7.0...v19.8.0) (2020-07-06)

### Bug Fixes

* set uninitialized state when removeSpec action is called ([#739](#739)) ([35b8caf](35b8caf)), closes [#723](#723) [#738](#738)

### Features

* **annotation:** enable marker positioning on LineAnnotation ([#737](#737)) ([ab5e413](ab5e413)), closes [#701](#701)
* add custom annotation tooltip ([#727](#727)) ([435c67c](435c67c))
@markov00
Copy link
Member Author

markov00 commented Jul 6, 2020

🎉 This PR is included in version 19.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Jul 6, 2020
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Issue released publicly :specs Chart specifications related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong status when removing a spec from the configuration
2 participants