Skip to content

[ML] Transform toast errors should be easier to read #46434

@sophiec20

Description

@sophiec20

Kibana version: 7.4.0-BC6

Describe the bug:

In Chrome, I tried to create a transform with insufficient privileges. This caused a variety of error messages depending upon the missing privilege.

The lengthy error message does not fit inside the toast notification. I cannot easily see which privilege I am missing.

The toast notification can also overlay the "Previous" button, in which case I cannot read the message properly or easily navigate back.

Steps to reproduce:

Create a transform. Different messages occur at different steps in the process, depending upon the missing privilege.

e.g. missing monitor or missing view_index_metadata on the source index or missing all on the dest index.

Expected behavior:

I should be able to easily read the full elasticsearch error message.

Lengthier messages are generated by elasticsearch which we will sometimes need to show as we cannot always anticipate all errors and write them as something neat and summarised.

Screenshots (if relevant):

image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions