Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[ResponseOps][BUG] - UI fixes for Alerts Summary chart #137476
[ResponseOps][BUG] - UI fixes for Alerts Summary chart #137476
Changes from 10 commits
94ebd0c
0c170d2
5e2c8fd
08c7e23
2fd2fc9
cbef6f9
2720e2e
5c944e0
10068aa
1a27103
2c68d83
a2b98d4
1c96337
1fca5af
a7f4ca0
88ab8b5
2771ab6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tell me if I am wrong here, but I feel that you should also add the totalDayAlert too so you can avoid the white background when you have data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XavierM, excellent point. Actually,
totalDayAlert
was added to each day and calculated based on the number of alerts for that day.But then once the 2nd of alerts kicked in. The chart flipped upside down means the
totalDayAlert
(grey color) becomes at the bottom and the recovered and active at the top. I tried to fix that in many ways this morning but with no success and I don't want to spend more time on it as we all agreed.BTW, when we hover over the bar the gray bar appears again.
I think this limitation is ok for this version, what do you think @maciejforcone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can do it just like that -> https://github.com/fkanout/kibana/pull/3/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @XavierM. But it has exactly the same issue I mentioned -the chart is flipped. You need at least two days of data to see the issue.
Here is my commit where I deleted my solution after I saw the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I failed.... 😞 but I was also looking everywhere in kibana, and it looks like that nobody is doing the fake background like we do, maybe for good reason. I am wondering if we should remove it because if we are having alerts/data, we most likely not going to see this grey background anyway. It is better to be simplistic sometime.
what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XavierM, no worries! BTW, the only way I found to make it works is by making chart reading starting from the left, which means the today bar will be at the very left bar.
To answer your question. I don't mind removing the background/reference bars.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, after talking to @angorayc, we found a cool solution about it and now she might have to fix some other graph in security solution LOL.
The PR is re-open @fkanout