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:
Note: Button is not added as part of this MR.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
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 🤖