Skip to content

Commit

Permalink
Add tooltip to most active agent label (#6364)
Browse files Browse the repository at this point in the history
* Change label "Last enrolled agent"

* Add tooltip most active agent

* Update changelog

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
  • Loading branch information
yenienserrano and asteriscos authored Jan 24, 2024
1 parent fb281e9 commit c15c13e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
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

0 comments on commit c15c13e

Please sign in to comment.