Closed
Description
Currently there is no way to have a notification offer actions but also have it go away after a timeout. I would love the ability to specify that the actions provided to the notification api (showInformationMessage
, etc) should only be shown (and cause the notification to "stick") if the user interacts (i.e. clicks) on the notification itself.
That way the notification would appear & behave the same as a notification without actions, unless the user clicks on the notification, and then it would expand to show the action buttons (in which case it would also turn off the hide timeout). And maybe these type of notifications are shown a bit longer than normal ones to give the user more time to interact if desired
/cc @bpasero