node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

UI-GROUP: Type Dialog - Requesting a feature to 'block user input' until the dialog window is disabled.

Open smanjunath-211 opened this issue 10 months ago • 1 comments

Description

As discussed here: https://discourse.nodered.org/t/ui-group-type-dialog-how-to-prevent-closing-the-window/95896

Need a Feature when dialog group is in foreground, the user input (mouse clicks/keyboard inputs) should be blocked so that the activities in background go uninterrupted.
Use case: I have a dashboard where a query is submitted in the main window (mysql query ) the database query takes sometime and during that period, as the query results take significant amount of time, the user is tempted to click away. currently i try to achieve by activating the dialog group saying 'wait', but the user can click somewhere else or close the dialog box, however the activity is still going on in background and user again starts the query assuming the last query did not go through. in dashboard-1 i was easily getting this done through 'ui-spinner'. I need exactly same features as ui-spinner.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

smanjunath-211 avatar Mar 10 '25 11:03 smanjunath-211

Image

smanjunath-211 avatar Mar 10 '25 11:03 smanjunath-211

@Steve-Mcl has provided an interim solution and this works great. this is exactly what I am expecting.

https://discourse.nodered.org/t/block-user-input-till-it-is-time/97460/3?u=smanjunath211

Image

smanjunath-211 avatar Jun 07 '25 14:06 smanjunath-211