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
104 stars 22 forks source link

feat(19466): Add user-editable id to the main DataHub nodes #427

Closed vanch3d closed 4 months ago

vanch3d commented 4 months ago

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

The PR adds support for user to edit the unique id of several types of nodes in the Designer

It dissociates the id of the ReactFlow node (uuid) from the user-facing id of the policy element. In effect, it acts as a name for the elements.

The id is mandatory and editable in the relevant side panel and serialised with the policies. They are bound to a uniqueness check, based on the type:

The main effect of the change is that policies are now listed with a more user-friendly name in the landing tables.

Out-of-scope

Before

screenshot-localhost_3000-2024 04 12-09_52_44

screenshot-localhost_3000-2024 05 15-12_47_24

After

screenshot-localhost_3000-2024 05 15-12_54_13

screenshot-localhost_3000-2024 05 15-12_46_55

screenshot-localhost_3000-2024 05 15-12_46_35

screenshot-localhost_3000-2024 05 15-12_46_02