[9.2] [Security Solution][DQD] Fix empty page when language is set to Japanese (#265782)#267754
Merged
kibanamachine merged 1 commit intoelastic:9.2from May 5, 2026
Merged
Conversation
…ese (elastic#265782) ## Summary Closes: elastic#180860 Fixes the Security Data Quality dashboard showing no data when Kibana uses a localized Japanese UI , while network responses still return index stats. ## Cause ILM phase combo options use **localized `label`** and **canonical English `value`** (`hot`, `warm`, `unmanaged`, …). The panel built `ilmPhases` from **`label` only**, then filtered indices by comparing to `getIlmPhase()` output (always English). Under non-English locales, **no phase matched**, so all indices were dropped and the UI looked empty. ILM filter **tooltips** passed `option.label` into `getIlmPhaseDescription()`, which only switches on English keys, so descriptions were blank when labels were translated. ## Resolution - Derive **`ilmPhases` from `option.value`**, not `label` (`ilmPhasesFromSelectedOptions` + unit test). - In **`IlmPhaseFilter` `renderOption`**, keep **`label` for visible text** and use **`value`** for **`getIlmPhaseDescription`**. ## Verification - Jest: `ilm_phases_from_selected_options.test.ts` and existing Data Quality / ILM filter tests. - Manual: set `i18n.locale: "ja-JP"`, open **Security → Data Quality** — counts, treemap, and tables should match English behavior; ILM option tooltips should show full descriptions. English version: https://github.com/user-attachments/assets/08a08ae8-c348-4c70-8304-fc93d47e292b Japanese version after fix: https://github.com/user-attachments/assets/d6c087bb-1c90-46cf-8cd2-1c80906a5f06 (cherry picked from commit 1f8538f)
Contributor
Author
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.2:Questions ?
Please refer to the Backport tool documentation