-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[RAC] Add loading and empty states to the alerts table - Take II #110504
[RAC] Add loading and empty states to the alerts table - Take II #110504
Conversation
The security page has more elements on top of the table and with the default height the spinner wasn't visible if the user didn't scroll. Make the container a bit shorter so the spinner goes more on top.
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
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.
This looks good on the observability alerts page, thank you. 👍
I couldn't get the security alerts page to show anything, so I couldn't check that.
I left a few stylistic nitpicks below. 😉
x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/timelines/public/components/t_grid/empty/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/timelines/public/components/t_grid/empty/index.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
@machadoum thanks for the review! Regarding the first point, I think we can keep only the spinner. Good catch with the filters! I think it's worth then leaving them in the UI even if they make it a bit dirtier. @mdefazio what do you think? |
@elasticmachine merge upstream |
@machadoum Thanks for pointing this out. It looks like they also disappear just when the data is trying to load (when Am I correct in seeing the following loading states within the DataGrid?:
From my understanding, Security uses |
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 tested it and it works fine. Approving it!
@mdefazio You are right, we do use EuiLoadingContent
for all tables on the Security Solution side.
Take a look at how it works after the last changes. What do you think?
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…stic#110504) Co-authored-by: Kibana Machine <[email protected]>
…stic#110504) Co-authored-by: Kibana Machine <[email protected]>
…0504) (#111109) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Alejandro Fernández Gómez <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…0504) (#111110) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Alejandro Fernández Gómez <[email protected]>
Summary
Closes #104923.
Closes #109375.
Closes #108432.
Implements the loading and empty states in the alerts table according to design
Screenshots
Observability
Security
Checklist
Delete any items that are not applicable to this PR.