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

refactor(20148): Add a feature flag to disable behaviour policies #309

Closed vanch3d closed 4 months ago

vanch3d commented 4 months ago

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

The PR adds a feature flag (VITE_FLAG_DATAHUB_PROTOBUF_ENABLED) to disabled the behavior policies from the frontend:

By default, the flag is disabled. To change the flag, edit your .env.local (or .env for a github release) with the following property:

VITE_FLAG_DATAHUB_BEHAVIOR_ENABLED=true

Before

screenshot-localhost_3000-2024 03 08-13_16_01

After

screenshot-localhost_3000-2024 03 08-13_14_47

screenshot-localhost_3000-2024 03 08-13_15_05