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

[BUG] Interval for histogram in event analytics is inconsistent #1249

Closed
derek-ho opened this issue Nov 4, 2022 · 3 comments
Closed

[BUG] Interval for histogram in event analytics is inconsistent #1249

derek-ho opened this issue Nov 4, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@derek-ho
Copy link
Collaborator

derek-ho commented Nov 4, 2022

What is the bug?
Clicking in the patterns table seems to reset the selected interval, but the selected interval in the dropdown is not changed - this should be consistent, either reset to default and have dropdown change with it or keep the same interval and update the chart accordingly

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to event analytics and run a query
  2. histogram interval says minute but is actually year
  3. change minute to hour
  4. change hour back to minute
  5. the histogram interval is now minute
  6. update state (update the query, or click a pattern in the patterns table to add a filter)
  7. the histogram interval is back to year

What is the expected behavior?
The interval should persist

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@derek-ho derek-ho added bug Something isn't working untriaged labels Nov 4, 2022
@joshuali925 joshuali925 changed the title Patterns Table [BUG] [BUG] Interval for histogram in event analytics resets when there's a state change Nov 4, 2022
@joshuali925
Copy link
Member

I updated the issue title and added reproduction steps, this is not specifically to patterns but more of an issue in event explorer

@joshuali925 joshuali925 changed the title [BUG] Interval for histogram in event analytics resets when there's a state change [BUG] Interval for histogram in event analytics is inconsistent Nov 4, 2022
@derek-ho
Copy link
Collaborator Author

derek-ho commented Nov 4, 2022

Thanks! Will try to work on a fix next week to get more familiar with the code base

@derek-ho
Copy link
Collaborator Author

Fixed with PR: #1266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants