You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.19] [Index Management] Move field_list_item out of scss (#219669) (#220195)
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Index Management] Move field_list_item out of scss
(#219669)](#219669)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Sonia Sanz
Vivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-05T14:59:22Z","message":"[Index
Management] Move field_list_item out of scss (#219669)\n\nFixes
https://github.com/elastic/kibana/issues/219021\n\n## Summary\nIn
serverless, when the user loads the index mapping page and refresh\nthe
page, the styles get lost for the fields. It only happens
in\nserverless.\n\nTo address that and as part of the [migration to
emotion\ninitiative](#205027), I
decided\nto move the styles to emotion. I didn't remove the scss file
because\nit's a complex package of shared components and it needs a
thorough\ntesting to verify that no other component is using that styles
(we have\nmultiple components and scss files with the same class
names).\n\n### How to test\n\n1. Run serverless elasticsearch (`yarn
serverless-es`)\n2. Open Kibana\n3. Create an index\n4. Navigate to the
index details page
(URL\n`/app/elasticsearch/indices/index_details/<index_name>`)\n5.
Select the Mappings tab
(URL\n`/app/elasticsearch/indices/index_details/<index_name>/mappings`)\n6.
Hard-refresh the browser (Cmd+Shift+R on Mac)\n7. Verify that the styles
are not missed.\n\nCo-authored-by: Matthew Kime
<[email protected]>","sha":"d4e4e4ee4246b32f47cb933551a036b0257e75ca","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:prev-minor","v9.1.0","v8.19.0","v9.0.1"],"title":"[Index
Management] Move field_list_item out of
scss","number":219669,"url":"https://github.com/elastic/kibana/pull/219669","mergeCommit":{"message":"[Index
Management] Move field_list_item out of scss (#219669)\n\nFixes
https://github.com/elastic/kibana/issues/219021\n\n## Summary\nIn
serverless, when the user loads the index mapping page and refresh\nthe
page, the styles get lost for the fields. It only happens
in\nserverless.\n\nTo address that and as part of the [migration to
emotion\ninitiative](#205027), I
decided\nto move the styles to emotion. I didn't remove the scss file
because\nit's a complex package of shared components and it needs a
thorough\ntesting to verify that no other component is using that styles
(we have\nmultiple components and scss files with the same class
names).\n\n### How to test\n\n1. Run serverless elasticsearch (`yarn
serverless-es`)\n2. Open Kibana\n3. Create an index\n4. Navigate to the
index details page
(URL\n`/app/elasticsearch/indices/index_details/<index_name>`)\n5.
Select the Mappings tab
(URL\n`/app/elasticsearch/indices/index_details/<index_name>/mappings`)\n6.
Hard-refresh the browser (Cmd+Shift+R on Mac)\n7. Verify that the styles
are not missed.\n\nCo-authored-by: Matthew Kime
<[email protected]>","sha":"d4e4e4ee4246b32f47cb933551a036b0257e75ca"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219669","number":219669,"mergeCommit":{"message":"[Index
Management] Move field_list_item out of scss (#219669)\n\nFixes
https://github.com/elastic/kibana/issues/219021\n\n## Summary\nIn
serverless, when the user loads the index mapping page and refresh\nthe
page, the styles get lost for the fields. It only happens
in\nserverless.\n\nTo address that and as part of the [migration to
emotion\ninitiative](#205027), I
decided\nto move the styles to emotion. I didn't remove the scss file
because\nit's a complex package of shared components and it needs a
thorough\ntesting to verify that no other component is using that styles
(we have\nmultiple components and scss files with the same class
names).\n\n### How to test\n\n1. Run serverless elasticsearch (`yarn
serverless-es`)\n2. Open Kibana\n3. Create an index\n4. Navigate to the
index details page
(URL\n`/app/elasticsearch/indices/index_details/<index_name>`)\n5.
Select the Mappings tab
(URL\n`/app/elasticsearch/indices/index_details/<index_name>/mappings`)\n6.
Hard-refresh the browser (Cmd+Shift+R on Mac)\n7. Verify that the styles
are not missed.\n\nCo-authored-by: Matthew Kime
<[email protected]>","sha":"d4e4e4ee4246b32f47cb933551a036b0257e75ca"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/220102","number":220102,"state":"MERGED","mergeCommit":{"sha":"47b93c57479d40abc01a09e95ab87c609e58a80a","message":"[9.0]
[Index Management] Move field_list_item out of scss (#219669)
(#220102)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[Index Management] Move field_list_item out of
scss\n(#219669)](https://github.com/elastic/kibana/pull/219669)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Sonia Sanz Vivas <[email protected]>"}}]}] BACKPORT-->
Co-authored-by: Matthew Kime <[email protected]>
Copy file name to clipboardExpand all lines: x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list.tsx
Copy file name to clipboardExpand all lines: x-pack/platform/plugins/shared/index_management/public/application/components/mappings_editor/components/document_fields/fields/fields_list_item.tsx
0 commit comments