vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Feature Request: Auto Hide Notitications After 5 - 15 seconds.

Open elibroftw opened this issue 3 years ago • 3 comments

Feature Request

Title

Detailed Description

image Just another extension that makes me click the x on its constant notifications...

Context

Improves productivity

Possible Implementation

elibroftw avatar Dec 23 '21 04:12 elibroftw

Hi @elibroftw - Currently VSCode doesn't provide us a way to auto hide notifications after a certain amount of time - https://github.com/Microsoft/vscode/issues/2732

Thanks for bringing this up, it makes sense that these notifications would become cumbersome after you're familiar with the extension. I think we could revisit if these notifications are really necessary and possibly remove them completely, or we could provide a setting in our extension's settings to disable these notifications. Do you have any preferences? I'll ask the team as well.

Anemy avatar Jan 05 '22 08:01 Anemy

I think you should start with an option to disable successful notifications.

elibroftw avatar Jan 12 '22 23:01 elibroftw

or we could provide a setting in our extension's settings to disable these notifications.

I'd favor this option too! I'd be happy to implement it myself later today and see what you all think.

Really, VSC should just have a toast service so we can show toasts to user. (i.e. messages with a timeout that require no particular action)

They seem to be keen on using the status bar for things like that, though.

I guess in their vision, this extension would use the status bar with "Not Connected" or "Connected to {databaseName}".

Perhaps this extension should also contribute a status bar item like this as well? It can have states like the following:

  • Not Connected
  • Connecting to {databaseName}
  • Connected to {databaseName}

Edit: Just noticed that the status bar thing was already implemented, so this would be achieved very easily by simply persisting the last message in the status bar instead of hiding it after.

SethFalco avatar May 25 '22 06:05 SethFalco