Skip to content

Commit 29984c4

Browse files
rbrtjkibanamachine
andauthored
[ML] Anomaly Detection: Datafeed counts job messages table responsiveness fix (#204625)
Fix for: [#204589](#204589) DFA jobs table: <img width="1003" alt="image" src="https://github.com/user-attachments/assets/72930708-eba6-4167-8aab-66dfd5a67691" /> AD jobs table: <img width="1225" alt="image" src="https://github.com/user-attachments/assets/9b66ac57-8a6c-43dd-8bdf-9eda5d7bf2ea" /> Datafeed counts job messages table: https://github.com/user-attachments/assets/62cb6708-bdc2-4f79-b016-b3c43486dd3b --------- Co-authored-by: kibanamachine <[email protected]>
1 parent 0cc887b commit 29984c4

File tree

1 file changed

+6
-6
lines changed
  • x-pack/platform/plugins/shared/ml/public/application/components/job_messages

1 file changed

+6
-6
lines changed

x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ export const JobMessages: FC<JobMessagesProps> = ({
6666
''
6767
),
6868
render: (message: JobMessage) => <JobIcon message={message} />,
69-
width: `${euiTheme.size.l}`,
69+
width: `${euiTheme.size.xl}`,
70+
align: 'center',
7071
},
7172
{
7273
field: 'timestamp',
7374
name: i18n.translate('xpack.ml.jobMessages.timeLabel', {
7475
defaultMessage: 'Time',
7576
}),
7677
render: timeFormatter,
77-
width: '120px',
78+
width: '25%',
7879
sortable: true,
7980
},
8081
{
8182
field: 'message',
8283
name: i18n.translate('xpack.ml.jobMessages.messageLabel', {
8384
defaultMessage: 'Message',
8485
}),
85-
width: '50%',
8686
},
8787
];
8888

@@ -92,7 +92,7 @@ export const JobMessages: FC<JobMessagesProps> = ({
9292
name: i18n.translate('xpack.ml.jobMessages.nodeLabel', {
9393
defaultMessage: 'Node',
9494
}),
95-
width: '150px',
95+
width: '15%',
9696
});
9797
}
9898

@@ -101,7 +101,7 @@ export const JobMessages: FC<JobMessagesProps> = ({
101101
name: i18n.translate('xpack.ml.jobMessages.actionsLabel', {
102102
defaultMessage: 'Actions',
103103
}),
104-
width: '10%',
104+
width: '15%',
105105
actions: [
106106
{
107107
render: (message: JobMessage) => {
@@ -131,7 +131,7 @@ export const JobMessages: FC<JobMessagesProps> = ({
131131
}
132132

133133
return cols;
134-
}, [showNodeInfo, refreshMessage, actionHandler, euiTheme]);
134+
}, [refreshMessage, euiTheme.size.xl, showNodeInfo, actionHandler]);
135135

136136
const defaultSorting = {
137137
sort: {

0 commit comments

Comments
 (0)