Using the MessageService #14351
-
Hi everyone, I’m trying to implement the MessageService in Theia to show progress notifications/progress to users. I followed the ideas suggested in the Theia documentation, but unfortunately, no notifications/progress are appearing for the users. Here’s the code I’m using: JavaScript
Could anyone provide guidance on how to properly implement MessageService for displaying progress? Are there specific methods or configurations I might be missing? Any examples or insights would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Hey @e-lynch-theia, Can you share a full reproducible example? From the snippets you shared it's not immediately obvious what's wrong. They seem valid. |
Beta Was this translation helpful? Give feedback.
-
So this is an example of where I am using the MessageService and hoping it to report some progress of me processing certificates. I am not seeing any progress. I inject the MessageService in my parent component
|
Beta Was this translation helpful? Give feedback.
-
Attached please find an executable version for ye! Simple component that simply adds a button that when I click I should see a progress dialog - with a modified SampleViewUnclosableView to call my component. I can see the "Button clicked" and "
|
Beta Was this translation helpful? Give feedback.
-
Any update on this? |
Beta Was this translation helpful? Give feedback.
-
Hmmmm - unfortunately not working for me. |
Beta Was this translation helpful? Give feedback.
Are you perhaps missing the
@theia/messages
package? It implements the UI for theMessageService
.