Skip to content

[8.19] add loading state install/uninstall product doc (#229579)#230619

Merged
arturoliduena merged 1 commit intoelastic:8.19from
arturoliduena:backport/8.19/pr-229579
Aug 5, 2025
Merged

[8.19] add loading state install/uninstall product doc (#229579)#230619
arturoliduena merged 1 commit intoelastic:8.19from
arturoliduena:backport/8.19/pr-229579

Conversation

@arturoliduena
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

Closes [elastic#229460](elastic#229460)
## Summary

When a user clicks the "Install" or "Uninstall" button for product
documentation, add visual feedback in the UI (a spinner) to indicate
that an action is in progress.

### Steps to Reproduce
Navigate Observability AI Assistant settings page

see that Elastic documentation is not yet installed.

Click the Install button.

Observe that the button shows no loading state.

(Similarly, for an installed package, click Uninstall and observe the
same lack of feedback).

Expected Behavior
After clicking "Install" or "Uninstall", the button should immediately
enter a loading state.

https://github.com/user-attachments/assets/9e9f8fef-bf18-4a6a-96af-c514dae4ffdf

https://github.com/user-attachments/assets/1c36d617-0def-4a6d-af04-bb9ef52c624f

https://github.com/user-attachments/assets/8053cf33-cc69-4d1d-8779-23a361266576

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] 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/src/platform/packages/shared/kbn-i18n/README.md)

(cherry picked from commit 8e9fabe)

# Conflicts:
#	x-pack/solutions/observability/plugins/observability_ai_assistant_management/public/hooks/use_get_product_doc.ts
#	x-pack/solutions/observability/plugins/observability_ai_assistant_management/public/hooks/use_product_doc.ts
@arturoliduena arturoliduena added the backport This PR is a backport of another PR label Aug 5, 2025
@arturoliduena arturoliduena enabled auto-merge (squash) August 5, 2025 15:22
@arturoliduena arturoliduena merged commit f20c5c3 into elastic:8.19 Aug 5, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

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
observabilityAiAssistantManagement 121.4KB 122.2KB +793.0B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants