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

Add tooltip to most active agent label #6364

Merged
merged 5 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Added an agent selector to the IT Hygiene application [#5840](https://github.com/wazuh/wazuh-dashboard-plugins/pull/5840)
- Added query results limit when the search exceed 10000 hits [#6106](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6106)
- Added a redirection button to Endpoint Summary from IT Hygiene application [6176](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6176)
- Added information icon with tooltip on the most active agent in the endpoint summary view [#6364](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6364)

### Changed

Expand Down
14 changes: 12 additions & 2 deletions plugins/main/public/controllers/agent/components/agents-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
EuiLink,
EuiProgress,
EuiText,
EuiIconTip,
} from '@elastic/eui';
import { AgentsTable } from './agents-table';
import { WzRequest } from '../../../react-services/wz-request';
Expand Down Expand Up @@ -344,7 +345,7 @@ export const AgentsPreview = compose(
)
}
titleSize='s'
description='Last registered agent'
description='Last enrolled agent'
titleColor='primary'
/>
</EuiFlexItem>
Expand Down Expand Up @@ -384,7 +385,16 @@ export const AgentsPreview = compose(
)
}
titleSize='s'
description='Most active agent'
description={
<>
Most active agent{' '}
<EuiIconTip
type='iInCircle'
color='primary'
content='Agent with more alerts in the last 24 hours'
/>
</>
}
titleColor='primary'
/>
</EuiFlexItem>
Expand Down
Loading