hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
90 stars 20 forks source link

feat(19255): Add safeguards for deleting nodes or edges on the Designer #403

Closed vanch3d closed 1 month ago

vanch3d commented 2 months ago

See https://hivemq.kanbanize.com/ctrl_board/57/cards/19255/details/

The PR remove the uncontrolled deletion of nodes and edges on the Rect Flow canvas by adding user confirmation and safeguards.

The PR also fixes https://hivemq.kanbanize.com/ctrl_board/57/cards/20301/details/

Design

The deletion verifies the validity of the process before being applied. The following rules are in place:

Before

screenshot-localhost_3000-2024 04 30-17_56_07

After

screenshot-localhost_3000-2024 04 30-17_54_49

screenshot-localhost_3000-2024 04 30-17_55_12