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

Clear HC charts when the date range changes #81

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Sep 1, 2021

Signed-off-by: Tyler Ohlsen ohltyler@amazon.com

Description

Currently, if a user selects a heatmap cell, the (1) anomaly chart, (2) anomaly table, and (3) feature chart are populated below. When the user changes any of the heatmap chart filters (top 10 / top 20 / top 30, sort by # occurrences / sort by severity, etc.), the data in these 3 components are cleared, since new cells will be generated, and the previously-selected one may not be available anymore.

However, changing the date range will not clear the state, even though it is also directly affecting the heatmap chart, and could lead to confusing UI if the results aren't cleared. This PR fixes that by clearing data when the date range is changed.

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler ohltyler added the v1.1.0 Version 1.1.0 label Sep 1, 2021
@ohltyler ohltyler requested review from kaituo and ylwu-amzn September 1, 2021 21:03
@ohltyler ohltyler merged commit b66c8f3 into opensearch-project:main Sep 2, 2021
@ohltyler ohltyler deleted the hc-bug branch September 2, 2021 15:57
ohltyler added a commit to ohltyler/anomaly-detection-dashboards-plugin-1 that referenced this pull request Sep 2, 2021
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
ohltyler added a commit that referenced this pull request Sep 2, 2021
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler ohltyler added the bug Something isn't working label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.1.0 Version 1.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants