Skip to content

Add property to enable metrics dashboards to be rearranged

What does this MR do?

Enable metrics dashboards to be rearranged

  • Leverage the recently added vuedraggable
  • Add feature to have panels drag and drop
  • Enable draggable panels have a different appearance
  • Add property to enable feature, disabled by default (MVC)

What does this MR NOT do?

  • It does not impact user experience Change is only visible when a component property is enabled.
  • It does not save changes back to backend
  • It does not commit/modify back to the vuex store

Screenshots

When property rearrangePanelsAvailable is enabled, the button becomes available. At the moment is disabled by default, follow-up at #33620:

2019-09-30_19.38.47

Note: Button is not added as part of this MR.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Relates to #27835 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports