FlowFuse / FlowFuse/node-red-dashboard

Ui control does not emit an event upon showing or closing of a dialog

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

Description

### Current Behavior

Currently there is no way to know if a dialogue opened or closed.

This is useful for populating Fields upon opening and other things like cleanup after closing.

### Expected Behavior

At minimum, an event that a dialogue has opened or closed.

Even better still would be to be able to include parameters in the message sent to UI control so that the emitted control event contained these additional parameters. This would permit a dialog to be closed and pass values to the control for later use

### Steps To Reproduce

Create a dialog group
Add a UI control linked to a debug node
Open the via ui control - note that there are no debug events

### Environment

- Dashboard version: 1.25
- Node-RED version:
- Node.js version:
- npm version:
- Platform/OS:
- Browser:

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

I have provided 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.