Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.12] [Enterprise Search] Split details panel from model selection l…
…ist (#173434) (#173697) # Backport This will backport the following commits from `main` to `8.12`: - [[Enterprise Search] Split details panel from model selection list (#173434)](#173434) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Adam Demjen","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-12-19T22:37:29Z","message":"[Enterprise Search] Split details panel from model selection list (#173434)\n\n## Summary\r\n\r\nIn this PR the ML model selection list is being split into a simplified\r\nlist and a details panel for the selected model. This change provides\r\nproblem-free keyboard navigation and a cleaner look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34 40\"\r\nsrc=\"https://github.com/elastic/kibana/assets/14224983/815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe Start button in the model panel now appears and works for any model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status labels and actions consistent, some\r\nlabels have been renamed:\r\n- \"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" -> \"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\" for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in this state can be started\r\nwith the Start button.\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","a11yReviewNeeded","v8.13.0"],"number":173434,"url":"https://github.com/elastic/kibana/pull/173434","mergeCommit":{"message":"[Enterprise Search] Split details panel from model selection list (#173434)\n\n## Summary\r\n\r\nIn this PR the ML model selection list is being split into a simplified\r\nlist and a details panel for the selected model. This change provides\r\nproblem-free keyboard navigation and a cleaner look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34 40\"\r\nsrc=\"https://github.com/elastic/kibana/assets/14224983/815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe Start button in the model panel now appears and works for any model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status labels and actions consistent, some\r\nlabels have been renamed:\r\n- \"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" -> \"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\" for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in this state can be started\r\nwith the Start button.\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173434","number":173434,"mergeCommit":{"message":"[Enterprise Search] Split details panel from model selection list (#173434)\n\n## Summary\r\n\r\nIn this PR the ML model selection list is being split into a simplified\r\nlist and a details panel for the selected model. This change provides\r\nproblem-free keyboard navigation and a cleaner look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34 40\"\r\nsrc=\"https://github.com/elastic/kibana/assets/14224983/815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe Start button in the model panel now appears and works for any model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status labels and actions consistent, some\r\nlabels have been renamed:\r\n- \"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" -> \"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\" for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in this state can be started\r\nwith the Start button.\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\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404"}}]}] BACKPORT--> Co-authored-by: Adam Demjen <[email protected]>
- Loading branch information