Skip to content

[7.x] [Index management] Add support in url for hidden toggle (#66715)#67166

Merged
jloleysens merged 1 commit intoelastic:7.xfrom
jloleysens:backport/7.x/pr-66715
May 22, 2020
Merged

[7.x] [Index management] Add support in url for hidden toggle (#66715)#67166
jloleysens merged 1 commit intoelastic:7.xfrom
jloleysens:backport/7.x/pr-66715

Conversation

@jloleysens
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* First iteration of supporting hidden indices in indices table

Tests probably have broken

* Remove unused code

* Fix logic when calling get index endpoint with empty array

Also remove unused translations

* First iteration of new flag being passed in through URL

* Added includeHidden param to index management list view

This allows setting the value of the "inlcude hidden" toggle via
the url hash query param "includeHidden". Also added a test.

* Remove unused variable

* Revise data flow

The component toggle gets it's initial state form hash query
param and thereafter the toggle drives the state in the url.

* Fix typo

* Delete ts-ignore

* Slight update to test and comment placement for clarity

* Fix copy-pasta

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@jloleysens jloleysens added the backport This PR is a backport of another PR label May 21, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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

@jloleysens jloleysens merged commit 7cd3735 into elastic:7.x May 22, 2020
@jloleysens jloleysens deleted the backport/7.x/pr-66715 branch May 22, 2020 08:28
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