> For me current behaviour is good.
But when fixing the UserError with description issue the following problem raises:
- If the error does not contain a title, the warning classes are not applied to it. See (user_error_no_description.png)
I also attach an screenshot (user_error_with_description.png), which shows the user error with a description and without applying the additional improvements.
Sincerely I prefer the versions with the patch as they always show the text with warning classes and provide a more uniform user experience.
The error is basically the following:
1. When a UserError with description is raised on the server, the description is shown on the dialog title with a bigger font than the error message providing a strange behaviour.
In addition to fix this error, the following improvements are done:
1. Also show the title as dialog header and apply the warning sign to it.
2. If a description is provided, show in the dialog body (with warning css). If no description is provided don't show the warning dialog.
I attached several screenshoots showing the additional improvements