-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alert & Error Icon Follow-up Considerations #6554
Comments
Deprecating or removing the I'm less certain about changing "alert" to "warning", but have no strong opinion. @miukimiu Do you have any opinion on any of this? |
I agree with deprecating the Changing the current In elastic/kibana#151413 @boriskirov made a clear point on how to differentiate the alert icon and error.
And this makes me agree with @MichaelMarcialis that the icon should be called
I'll assign this issue to me. |
…151413) ## Summary This PR is aiming to replace the `alert` icon that we use in error states, with the `error` icon. It's important to differentiate them clearly as errors and warning messages are semantically different states. It's widely considered that errors maybe fatal errors and warnings are never fatal. You should receive an error message when the issue is terminal, this doesn't always mean that the operation stops completely, but the task is not complete. You should receive a warning message when the program detects that something is not behaving right, but it didn't cause any termination. Before / After ![image](https://user-images.githubusercontent.com/13353203/219329971-50c95178-6fdd-48d6-b4b5-43e648e6fb9a.png) Example of how it looks in the Profiling UI, when two errors appear: <img width="1726" alt="image" src="https://user-images.githubusercontent.com/13353203/219330082-6f638ffb-995b-40eb-88d7-cfc6026e006d.png"> ![image](https://user-images.githubusercontent.com/13353203/219333118-1876b085-f7dc-46ed-bbea-e75675c928ad.png) ## Related to elastic/eui#6554 --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…lastic#151413) ## Summary This PR is aiming to replace the `alert` icon that we use in error states, with the `error` icon. It's important to differentiate them clearly as errors and warning messages are semantically different states. It's widely considered that errors maybe fatal errors and warnings are never fatal. You should receive an error message when the issue is terminal, this doesn't always mean that the operation stops completely, but the task is not complete. You should receive a warning message when the program detects that something is not behaving right, but it didn't cause any termination. Before / After ![image](https://user-images.githubusercontent.com/13353203/219329971-50c95178-6fdd-48d6-b4b5-43e648e6fb9a.png) Example of how it looks in the Profiling UI, when two errors appear: <img width="1726" alt="image" src="https://user-images.githubusercontent.com/13353203/219330082-6f638ffb-995b-40eb-88d7-cfc6026e006d.png"> ![image](https://user-images.githubusercontent.com/13353203/219333118-1876b085-f7dc-46ed-bbea-e75675c928ad.png) ## Related to elastic/eui#6554 --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
As a follow-up to a recent PR that updates the
alert
icon and adds a newerror
icon (#6550), I think it may be wise to consider the following:crossInACircleFilled
icon for two reasons: 1) It's very close to the newerror
icon, and 2) it perpetuates a problematic pattern where some EUI icons offer regular/circled/filled variants, which often lead to a lot of interface inconsistencies. I imagine it can be replaced with either a regularcross
orerror
icon, as the context dictates.alert
icon's name towarning
. Doing so will make it clearer to developers that we have specific icons to use for error and warning cases.Curious to know the team's thoughts on these suggestions. Thanks!
The text was updated successfully, but these errors were encountered: