Added a draft for in-app notifications#100
Added a draft for in-app notifications#100gentledepp wants to merge 1 commit intoAvaloniaUI:mainfrom
Conversation
|
Avalonia already has a notification API. What does this do differently? https://reference.avaloniaui.net/api/Avalonia.Controls.Notifications/Notification/ |
|
Hey @thevortexcloud as mentioned here #99
This feels hacky to me. My reason for this is: The So I am sure you will not take this PR - no harm done. |
Unless something has changed since I last used it (or I am misremembering), you don't? You just call the API on a specific window and it works. Anyway, it sounds like what you want is fairly similar to what this packages does? https://github.com/AvaloniaUtils/DialogHost.Avalonia
It's not actually up to me. I am not in charge around here. I am not against this, but I feel like it would be better to improve the existing notification system rather than try to maintain two of them. From memory there was already vague plans to do that since most platforms have a native notification/toast API which Avalonia could support. No idea if anybody made any progress on it though. |
|
yes absolutely - improving the existing system makes much more sense! |
I followed the "ContentDialog" approach and tried my best.
Please let me know if this may ever make it into avalonia.
And what needs to be done (polishing, etc) to get it in.
Here is the gist: