Skip to content
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

Proposal: Toast feature like Android toast #622

Closed
hupo376787 opened this issue Apr 26, 2019 · 14 comments
Closed

Proposal: Toast feature like Android toast #622

hupo376787 opened this issue Apr 26, 2019 · 14 comments
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team

Comments

@hupo376787
Copy link

Proposal: Toast feature, just like Android toast.

Summary

See the bottom toast, uwp has no toast like this currently.
image

@hupo376787 hupo376787 added the feature proposal New feature proposal label Apr 26, 2019
@mdtauk
Copy link
Contributor

mdtauk commented Apr 26, 2019

The Windows Community Toolkit comes with this kind of control. InAppNotification

image

https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/inappnotification

Perhaps what you want is a timer dismiss option for this control, or perhaps moving it from the toolkit to the official control library.

@jesbis
Copy link
Member

jesbis commented Apr 26, 2019

In addition to in-app notifications, the Windows Community Toolkit also has helpers for showing system-level toasts:

https://docs.microsoft.com/windows/uwp/design/shell/tiles-and-notifications/send-local-toast

You can also use the UWP toast APIs directly, but the Community Toolkit makes it easier.

@jevansaks
Copy link
Member

Our 2.1 update also includes TeachingTip which can do this as well. See this section for something like what you want: https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/dialogs-and-flyouts/teaching-tip#non-targeted-tips

image

@hupo376787
Copy link
Author

Sounds good

@hupo376787
Copy link
Author

But teaching tip does not support a timer to auto close the tip

@jevansaks
Copy link
Member

@hupo376787 thanks for the specifics on that, you're right that there is no timeout. Would you mind opening another issue to track that TeachingTip is missing a dismiss timeout? If not maybe @SavoySchuler can file it on your behalf?

@jevansaks
Copy link
Member

On the other hand, system toasts auto-dismiss so maybe the recommendation should be to use a system toast if you want an ambient popup with timeout.

@mdtauk
Copy link
Contributor

mdtauk commented Jun 10, 2019

TeachingTip having a timeout was an idea discussed, but not implemented for Version 1. Maybe @SavoySchuler will be able to add that in the future

@hupo376787
Copy link
Author

OK, thanks guys for your great work. Looking forward to this feature.

@SavoySchuler
Copy link
Member

Hi, @hupo376787, I was just discussing with @mdtauk that I would be keen to open a TeachingTip V2 proposal if there were real app scenarios to drive it. Do you have one?

@mdtauk
Copy link
Contributor

mdtauk commented Jul 2, 2019

@SavoySchuler I think I remember discussing a timeout option with you, citing some old Windows Longhorn examples of a progress bar, on the message box, going down until the bubble/tip was dismissed.
image


However I think this particular proposal, may be better served with the more light-weight #913 Status Banner proposal which I think came from an internal Microsoft dev, so is likely to be made.

image

@hupo376787
Copy link
Author

I once made a app which style and behavior almost like android, see gif

000

@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
@hupo376787
Copy link
Author

Hi, guys. It seems TeachingTip still can't disappear automaticaly without any user interaction as android toast behavior.
The IsLightDismissEnabled property still need user to interact.
Do you have any plans?

@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Dec 20, 2019
@ranjeshj
Copy link
Contributor

@hupo376787 There is a discussion on this in the TeachingTip v2 proposal here - #638

@msft-github-bot msft-github-bot removed the needs-triage Issue needs to be triaged by the area owners label Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

7 participants