Skip to content

Insights: add insight dashboards API query

Warren Gifford requested to merge insights/api/dashboard-fetch into main

Created by: coury-clark

Closes #25648 (closed)

  1. Adds some API / DB scaffolding to the new insight dashboards API
  2. Adds the dashboards query with pagination
  3. Has a stub resolver for insight views under dashboard that only returns the ID. This will get replaced soon in a future PR.
  4. User permissions are not actually restricted at the moment so we can easily testing using the API. https://github.com/sourcegraph/sourcegraph/issues/25708

Currently, any views that get associated with dashboards will get unlinked as soon as the next settings migration occurs. This is acceptable for the moment since this is largely just an infrastructure PR.

Merge request reports

Loading