Add a 'warning' state for the notifications. #3029
Labels
kind/task
Internal things, technical debt, and to-do tasks to be performed.
status/in-progress
This issue has been taken by an engineer and is under active development.
In Che, the notification manager can display messages in small, floating toasts on top of the editors or in the event bar at the bottom of the IDE. The
NotificationManager
is responsible for displaying these messages along with a status, defined by theorg.eclipse.che.ide.api.notification.StatusNotification.Status
enumeration.In its current state, the enumeration provides with the following values:
PROGRESS
SUCCESS
FAIL
Hélas, this does not fully match with the types of message defined in the Language Server Protocol where the types are:
Error
Warning
Info
Log
While it is possible to bind the
Info
andLog
message types to theSUCCESS
notification status, and theError
message type to theFAIL
notification status, there remain a gap for theWarning
message type.This is issue is thus about adding a new value in the
org.eclipse.che.ide.api.notification.StatusNotification.Status
enumeration along with a triangle icon in the UI using the#F8E71C
color.Che version:
5.0.0-M7
Additional information:
Linked issue: #1793
The text was updated successfully, but these errors were encountered: