antoniandre / wave-ui

A UI framework for Vue.js 3 (and 2) with only the bright side. ☀️
https://antoniandre.github.io/wave-ui
MIT License
549 stars 40 forks source link

Display notifications with this.$waveui.notify() #39

Closed djmattyg007 closed 3 years ago

djmattyg007 commented 3 years ago

Instead of having to create w-notification elements in potentially deeply nested components and worry about having them overlap with other notifications and so on, it would be nice if notifications could be triggered from anywhere with a function call, and have them centrally managed.

Ideally, notifications would also never overlap. If a notification was triggered while another one was still visible, they should be automatically arranged such that they are both always visible.

djmattyg007 commented 3 years ago

As per #40, I’m using Vue 3.

antoniandre commented 3 years ago

Also related to #14 & #51, now considering this feature request.

antoniandre commented 3 years ago

Hi @djmattyg007, @mikeerickson, @Epithumia, @HenryLin0914. This is now possible in Wave UI 1.35.0 and 2.21.0.

Check the documentation at https://antoniandre.github.io/wave-ui/w-notification!

Thanks for suggesting this feature, and please reopen if you see any issue. :)

turbobuilt commented 2 years ago

HI @antoniandre we still need a pretty confirm/prompt dialog box. I have hacked one using w-dialog, and I had to create a new instance of WaveUI every time to make it work right. It would be nice if there was a simple w-dialog prebuild with a confirm capability. I use this kind of thing all the time. Ex: "Are you sure you want to delete this?".