Skip to content
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

Issue 3029 - Add a 'warning' state for the notifications #3113

Merged
merged 1 commit into from
Nov 18, 2016
Merged

Issue 3029 - Add a 'warning' state for the notifications #3113

merged 1 commit into from
Nov 18, 2016

Conversation

xcoulon
Copy link
Contributor

@xcoulon xcoulon commented Nov 17, 2016

What does this PR do?

What issues does this PR fix or reference?

Previous behavior

(Remove this section if not relevant)

New behavior

(Explain the PR as it should appear in the release notes)

Please review Che's Contributing Guide for best practices.

Using the #F0AD4E code for the darkish orange background, so the
font can remain white and be consistent with other types of notifications

Signed-off-by: Xavier Coulon [email protected]

Using the `#F0AD4E` code for the darkish orange background, so the
font can remain white and be consistent with other types of notifications

Signed-off-by: Xavier Coulon <[email protected]>
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@slemeur slemeur added the kind/enhancement A feature request - must adhere to the feature request template. label Nov 17, 2016
@slemeur
Copy link
Contributor

slemeur commented Nov 17, 2016

Thanks @xcoulon !

Please @ashumilova , @vzhukovskii + @vitaliy-guliy could you review?

Copy link
Contributor

@slemeur slemeur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me

@vitaliy-guliy
Copy link
Contributor

+1

@benoitf
Copy link
Contributor

benoitf commented Nov 18, 2016

ci-build

@codenvy-ci
Copy link

@slemeur slemeur merged commit 13000b0 into eclipse-che:master Nov 18, 2016
@slemeur slemeur added this to the 5.0.0-M8 milestone Nov 18, 2016
@xcoulon
Copy link
Contributor Author

xcoulon commented Nov 18, 2016

thanks !

vparfonov pushed a commit that referenced this pull request Dec 5, 2016
#3124)

Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on #3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
#3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <[email protected]>
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…#3113)

Using the `#F0AD4E` code for the darkish orange background, so the
font can remain white and be consistent with other types of notifications

Signed-off-by: Xavier Coulon <[email protected]>
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
eclipse-che#3124)

Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on eclipse-che#3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
eclipse-che#3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants