-
Notifications
You must be signed in to change notification settings - Fork 187
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
Fix error when changing api in agent preview of endpoints summary #6802
Merged
Desvelao
merged 7 commits into
4.9.0
from
bug/6799-fix-error-when-changing-api-in-agent-preview-of-endpoints-summary
Jun 26, 2024
Merged
Fix error when changing api in agent preview of endpoints summary #6802
Desvelao
merged 7 commits into
4.9.0
from
bug/6799-fix-error-when-changing-api-in-agent-preview-of-endpoints-summary
Jun 26, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tats and configuration tabs
… is no agent data and it is elevated to parent component withGuard of unselected agent
…eview-of-endpoints-summary
…nt-preview-of-endpoints-summary
6 tasks
|
|
|
JuanGarriuz
approved these changes
Jun 26, 2024
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.
LGTM!!!
Test
Configuration 🟢 |
chantal-kelm
approved these changes
Jun 26, 2024
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.
Evidence
Syscollector
Grabacion.de.pantalla.2024-06-26.a.la.s.11.20.51.a.m.mov
Stats
Grabacion.de.pantalla.2024-06-26.a.la.s.11.21.29.a.m.mov
Configuration
Grabacion.de.pantalla.2024-06-26.a.la.s.11.21.53.a.m.mov
Desvelao
deleted the
bug/6799-fix-error-when-changing-api-in-agent-preview-of-endpoints-summary
branch
June 26, 2024 14:43
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR resolves the error when changing APIs in Agent preview of Endpoint Summary. To do this, the
HOC withGuard
is added to endpoint summary agent view. HOC withGuard is elevated from AgentWelcome, Inventory data, Stats, and Configuration to AgentView.An
EuiCallOut
that is no longer necessary is also removed frommain-agent
, since it will not be rendered when there is no pinned agent. This also relocates themain-agent title
so that it is rendered whenever there is an agent pinned.Fixed setting breadcrumb when there is no agent information, so that it doesn't add an invalid bread.
Fixed agent selection button on the "No agent is selected" screen by modifying the pinAgent method.
Note
There is a previous closed PR 6800 since the branch was renamed.
Issues Resolved
Evidence
Syscollector
Evidence_Syscollector.webm
Stats
Evidence_Stats.webm
Configuration
Evidence_Configuration.webm
Test
Check List
yarn test:jest