Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Index Management] Add index mode field in index template form (#…
…199521) (#200244) # Backport This will backport the following commits from `main` to `8.x`: - [[Index Management] Add index mode field in index template form (#199521)](#199521) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Elena Stoeva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-14T18:58:42Z","message":"[Index Management] Add index mode field in index template form (#199521)\n\nCloses https://github.com/elastic/kibana/issues/198620\r\n\r\n## Summary\r\n\r\nThis PR adds a field for index mode setting in the Logistics step in\r\nIndex Template form.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ee38bdec-66ff-468d-a55e-abf5354c3da2\r\n\r\n\r\n**How to test:**\r\n1. Go to Index Management -> Index Templates and start creating an index\r\ntemplate\r\n2. Verify that the index mode is only enabled if the data stream toggle\r\nis on.\r\n3. Verify that typing the `logs-*-*` index pattern sets the index mode\r\nto \"LogsDB\":\r\n\r\n<img width=\"1401\" alt=\"Screenshot 2024-11-13 at 13 00 10\"\r\nsrc=\"https://github.com/user-attachments/assets/d1825d08-5039-4c43-80a8-653233e0b677\">\r\n\r\n\r\n\r\n4. Go to the Settings step and verify that the index mode callout is\r\ndisplayed correctly.\r\n5. Go to Review step and verify that Index mode is displayed correctly\r\nin both the summary and the preview request.\r\n6. Save the template and verify that the template details tab correctly\r\ndisplays the index mode.\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 54\"\r\nsrc=\"https://github.com/user-attachments/assets/2055501b-32c9-463c-b61d-541b9687b459\">\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 31\"\r\nsrc=\"https://github.com/user-attachments/assets/21c9cf9e-5858-4403-9106-57ed8ccf3639\">\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n- [x] Any UI touched in this PR does not create any new axe failures\r\n(run axe in browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n- [x] This renders correctly on smaller devices using a responsive\r\nlayout. (You can test this [in your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"16127fcc8faf128cfd9d2feffc6086eb6330c11f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index Management","Team:Kibana Management","release_note:skip","v9.0.0","backport:prev-minor","v8.17.0"],"title":"[Index Management] Add index mode field in index template form","number":199521,"url":"https://github.com/elastic/kibana/pull/199521","mergeCommit":{"message":"[Index Management] Add index mode field in index template form (#199521)\n\nCloses https://github.com/elastic/kibana/issues/198620\r\n\r\n## Summary\r\n\r\nThis PR adds a field for index mode setting in the Logistics step in\r\nIndex Template form.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ee38bdec-66ff-468d-a55e-abf5354c3da2\r\n\r\n\r\n**How to test:**\r\n1. Go to Index Management -> Index Templates and start creating an index\r\ntemplate\r\n2. Verify that the index mode is only enabled if the data stream toggle\r\nis on.\r\n3. Verify that typing the `logs-*-*` index pattern sets the index mode\r\nto \"LogsDB\":\r\n\r\n<img width=\"1401\" alt=\"Screenshot 2024-11-13 at 13 00 10\"\r\nsrc=\"https://github.com/user-attachments/assets/d1825d08-5039-4c43-80a8-653233e0b677\">\r\n\r\n\r\n\r\n4. Go to the Settings step and verify that the index mode callout is\r\ndisplayed correctly.\r\n5. Go to Review step and verify that Index mode is displayed correctly\r\nin both the summary and the preview request.\r\n6. Save the template and verify that the template details tab correctly\r\ndisplays the index mode.\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 54\"\r\nsrc=\"https://github.com/user-attachments/assets/2055501b-32c9-463c-b61d-541b9687b459\">\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 31\"\r\nsrc=\"https://github.com/user-attachments/assets/21c9cf9e-5858-4403-9106-57ed8ccf3639\">\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n- [x] Any UI touched in this PR does not create any new axe failures\r\n(run axe in browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n- [x] This renders correctly on smaller devices using a responsive\r\nlayout. (You can test this [in your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"16127fcc8faf128cfd9d2feffc6086eb6330c11f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199521","number":199521,"mergeCommit":{"message":"[Index Management] Add index mode field in index template form (#199521)\n\nCloses https://github.com/elastic/kibana/issues/198620\r\n\r\n## Summary\r\n\r\nThis PR adds a field for index mode setting in the Logistics step in\r\nIndex Template form.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ee38bdec-66ff-468d-a55e-abf5354c3da2\r\n\r\n\r\n**How to test:**\r\n1. Go to Index Management -> Index Templates and start creating an index\r\ntemplate\r\n2. Verify that the index mode is only enabled if the data stream toggle\r\nis on.\r\n3. Verify that typing the `logs-*-*` index pattern sets the index mode\r\nto \"LogsDB\":\r\n\r\n<img width=\"1401\" alt=\"Screenshot 2024-11-13 at 13 00 10\"\r\nsrc=\"https://github.com/user-attachments/assets/d1825d08-5039-4c43-80a8-653233e0b677\">\r\n\r\n\r\n\r\n4. Go to the Settings step and verify that the index mode callout is\r\ndisplayed correctly.\r\n5. Go to Review step and verify that Index mode is displayed correctly\r\nin both the summary and the preview request.\r\n6. Save the template and verify that the template details tab correctly\r\ndisplays the index mode.\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 54\"\r\nsrc=\"https://github.com/user-attachments/assets/2055501b-32c9-463c-b61d-541b9687b459\">\r\n\r\n<img width=\"1565\" alt=\"Screenshot 2024-11-13 at 17 22 31\"\r\nsrc=\"https://github.com/user-attachments/assets/21c9cf9e-5858-4403-9106-57ed8ccf3639\">\r\n\r\n\r\n\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n- [x] Any UI touched in this PR does not create any new axe failures\r\n(run axe in browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n- [x] This renders correctly on smaller devices using a responsive\r\nlayout. (You can test this [in your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n- [x] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"16127fcc8faf128cfd9d2feffc6086eb6330c11f"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elena Stoeva <[email protected]>
- Loading branch information