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

fix(23330): Only include selectable options in the browser #469

Closed vanch3d closed 3 months ago

vanch3d commented 3 months ago

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

The PR corrects the logic of the tag browser, only allowing selectable options to be visible in the auto-complete options.

The selectable flag is internal and received from the backend.

The PR also customises the error message when no options are visible, to identify the context (no options available, no selectable options available, no option matching filter)

The PR adds a "breadcrumb" representation of the path of an item in the tree. It could be used for rendering purposes, as an alternative to present a fully, non-accessible treeview

Out-of-scope

Before

screenshot-localhost_3000-2024 06 18-13_13_23

screenshot-localhost_3000-2024 06 18-13_14_05

After

screenshot-localhost_3000-2024 06 19-17_16_41

screenshot-localhost_3000-2024 06 19-17_16_59

oli-hivemq commented 3 months ago

Your 2nd screenshot shows "None of the tabs are selectable" but the UI also shows that this is a required field. What does this mean for the end user? Can they continue or will they be blocked? What's the user experience like?

vanch3d commented 3 months ago

Your 2nd screenshot shows "None of the tabs are selectable" but the UI also shows that this is a required field. What does this mean for the end user? Can they continue or will they be blocked?

It's a major issue we will be tackling in the next tickets. There is a contradiction: