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

**URL:** https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [28 July 2024 05:33 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828 "2024-07-28T05:33:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)
#### Post date: [28 July 2024 05:33 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/1 "2024-07-28T05:33:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)
#### Post date: [28 July 2024 07:07 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/2 "2024-07-28T07:07:08Z")

</div>

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](https://github.com/FlowFuse/node-red-dashboard/pull/932) that was opened a couple of months ago, that is sat with @BartButenaers to make some final changes to. Then it can be merged.

---

<div class="post-metadata">

### Author: ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)
#### Post date: [28 July 2024 07:20 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/3 "2024-07-28T07:20:38Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)
#### Post date: [28 July 2024 07:36 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/4 "2024-07-28T07:36:55Z")

</div>

> [@Bobo](#):
>
> Although unrelated, another great enhancement imo would be a conditional notification (2 button notify) as well. Perhaps for another day

That is also in that same PR

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [28 July 2024 14:11 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/5 "2024-07-28T14:11:30Z")

</div>

> [@joepavitt](#):
>
> that is sat with @BartButenaers to make some final changes to. Then it can be merged.

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

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [28 July 2024 22:23 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/6 "2024-07-28T22:23:10Z")

</div>

Have a well earned break 😀

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [27 August 2024 22:23 UTC](https://discourse.nodered.org/t/ui-notification-allow-pass-through-via-on-click-event/89828/7 "2024-08-27T22:23:20Z")

</div>

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