Skip to content

[TSVB] add controls to toggle disable/enable individual series and annotations - #33107

Merged
alexwizp merged 3 commits into
elastic:masterfrom
alexwizp:feature/23210
Mar 18, 2019
Merged

alexwizp merged 3 commits into
elastic:masterfrom
alexwizp:feature/23210

Conversation

@alexwizp

Copy link
Copy Markdown
Contributor

Fix: #23210

Summary

[TSVB] add controls to toggle disable/enable individual series and annotations

Screens:

Series:
toggle_series

Annotations:
toggle_anotations

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@markov00 markov00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code LGTM. Tested locally and works fine.
The main concern is on the markdown implementation: on all the other we just hide the series without any error. On Markdown, if we hide a series that was previously added in the markdown it will throw an error. What if we just temporary hide every variables that are related to hidden series?

I've also rised a concern on EUI tooltip that behave in a strange when only one series is present and the hide/show button is clicked rapidly elastic/eui#1734.

@alexwizp

Copy link
Copy Markdown
Contributor Author

@markov00 Thanks, I've checked this one for Markdown. I think we can disable this functionality for this panel. I'll update my PR

@alexwizp
alexwizp requested a review from markov00 March 15, 2019 12:18
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@markov00 markov00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Latest changes LGTM.

@alexwizp
alexwizp merged commit 0f17fbc into elastic:master Mar 18, 2019
alexwizp added a commit to alexwizp/kibana that referenced this pull request Mar 18, 2019
alexwizp added a commit to alexwizp/kibana that referenced this pull request Mar 18, 2019
…notations (elastic#33107)

# Conflicts:
#	src/legacy/core_plugins/metrics/server/lib/vis_data/get_series_data.js
#	src/legacy/core_plugins/metrics/server/lib/vis_data/table/process_bucket.js
alexwizp added a commit that referenced this pull request Mar 18, 2019
…notations (#33107) (#33407)

# Conflicts:
#	src/legacy/core_plugins/metrics/server/lib/vis_data/get_series_data.js
#	src/legacy/core_plugins/metrics/server/lib/vis_data/table/process_bucket.js
@alexwizp
alexwizp deleted the feature/23210 branch January 4, 2020 08:10
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants