Ui-notification allow pass-through via on-click event

Hope I'm not the only one to see the benefits of the enhancement I'm proposing for the ui-notification.

It would be very advantageous to allow message pass-through via on-click of the notification so that further action can be taken (eg a page refresh etc).

Thoughts?

Cheers
Bob

Ho @Bobo, just to be sure i understand the request, are you asking for a msg to be emitted when the notification is confirmed?

There is a PR that was opened a couple of months ago, that is sat with @BartButenaers to make some final changes to. Then it can be merged.

By confirmed I assume you mean the user clicks on the OK button to dismiss the notification? That is what I meant. Once the notification has been dismissed then emit a msg. Perhaps change the msg.payload input for the format of the notification to something like msg.notification, so that msg.payload can be passed straight through.

Although unrelated, another great enhancement imo would be a conditional notification (2 button notify) as well. Perhaps for another day :slight_smile:

That is also in that same PR

1 Like

Hi guys,
I am currently in my yearly computer-less period. Will continue to finalize the PR afterwards...

4 Likes

Have a well earned break :grinning:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.