Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.x`: - [[ES3][Search] Create Index Page (#199402)](#199402) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Rodney Norris","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-11T19:24:32Z","message":"[ES3][Search] Create Index Page (#199402)\n\n## Summary\r\n\r\nThis PR introduces a Create Index page for the serverless search\r\nsolution. This page is almost identical to the new Global Empty State,\r\nbut is navigated to via the Create Index button in Index Management. The\r\nindex details redirect logic is also slightly different on the Create\r\nIndex page, it will only redirect when the \"code\" view is open and a new\r\nindex is created. instead of redirecting from both UI and Code view like\r\nthe Global Empty State page does.\r\n\r\nWith the addition of this page we are also removing the \"Home\" link from\r\nthe serverless search side nav to reduce confusion when the global empty\r\nstart redirects to index management when indices exist.\r\n\r\nThere is also some minor clean-up to ensure both the global empty state\r\nand the new create index pages have proper document titles and\r\nbreadcrumbs.\r\n\r\n### Screenshots\r\nUpdates to Global Empty State:\r\n\r\n![image](https://github.com/user-attachments/assets/bb60734e-543d-4481-b121-d52633d462a8)\r\nCreate Index Page:\r\n<img width=\"1320\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/0d095eb6-fda3-4783-83ab-20449b5b31f1\">\r\n\r\n### Checklist\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- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"e03e59b6d482a05435d86a612d92028f264df893","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor","v8.17.0"],"number":199402,"url":"https://github.com/elastic/kibana/pull/199402","mergeCommit":{"message":"[ES3][Search] Create Index Page (#199402)\n\n## Summary\r\n\r\nThis PR introduces a Create Index page for the serverless search\r\nsolution. This page is almost identical to the new Global Empty State,\r\nbut is navigated to via the Create Index button in Index Management. The\r\nindex details redirect logic is also slightly different on the Create\r\nIndex page, it will only redirect when the \"code\" view is open and a new\r\nindex is created. instead of redirecting from both UI and Code view like\r\nthe Global Empty State page does.\r\n\r\nWith the addition of this page we are also removing the \"Home\" link from\r\nthe serverless search side nav to reduce confusion when the global empty\r\nstart redirects to index management when indices exist.\r\n\r\nThere is also some minor clean-up to ensure both the global empty state\r\nand the new create index pages have proper document titles and\r\nbreadcrumbs.\r\n\r\n### Screenshots\r\nUpdates to Global Empty State:\r\n\r\n![image](https://github.com/user-attachments/assets/bb60734e-543d-4481-b121-d52633d462a8)\r\nCreate Index Page:\r\n<img width=\"1320\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/0d095eb6-fda3-4783-83ab-20449b5b31f1\">\r\n\r\n### Checklist\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- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"e03e59b6d482a05435d86a612d92028f264df893"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199402","number":199402,"mergeCommit":{"message":"[ES3][Search] Create Index Page (#199402)\n\n## Summary\r\n\r\nThis PR introduces a Create Index page for the serverless search\r\nsolution. This page is almost identical to the new Global Empty State,\r\nbut is navigated to via the Create Index button in Index Management. The\r\nindex details redirect logic is also slightly different on the Create\r\nIndex page, it will only redirect when the \"code\" view is open and a new\r\nindex is created. instead of redirecting from both UI and Code view like\r\nthe Global Empty State page does.\r\n\r\nWith the addition of this page we are also removing the \"Home\" link from\r\nthe serverless search side nav to reduce confusion when the global empty\r\nstart redirects to index management when indices exist.\r\n\r\nThere is also some minor clean-up to ensure both the global empty state\r\nand the new create index pages have proper document titles and\r\nbreadcrumbs.\r\n\r\n### Screenshots\r\nUpdates to Global Empty State:\r\n\r\n![image](https://github.com/user-attachments/assets/bb60734e-543d-4481-b121-d52633d462a8)\r\nCreate Index Page:\r\n<img width=\"1320\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/0d095eb6-fda3-4783-83ab-20449b5b31f1\">\r\n\r\n### Checklist\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- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"e03e59b6d482a05435d86a612d92028f264df893"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information