Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] Update Fleet API doc link + remove beta badge (#154442)
### Summary This PR adds and updates documentation links and removes `beta` badges for the GA of Fleet API in 8.8.0. This includes the following changes: 1. Elastic Agent integration settings page, `API reference` tab: * Update the documentation link to https://www.elastic.co/guide/en/fleet/master/fleet-api-docs.html. * Remove the `beta` badge. 2. `Preview API request` flyout: * Add a link to the documentation to the title (cf. screenshots). * Remove the `beta` badge. Closes #152966 ### Screenshots #### Elastic Agent integration settings page, `API reference` tab - Before ![Screenshot 2023-04-05 at 15 01 21](https://user-images.githubusercontent.com/23701614/230091121-c14e02ce-47d4-4748-9152-84b12597243e.png) #### Elastic Agent integration settings page, `API reference` tab - After ![Screenshot 2023-04-05 at 15 00 23](https://user-images.githubusercontent.com/23701614/230091160-cd750443-e42c-4b8b-97a1-c6c89dbf6dda.png) #### `Preview API request` flyout - Before ![Screenshot 2023-04-11 at 15 56 36](https://user-images.githubusercontent.com/23701614/231193937-7d03e1eb-0781-4983-916a-1e0ab7b63462.png) #### `Preview API request` flyout - After ![Screenshot 2023-04-11 at 12 53 27](https://user-images.githubusercontent.com/23701614/231193976-cb91c575-bbd5-4c04-85ac-e3564a4121d9.png) ### Steps to test locally On this branch, start Kibana in dev. 1. Elastic Agent integration settings page, `API reference` tab: 1. Go to `<localKibanaUrl>/app/integrations/detail/elastic_agent-1.7.0/api-reference`. 2. Check that the `beta` badge is removed and that the `Learn more` link point to https://www.elastic.co/guide/en/fleet/master/fleet-api-docs.html. 2. `Preview API request` flyout: 1. Create a new agent policy: give it a name and click `Preview API request`. 2. Check that the `beta` badge is removed and that the title has a `Learn more about Fleet API` link that points to https://www.elastic.co/guide/en/fleet/master/fleet-api-docs.html. 3. Do the same checks when updating an agent policy, creating a package policy and updating a package policy. ### Checklist - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
- Loading branch information