Skip to content

[7.x] Fix advanced settings category sorting (#83394)#83434

Merged
smith merged 2 commits intoelastic:7.xfrom
smith:backport/7.x/pr-83394
Nov 16, 2020
Merged

[7.x] Fix advanced settings category sorting (#83394)#83434
smith merged 2 commits intoelastic:7.xfrom
smith:backport/7.x/pr-83394

Conversation

@smith
Copy link
Copy Markdown
Contributor

@smith smith commented Nov 16, 2020

Backports the following commits to 7.x:

In the advanced settings categories, "Observability" and "Machine Learning" were using uppercase letters in their keys while everything else was using lowercase

This caused them both to show up before the rest of the options in the dropdown and in the sorting in the advanced settings UI.

Add keys for them to the get_category_name module in the advanced settings plugin and use those keys in the plugins that apply these categories.

This also makes it so i18n keys are available for these items.

Fixes elastic#81974.
@smith smith added the backport This PR is a backport of another PR label Nov 16, 2020
@smith
Copy link
Copy Markdown
Contributor Author

smith commented Nov 16, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
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
advancedSettings 919.4KB 919.7KB +307.0B

History

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

@smith smith merged commit d04ac61 into elastic:7.x Nov 16, 2020
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