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

[Monitoring] Fully control the in memory table pagination/sorting properties #85862

Merged
merged 6 commits into from
Jan 4, 2021

Conversation

chrisronline
Copy link
Contributor

@chrisronline chrisronline commented Dec 14, 2020

Resolves #85318
Resolves #83175

In elastic/eui#4369, it seems that we need to fully control the pagination and sorting for in memory tables (which is the majority of our tables). This PR addresses that by updating the pagination/sorting properties on onTableChange and then ensuring the component is re-rendered.

The following listing pages are affected:

  • ES index listing
  • Beats listing
  • APM listing
  • Kibana listing
  • Logstash nodes listing

The ES nodes and Logstash pipelines use server-side pagination/sorting and are not affected by this issue.

@chrisronline chrisronline self-assigned this Dec 15, 2020
@chrisronline chrisronline marked this pull request as ready for review December 15, 2020 15:51
@chrisronline chrisronline requested a review from a team December 15, 2020 15:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@chrisronline chrisronline changed the title [Monitoring] Fully control the basic table pagination/sorting properties [Monitoring] Fully control the in memory table pagination/sorting properties Dec 15, 2020
@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@igoristic igoristic left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@chrisronline
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
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
monitoring 979.3KB 979.8KB +495.0B

Distributable file count

id before after diff
default 47266 48026 +760

History

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

@chrisronline chrisronline merged commit aeaa0c2 into elastic:master Jan 4, 2021
@chrisronline chrisronline deleted the monitoring/table_Fix branch January 4, 2021 19:43
chrisronline added a commit to chrisronline/kibana that referenced this pull request Jan 4, 2021
…perties (elastic#85862)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>
chrisronline added a commit to chrisronline/kibana that referenced this pull request Jan 4, 2021
…perties (elastic#85862)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>
chrisronline added a commit that referenced this pull request Jan 4, 2021
…perties (#85862) (#87218)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
chrisronline added a commit that referenced this pull request Jan 4, 2021
…perties (#85862) (#87217)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
chrisronline added a commit to chrisronline/kibana that referenced this pull request Feb 5, 2021
…perties (elastic#85862)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/plugins/monitoring/public/views/apm/instances/index.js
chrisronline added a commit that referenced this pull request Feb 9, 2021
…perties (#85862) (#90430)

* Fully control the basic table pagination/sorting properties

* Not necessary

* Support index listing page

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/plugins/monitoring/public/views/apm/instances/index.js

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants