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

Discover and visualization set appStatus.dirty before saving new #11156

Merged
merged 1 commit into from
Apr 14, 2017

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented Apr 11, 2017

Sharing relies upon appStatus.dirty to determine whether changes have been made that must be saved. This wasn't being set correctly in Discover and Visualize when the user first creates a new object and hasn't saved it yet.

Sharing relies upon appStatus.dirty to determine whether changes
have been made that must be saved. This wasn't being set correctly in
Discover and Visualize when the user first creates a new object and
hasn't saved it yet.
@kobelb kobelb added :Discovery Feature:Visualizations Generic visualization features (in case no more specific feature label is available) v5.5.0 v6.0.0 labels Apr 11, 2017
@kobelb kobelb requested review from thomasneirynck and Bargs April 11, 2017 15:44
@epixa
Copy link
Contributor

epixa commented Apr 11, 2017

@kobelb Does this affect 5.4? If so, we should get it in there as well. We can still fix bugs there.

@kobelb
Copy link
Contributor Author

kobelb commented Apr 11, 2017

It's not a user-impacting bug at the moment, as the existing sharing functionality is also parsing the url to determine whether it's been saved or not and isn't solely relying upon isDirty.

Copy link
Contributor

@Bargs Bargs left a comment

Choose a reason for hiding this comment

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

LGTM

@kobelb kobelb merged commit cb1aeaf into elastic:master Apr 14, 2017
@kobelb kobelb deleted the appstate-dirty-new branch April 14, 2017 16:40
kobelb added a commit that referenced this pull request Apr 14, 2017
)

Sharing relies upon appStatus.dirty to determine whether changes
have been made that must be saved. This wasn't being set correctly in
Discover and Visualize when the user first creates a new object and
hasn't saved it yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:fix v5.5.0 v6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants