-
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
[Discover] Show loading indicator when DataView is switched #177240
[Discover] Show loading indicator when DataView is switched #177240
Conversation
/ci |
/ci |
/ci |
1 similar comment
/ci |
…ange-data-view-behavior
…ange-data-view-behavior
/ci |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
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.
Nice improvement! LGTM 👍
src/plugins/discover/public/application/main/hooks/utils/change_data_view.test.ts
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/application/main/services/discover_internal_state_container.ts
Outdated
Show resolved
Hide resolved
…e_data_view.test.ts Co-authored-by: Julia Rechkunova <[email protected]>
💚 Build Succeeded
Metrics [docs]Async chunks
Public APIs missing exports
History
To update your PR or re-run it, just comment with: cc @kertal |
…177240) Interating a loading indicator after 300ms when a data view is being switched and its field caps request takes longer e.g. because it hasn't been cached before. This is providing a better visual feedback when there's a loading process in progress. For faster cached requests the loading indicate isn't displayed, preventing a flickered rendering in this case. Co-authored-by: Julia Rechkunova <[email protected]>
…177240) Interating a loading indicator after 300ms when a data view is being switched and its field caps request takes longer e.g. because it hasn't been cached before. This is providing a better visual feedback when there's a loading process in progress. For faster cached requests the loading indicate isn't displayed, preventing a flickered rendering in this case. Co-authored-by: Julia Rechkunova <[email protected]>
Summary
Fixes #167706
This PR is showing an EuiProgres bar after 300ms when a data view is being switched and its field caps request takes longer e.g. because it hasn't been cached before. This is providing a better visual feedback indicating the there's a loading process in progress. For faster / cached requests the loading indicate isn't displayed, preventing a flickered rendering in this case.
Here's an example when initially loading a larger CCS data view
Kapture.2024-02-23.at.10.34.41.mp4
Checklist