Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,131
    • Issues 44,131
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,290
    • Merge requests 1,290
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #37238
Closed
Open
Issue created Nov 25, 2019 by Dov Hershkovitch@dhershkovitch🌴Developer

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. common_metrics.yml)

This dashboard cannot be modified directly by the user, so we offer the possibility to copy it to the repo:

  1. In the dashboard UI the user click on a button to update the dashboard tile
  2. In the backend, we would need to locate and copy the dashboard yml file into the local repository
  3. Then we will redirect the user to the Web IDE for updating .yml file
  4. User will update the file & commit

We might consider using a different term then Edit as we are doing a "save as"

Design Proposal

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
37238-1 37238-2 37238-3

Note: we are still discussing whether this should be "Duplicate dashboard," "Create a copy," or "Clone dashboard"

Technical Implementation

backend implementation has been merged, a rough document of the backend can be found at:

#35228 (comment 258034827)

Edited Nov 16, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
Time tracking