Skip to content

Remove order and weight from custom dashboard schema

Problem to solve

The frontend needs an easy way to reorder panels in a dashboard. The current method of using priority and weight keys is cumbersome. It's also difficult for a human reading/editing the dashboard file to visualize what the final order will be.

Currently, backend reorders dashboard groups and panels based on the priority and weight keys. The frontend displays the groups and panels in the order that it receives them in.

Further details

Remove the priority and weight keys from dashboard schema so that groups and panels are displayed in the order that they are defined.

Proposal

Documentation

Availability & Testing

Please trigger the package-and-qajob on the MR relevant for this issue. The order is relevant on these specs but these should not be affected by weight and priority.

What does success look like, and how can we measure that?

TBD

Links / references

Spike that generated this issue: #27834 (closed)

Edited by Sofia Vistas