Add ability to duplicate the common metrics dashboard
This is the FE issue for case 1 in this issue
Case 1: User is viewing a system dashboard (e.g.
This dashboard cannot be modified directly by the user, so we offer the possibility to copy it to the repo:
- In the dashboard UI the user click on a button to update the dashboard tile
- In the
backend, we would need to locate and copy the dashboard yml file into the local repository
- Then we will redirect the user to the Web IDE for updating .yml file
- User will update the file & commit
We might consider using a different term then Edit as we are doing a "save as"
Introduce the option to "duplicate the dashboard" from within the dashboard selection dropdown. As we have different updates planned for this dropdown, what's implemented as part of this issue will depend on when the related issues are scheduled. Here's an outline of how this feature could look in the short, medium and longer terms, when we implement related dashboard improvement issues:
|Short-term (ie, utilizing the current dashboard dropdown)||Medium-term (ie, after #35288 (closed) is implemented||Longer-term (ie, after #6019 (closed) is implemented|
Note: we are still discussing whether this should be "Duplicate dashboard," "Create a copy," or "Clone dashboard"
backend implementation has been merged, a rough document of the backend can be found at: