FlowFuse / FlowFuse/node-red-dashboard

ui-event node does not send events after Node-RED deploy until browser page is reloaded

Open
#1,371 7 comments 4 reactions 0 assignees View on GitHub
size:S type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

When using the ui-event node on the dashboard, if the page is open in the browser and a deployment is performed in Node-RED, ui-event nodes stop sending events from the browser to Node-RED until the page is reloaded manually.

### Expected Behavior

After deploying in Node-RED, the ui-event node should continue to function without requiring a manual browser page reload. The events should be sent from the browser to Node-RED seamlessly.

### Steps To Reproduce

1. Set up a Node-RED flow using the ui-event node in a dashboard.
2. Open the dashboard in a browser.
3. Interact with the dashboard and confirm that ui-event nodes are sending events to Node-RED.
4. Perform a deployment in Node-RED.
5. Navigate through the dashboard (without reloading the browser page).
6. Observe that the ui-event nodes are no longer sending events.
7. Reload the browser page.
8. Interact with the dashboard again and notice that the ui-event nodes resume sending events.

### Environment

- Dashboard version: 1.17.0
- Node-RED version: 3.0.2
- Node.js version: 18.20.3
- npm version: 10.7.0
- Platform/OS: Ubuntu 20.04
- Browser: Chrome/Chromium

### Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.