Skip to content

adding reload indices button to index management#27033

Merged
bmcconaghy merged 2 commits intoelastic:masterfrom
bmcconaghy:add_reload_indices_button_index_management
Dec 12, 2018
Merged

adding reload indices button to index management#27033
bmcconaghy merged 2 commits intoelastic:masterfrom
bmcconaghy:add_reload_indices_button_index_management

Conversation

@bmcconaghy
Copy link
Contributor

Closes #26710

This PR adds a reload indices button to the index table in index management:
image

This button clears filters and reloads the whole list of indices. This will allow the user to see indices that have been added since the first visit to the index table.

This PR also refactors the index list component to remove the container and moves all behavior to the index list component.

@bmcconaghy bmcconaghy requested a review from sebelga December 12, 2018 14:13
@bmcconaghy bmcconaghy added v7.0.0 v6.6.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// labels Dec 12, 2018
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

Tested locally. LGTM overall, just had a few comments/questions.

Also, if the refresh request is in flight for a long time, it might be nice to show the user some feedback by swapping out the "reload" icon with a spinner in the "Reload" button. Note that this adds a slight bit of complexity because I think we'd only want to show it if the user has clicked the button, and not when one of the interval-based reloads is taking place.

Slightly unrelated, but I think we also need to show a spinner for the initial load (but not for reloads). In the current UX, the table just says there are indices while it's loading:

image

@bmcconaghy
Copy link
Contributor Author

@cjcenizal I addressed all your feedback. Please take another look when you get a chance.

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

LGTM!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@bmcconaghy bmcconaghy merged commit 0c20f04 into elastic:master Dec 12, 2018
@bmcconaghy bmcconaghy deleted the add_reload_indices_button_index_management branch December 12, 2018 20:22
bmcconaghy added a commit to bmcconaghy/kibana that referenced this pull request Dec 12, 2018
* adding reload indices button to index management

* addressing PR feedback
bmcconaghy added a commit that referenced this pull request Dec 12, 2018
* adding reload indices button to index management

* addressing PR feedback
@cjcenizal cjcenizal added the Feature:Index Management Index and index templates UI label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v6.6.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a "refresh indices list" button to Index management view

3 participants