Skip to content

Commit

Permalink
[8.0] tooltip added to OS column (#123377) (#123631)
Browse files Browse the repository at this point in the history
* tooltip added to OS column (#123377)

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

# Conflicts:
#	x-pack/plugins/security_solution/public/hosts/components/hosts_table/columns.tsx
#	x-pack/plugins/security_solution/public/hosts/components/hosts_table/translations.ts

* remove not needed translation
  • Loading branch information
semd authored Jan 24, 2022
1 parent 4fcb10c commit ab1d84e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@ export const getHostsColumns = (): HostsTableColumns => [
},
{
field: 'node.host.os.name',
name: i18n.OS,
name: (
<EuiToolTip content={i18n.OS_LAST_SEEN_TOOLTIP}>
<>
{i18n.OS} <EuiIcon color="subdued" type="iInCircle" className="eui-alignTop" />
</>
</EuiToolTip>
),
truncateText: false,
hideForMobile: false,
sortable: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ export const FIRST_LAST_SEEN_TOOLTIP = i18n.translate(
}
);

export const OS_LAST_SEEN_TOOLTIP = i18n.translate(
'xpack.securitySolution.hostsTable.osLastSeenToolTip',
{
defaultMessage: 'Most recently observed OS',
}
);

export const OS = i18n.translate('xpack.securitySolution.hostsTable.osTitle', {
defaultMessage: 'Operating system',
});
Expand Down

0 comments on commit ab1d84e

Please sign in to comment.