-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Add reinstall button to integration settings page #135590
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@@ -66,12 +67,22 @@ function usePackageInstall({ | |||
); | |||
|
|||
const installPackage = useCallback( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if that PR could be a good candidate to start a unit test for that hook?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I attempted to start some unit tests for this hook, but the composition is unique in our codebase (uses createContainer
) and I wasn't able to quickly add tests. I opened #136155 as a tech debt item to unblock this from going in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it works as expected 🚀 just one suggestion to add some test to the usePackageInstall
hook
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @jen-huang |
* Add package reinstall button in settings tab * Fix uninstall unavailable message Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit e817d5e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…136158) * Add package reinstall button in settings tab * Fix uninstall unavailable message Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit e817d5e) Co-authored-by: Jen Huang <[email protected]>
Summary
Resolves #129318. This PR adds a reinstall button:
Docs request in elastic/observability-docs#1972