Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [Fleet] Improve reusable integration policies flow in package policies UI (#193532) #194787

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…s UI (elastic#193532)

Closes elastic#186357

## Summary
Improve package policies list table support for reusable agent policies.
This PR tweaks some parts of this UI:
- The agent count is now an aggregation of the total agents on all the
shared agent policies. Clicking on this count opens up a new pop up that
shows the number of agents for each policy and allows the agent to
navigate either to those agents or all of them. The list shows only the
top 5 policies by agent count.
![Screenshot 2024-09-30 at 15 45
16](https://github.com/user-attachments/assets/d56b53fd-ce6b-48cf-bc5b-0b5a1f0a7cca)
![Screenshot 2024-09-30 at 14 56
21](https://github.com/user-attachments/assets/831dd34c-d44d-446f-bbb7-0ee146b671e8)
- When clicking on "add agent", either from the actions or from the
button, we now show the agent policy selector as first step of the
flyout, so the user can choose which policy wants to enroll agents to.
Currently instead the policy is preselected
![Screenshot 2024-10-01 at 11 06
39](https://github.com/user-attachments/assets/aaba7f0f-21c9-4232-87db-62a4226764df)

### Checklist
- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 9bc761a)
@kibanamachine kibanamachine enabled auto-merge (squash) October 3, 2024 07:48
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 3, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Integration Tests #5 / unrecognized task types should be no workload aggregator errors when there are removed task types

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 1.8MB 1.8MB +2.5KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @criamico

@kibanamachine kibanamachine merged commit a805375 into elastic:8.x Oct 3, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants