Theia: [notification] Revise integration of user messages

Created on 22 Feb 2018  路  7Comments  路  Source: eclipse-theia/theia

Showing messages at top center can interrupt the user a lot. It should be easier to manage the notifications, and message service clients should have more options.

These points would be useful:

  • timeout option to hide a message if no further action is required (covered by #1081).
  • hide with Esc if no further action is required.
  • MessageService clients should be able to dismiss a message.
  • MessageService clients should be able to update the message, e.g. with progress.
  • statusbar item with a counter for messages in inbox.
  • button to reveal hidden messages in inbox.
  • move container for notifications to a less distracting area.

Some inspiration:

incoming-and-timeout

messages-with-actions

enhancement notifications

Most helpful comment

@AndrienkoAleksandr, indeed. I鈥檓 preparing a PR.

All 7 comments

Please add notificationFocus and notificationCenterVisible when context keys after implementing it, see definitions here: https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts

It would be really nice to align notification message ui with VSCode.

@AndrienkoAleksandr, indeed. I鈥檓 preparing a PR.

@AlexTugarev do you still plan on working on the PR?

As a POC, I attempted to first move the notifications to the bottom-right, and then update the styling:

Screen Shot 2019-07-12 at 11 51 11 AM ![Jul-12-2019 11-55-49](https://user-images.githubusercontent.com/40359487/61142040-d2343100-a49c-11e9-8a45-80cb908f626d.gif)

There are a few updates to make:

  • [ ] fix the transition (get a fluid animation when opening messages)
  • [ ] fix the text wrap
  • [ ] make messages smaller
  • [ ] fix the buttons (they should look more like vscode and not take up the whole height of a notification
  • [ ] allow for additional actions (almost like toolbar items).

Thanks @vince-fugnitto! I started working on this recently and going to push the WIP shortly. Happy to add you as reviewer.

@AlexTugarev I'm excited to see what you come up with :)

Was this page helpful?
0 / 5 - 0 ratings