-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Fleet] Move the agents list bulk actions from the table to a new button #131133
[Fleet] Move the agents list bulk actions from the table to a new button #131133
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
the code looks good, some unit test coverage would be nice |
I found it a bit confusing that the Actions button is only visible if there is an agent selected. I think it would be better to make it always visible, maybe just disable the options. Apart from this, the functionality works fine on UI. |
Thanks @juliaElastic I'll ask if this button could be always visible instead. |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @criamico |
…ton (elastic#131133) * [Fleet] Move the agents list bulk actions from the table to a new button * Clean up types and add divider * Split up agent list page component * Add test for bulk actions Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…ton (elastic#131133) * [Fleet] Move the agents list bulk actions from the table to a new button * Clean up types and add divider * Split up agent list page component * Add test for bulk actions Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Part of #130259
In the agent list table, move the bulk actions to a new
Actions
button nearadd agent
and show it when agents are selectedclear selection
action is now beside the selectionNote: I didn't touch any additional functionality in the table, like the bulk selection or the number of agents displayed on top. I noticed that some of that logic doesn't work as one could expect, so it will need to be discussed with product first.
I extracted a couple of small components to make the table component more readable, since is currently very long.
Screenshots
Checklist
Delete any items that are not applicable to this PR.
For maintainers