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

[Logs UI] Fix chart and table state loss due to loading indica… #49356

Merged

Conversation

weltenwort
Copy link
Member

@weltenwort weltenwort commented Oct 25, 2019

Summary

This changes the result loading indicators of the log rate analysis page such that they are rendered as an overlay to the existing panels. This has the advantage that the page layout doesn't jump during the loading process and the charts and table maintain their filter and expansion states.

fixes #48767

Preview

grafik

Checklist

For maintainers

@weltenwort weltenwort self-assigned this Oct 25, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@weltenwort weltenwort force-pushed the logs-ui-analysis-results-loading-overlay branch from ad7b5de to 1c81baf Compare October 28, 2019 09:48
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@weltenwort weltenwort added Feature:Logs UI Logs UI feature review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.5.0 v7.6.0 v8.0.0 labels Oct 28, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@weltenwort weltenwort added the release_note:skip Skip the PR/issue when compiling release notes label Oct 28, 2019
@weltenwort weltenwort changed the title [Logs UI] Fix chart state loss due to loading indicators [Logs UI] Fix chart and table state loss due to loading indicators Oct 28, 2019
@weltenwort weltenwort marked this pull request as ready for review October 28, 2019 11:49
@weltenwort weltenwort requested a review from a team as a code owner October 28, 2019 11:49
Copy link
Contributor

@Zacqary Zacqary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, and probably very useful for other parts of the UI too! I feel like using this loading indicator for #45473 could have been an even better solution

@weltenwort weltenwort changed the title [Logs UI] Fix chart and table state loss due to loading indicators [Logs UI] Fix chart and table state loss due to loading indica… Oct 29, 2019
@weltenwort weltenwort merged commit 51df8af into elastic:master Oct 29, 2019
@weltenwort weltenwort deleted the logs-ui-analysis-results-loading-overlay branch October 29, 2019 10:51
weltenwort added a commit to weltenwort/kibana that referenced this pull request Oct 29, 2019
…tic#49356)

This changes the result loading indicators of the log rate analysis page such that they are rendered as an overlay to the existing panels. This has the advantage that the page layout doesn't jump during the loading process and the charts and table maintain their filter and expansion states.
weltenwort added a commit to weltenwort/kibana that referenced this pull request Oct 29, 2019
…tic#49356)

This changes the result loading indicators of the log rate analysis page such that they are rendered as an overlay to the existing panels. This has the advantage that the page layout doesn't jump during the loading process and the charts and table maintain their filter and expansion states.
weltenwort added a commit that referenced this pull request Oct 29, 2019
Backports the following commits to 7.x:
 - [Logs UI] Fix chart and table state loss due to loading indica… (#49356)
weltenwort added a commit that referenced this pull request Oct 29, 2019
Backports the following commits to 7.5:
 - [Logs UI] Fix chart and table state loss due to loading indica… (#49356)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes review Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.5.0 v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs UI] Analysis page loses state on refreshing date interval
3 participants