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
92 stars 21 forks source link

feat(18854): Add reset to the workspace #322

Closed vanch3d closed 4 months ago

vanch3d commented 4 months ago

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

The PR adds a reset option to the workspace configuration panel, allowing users to clean any discrepancies between the content of the workspace and the Edge topology.

The issue arises from aspects of the workspace visualisation being persisted on the localStorage of the browser but occasionally being dissociated from the elements (i.e. adapters and bridges) effectively known to the Esge system.

The manual reset will help with that situation but many aspects of the user personalisation of the workspace being lost: location of the nodes on the graph, groups created, configuration of the analytics panel.

Confirmation is required before resetting. The user will be navigated back to the main, to action the reset. The next access to the workspace will have an up-to-date version of the canvas.

The PR also removes the configuration of the visible elements (also impacted by local storage).

Before

screenshot-localhost_3000-2024 03 14-15_26_12

After

screenshot-localhost_3000-2024 03 14-15_25_13

screenshot-localhost_3000-2024 03 14-15_25_30

sfrehse commented 4 months ago

The next access to the workspace will have an up-to-date version of the canvas.

Does this mean, once user clicks reset automatically the workspace is re-build?