Skip to content

Add Code Insights edit dashboard UI

Warren Gifford requested to merge code-insights/dashboard-edit-ui into main

Created by: vovakulikov

Closes https://github.com/sourcegraph/sourcegraph/issues/22231

Background

This PR adds a new edit dashboard page on the /insights/dashboard/:dashboardId/edit route. Most of the UI is reused from the creation UI of the dashboard page.

This PR is based on changes from https://github.com/sourcegraph/sourcegraph/pull/22564

Screenshot of new the dashboard edit page Screenshot 2021-07-06 at 19 42 31

How to test

  1. Create the dashboard by dashboard creation UI (/insights/add-dashboard route)
  2. Right after that you must see the edit dashboard UI by /insights/dashboards/<camelCased name of your newly created dashboards>/edit

What have been done

  • Add new edit dashboard page (UI part) /insights/dashboard/edit
  • Add settings edit logic

Merge request reports

Loading