Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Fleet] Improve reusable integration policies flow in package p…
…olicies UI (#193532) (#194787) # Backport This will backport the following commits from `main` to `8.x`: - [[Fleet] Improve reusable integration policies flow in package policies UI (#193532)](#193532) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Cristina Amico","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-03T07:43:47Z","message":"[Fleet] Improve reusable integration policies flow in package policies UI (#193532)\n\nCloses https://github.com/elastic/kibana/issues/186357\r\n\r\n## Summary\r\nImprove package policies list table support for reusable agent policies.\r\nThis PR tweaks some parts of this UI:\r\n- The agent count is now an aggregation of the total agents on all the\r\nshared agent policies. Clicking on this count opens up a new pop up that\r\nshows the number of agents for each policy and allows the agent to\r\nnavigate either to those agents or all of them. The list shows only the\r\ntop 5 policies by agent count.\r\n![Screenshot 2024-09-30 at 15 45\r\n16](https://github.com/user-attachments/assets/d56b53fd-ce6b-48cf-bc5b-0b5a1f0a7cca)\r\n![Screenshot 2024-09-30 at 14 56\r\n21](https://github.com/user-attachments/assets/831dd34c-d44d-446f-bbb7-0ee146b671e8)\r\n- When clicking on \"add agent\", either from the actions or from the\r\nbutton, we now show the agent policy selector as first step of the\r\nflyout, so the user can choose which policy wants to enroll agents to.\r\nCurrently instead the policy is preselected\r\n![Screenshot 2024-10-01 at 11 06\r\n39](https://github.com/user-attachments/assets/aaba7f0f-21c9-4232-87db-62a4226764df)\r\n\r\n\r\n### Checklist\r\n- [ ] 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- [ ] [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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"9bc761a22c43efd56c689de2bcfbbb5a0a5ae4f9","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-major","v8.16.0"],"title":"[Fleet] Improve reusable integration policies flow in package policies UI","number":193532,"url":"https://github.com/elastic/kibana/pull/193532","mergeCommit":{"message":"[Fleet] Improve reusable integration policies flow in package policies UI (#193532)\n\nCloses https://github.com/elastic/kibana/issues/186357\r\n\r\n## Summary\r\nImprove package policies list table support for reusable agent policies.\r\nThis PR tweaks some parts of this UI:\r\n- The agent count is now an aggregation of the total agents on all the\r\nshared agent policies. Clicking on this count opens up a new pop up that\r\nshows the number of agents for each policy and allows the agent to\r\nnavigate either to those agents or all of them. The list shows only the\r\ntop 5 policies by agent count.\r\n![Screenshot 2024-09-30 at 15 45\r\n16](https://github.com/user-attachments/assets/d56b53fd-ce6b-48cf-bc5b-0b5a1f0a7cca)\r\n![Screenshot 2024-09-30 at 14 56\r\n21](https://github.com/user-attachments/assets/831dd34c-d44d-446f-bbb7-0ee146b671e8)\r\n- When clicking on \"add agent\", either from the actions or from the\r\nbutton, we now show the agent policy selector as first step of the\r\nflyout, so the user can choose which policy wants to enroll agents to.\r\nCurrently instead the policy is preselected\r\n![Screenshot 2024-10-01 at 11 06\r\n39](https://github.com/user-attachments/assets/aaba7f0f-21c9-4232-87db-62a4226764df)\r\n\r\n\r\n### Checklist\r\n- [ ] 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- [ ] [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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"9bc761a22c43efd56c689de2bcfbbb5a0a5ae4f9"}},"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/193532","number":193532,"mergeCommit":{"message":"[Fleet] Improve reusable integration policies flow in package policies UI (#193532)\n\nCloses https://github.com/elastic/kibana/issues/186357\r\n\r\n## Summary\r\nImprove package policies list table support for reusable agent policies.\r\nThis PR tweaks some parts of this UI:\r\n- The agent count is now an aggregation of the total agents on all the\r\nshared agent policies. Clicking on this count opens up a new pop up that\r\nshows the number of agents for each policy and allows the agent to\r\nnavigate either to those agents or all of them. The list shows only the\r\ntop 5 policies by agent count.\r\n![Screenshot 2024-09-30 at 15 45\r\n16](https://github.com/user-attachments/assets/d56b53fd-ce6b-48cf-bc5b-0b5a1f0a7cca)\r\n![Screenshot 2024-09-30 at 14 56\r\n21](https://github.com/user-attachments/assets/831dd34c-d44d-446f-bbb7-0ee146b671e8)\r\n- When clicking on \"add agent\", either from the actions or from the\r\nbutton, we now show the agent policy selector as first step of the\r\nflyout, so the user can choose which policy wants to enroll agents to.\r\nCurrently instead the policy is preselected\r\n![Screenshot 2024-10-01 at 11 06\r\n39](https://github.com/user-attachments/assets/aaba7f0f-21c9-4232-87db-62a4226764df)\r\n\r\n\r\n### Checklist\r\n- [ ] 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- [ ] [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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"9bc761a22c43efd56c689de2bcfbbb5a0a5ae4f9"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Cristina Amico <[email protected]>
- Loading branch information