Skip to content

[7.x] [Security Solution][Detections] - Fix loading indicators in the rules management table (#91925)#92270

Merged
banderror merged 2 commits intoelastic:7.xfrom
banderror:backport/7.x/pr-91925
Feb 24, 2021
Merged

[7.x] [Security Solution][Detections] - Fix loading indicators in the rules management table (#91925)#92270
banderror merged 2 commits intoelastic:7.xfrom
banderror:backport/7.x/pr-91925

Conversation

@banderror
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

@banderror banderror added the backport This PR is a backport of another PR label Feb 22, 2021
@banderror banderror enabled auto-merge (squash) February 22, 2021 19:27
@banderror banderror self-assigned this Feb 22, 2021
@banderror banderror force-pushed the backport/7.x/pr-91925 branch from b659613 to 2439c01 Compare February 23, 2021 11:41
… management table (elastic#91925)

**Base PR:** elastic#91342
**Fixes:** elastic#91336

## Summary

This PR fixes loading indicators used in the rules management table.

- [Added] Blocking indicator. We show a spinner and "freeze" (fade out) the table when any of these changes: filters, sorting, pagination, manual click on Refresh button.
- [Adjusted] Non-blocking indicator. We show a non-blocking "ribbon" (progress bar) only when auto-refresh is in progress.
- Initial loading indicator. We show it only on the first table load.

Code and tests are slightly adjusted. Things to note are marked below in additional GH comments.

Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
@banderror banderror force-pushed the backport/7.x/pr-91925 branch from 2439c01 to 7ed2c7c Compare February 24, 2021 10:00
@banderror
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 7.7MB 7.7MB +878.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @banderror

@banderror banderror merged commit be1f3cc into elastic:7.x Feb 24, 2021
@banderror banderror deleted the backport/7.x/pr-91925 branch February 24, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants