-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Auto dismiss messages #2732
Comments
Because those messages are rendered very prominent their intent is that a user must react on them. Messages that don't have those characteristics should use the I am leaning towards closing. @tht13 What is the scenario in which the status bar API isn't sufficient but the message API is too strong? |
The scenario I had in mind was a notification that updates for vscode are downloading (another issue I was going to write) or the notification saying no updates are available. But these could be solved by a status bar message. |
Yes - those things should be in the status bar. |
I would still propose to add a API like |
Sorry to dig up something closed nearly a year ago but I agree with @lkytal here. I have an analyser which takes the current document, highlights two classes of word, and informs the user how many of each class was found. Telling the user the counts is something that a toast really does support where status bar and info message do not. The user needs to see the info in a prominent way (so status bar no good) and just needs to be informed about it without them needing to interact with it (so info message no good). Please could the team reconsider an API which supports these two mechanisms? The status bar really is too subtle and can be quickly overwritten with something else by another extension. |
My use-case is auto-updating an extension which is under development. Many of our users would be not-so-technical and the current UI is too subtle.. First it shows an "Update Available" message with an "Install Update" button. If the update is started it creates a status bar item with download progress, but also shows a "Downloading update" message since our users are likely to not notice the status bar. Once the download completes we show a "Success" message and would like to dismiss "Downloading update". |
+1 on this requirement. The problem is that the StatusBarMessage is too subtle. I really wish we had something to notify the user that things went well but still be action less (e.g., not requiring them press close or esc) |
Could you add API support to have timeout dismiss messages through the window.showInformationMessage (also warm and error message) API. Requiring the user to have to dismiss these manually can be intrusive if the message is not extremely pertinent. To avoid the user missing the message if they are using vscode at the time it appears it would be good to have a system where the message timeout does not begin until the window is in active use.
The text was updated successfully, but these errors were encountered: