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.12] [Fleet] Fix inactive popover tour not resetting (#176929) #177172

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

criamico
Copy link
Contributor

Backport

This will backport the following commits from main to 8.12:

Questions ?

Please refer to the Backport tool documentation

Fixes elastic#176124

## Summary
The [inactive popover](elastic#149226)
that appears the first time after agents become inactive was broken
(probably because of a EUi upgrade) and wasn't dismissable anymore.

I'm adding a footer with button that makes it easily dismissable.

![Screenshot 2024-02-14 at 16 15
36](https://github.com/elastic/kibana/assets/16084106/b4029aa2-e0f7-42d4-afe1-e810b7e88d23)

### Testing
- In dev tools console, run the following. This removes from the local
storage the key that signals that the tour was already ran once.
```
  localStorage.removeItem("fleet.inactiveAgentsCalloutHasBeenDismissed")
```
- Enroll some agents and wait that at least one becomes inactive
- The popover should be visible and it should be possible to dismiss it
by clicking "got it".

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 851657c)

# Conflicts:
#	x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

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.2MB 1.2MB +116.0B

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

@criamico criamico merged commit 6536da7 into elastic:8.12 Feb 20, 2024
31 checks passed
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Feb 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

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.

5 participants