microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.54k stars 8.31k forks source link

"Toast" notifications #8592

Open zadjii-msft opened 3 years ago

zadjii-msft commented 3 years ago

An idea I've been toying around with for a while, but haven't formalized.

"Toasts" are an Android UI paradigm - a transient notification that can be displayed to the user. These toasts can't be interacted with, and dismiss themselves after a brief timeout. image

WinUI doesn't have Toasts, but it does have the TeachingTip. in the future, WinUI is planning on building this auto-dismiss behavior into the TeachingTip itself, but we're impatient. image

Use cases that would be good for this:

From the above, there are two kinds of scenarios where we want Toasts: control-level and window-level.

I'm not prescribing any interactable UI in these toasts, but TeachingTips do allow buttons and other rich content.

I'm sure there are other things we could do too. This issue is so I don't lose track of the possible scenarios.

Other things:

DHowett commented 3 years ago

Control level toasts also include the resize size indicator!

DHowett commented 3 years ago

Backlog approved.

zadjii-msft commented 3 years ago

Alright, so I tried to do this today. Here's what I learned:

My work is over in dev/migrie/f/com.fabrikam.toaster. Feel free to check it out if interested.