Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(29561): Refactor the Edge overview panel #754

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Conversation

vanch3d
Copy link
Contributor

@vanch3d vanch3d commented Jan 22, 2025

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

The PR refactors the Overview panel of the Edge node in the Workspace. It fixes a known bug when data is missing for the default reporting diagram (topic wheel).

It also expands the reporting power of the Workspace by adding several new diagrams to the panel. They are all experimental in nature and might - or might not - help identify aspects of the topology of the current Edge configuration:

  • the Workspace Cluster diagram is a live visualisation of the clustering of workspace entities (adapters, device, bridge ) based on dynamic keys (such as by status, by type, with given topic in mappings, ...)
  • The Concept Wheel is a dynamic visualisation of the segmentation of the concepts (topic, topic filters, tags) used in the Edge configuration, showing common branching and namespacing (and metadata of each aggregated segment)
  • The Relation Chords diagram shows how concepts of the Edge configuration are connected to each other through relations (mappings and datahub policies)
  • The Concept Flow diagram shows how concepts feed into each other through relations, identifying a common "pipeline" of data transfer.

All the diagrams are work in progress and are completely dependent on the variety and volume of the configuration data.

Out-of-topic

  • Detection of a diagram "empty state" (e.g. not enough data to show meaningful data visualisation) depends on each chart and its customisation power. A simple rendering has been implemented for each but a more consistent approach will be part of a further ticket
  • The addition of the data policies to the computation of the Edge ontology will be part of a further ticket

Before

screenshot-localhost_3000-2025_01_22-11_46_17

After

screenshot-localhost_3000-2025_01_22-11_43_58

screenshot-localhost_3000-2025_01_22-11_44_14

screenshot-localhost_3000-2025_01_22-11_44_23

screenshot-localhost_3000-2025_01_22-11_44_31

@vanch3d vanch3d self-assigned this Jan 22, 2025
@cla-bot cla-bot bot added the cla-signed label Jan 22, 2025
@vanch3d vanch3d marked this pull request as ready for review January 22, 2025 14:34
@vanch3d vanch3d force-pushed the feat/29561/edge-overview-panel branch from bb45bb9 to 0205b07 Compare January 22, 2025 14:42
@vanch3d vanch3d force-pushed the feat/29561/edge-overview-panel branch from fa3140a to 271bcf1 Compare January 22, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant