Skip to content

Code Insights: Add compute-powered insight edit UI page

Administrator requested to merge vk/add-compute-edit-ui into main

Created by: vovakulikov

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

Test plan

  • Go to the creation UI /insight/create/group-results
  • Fill out the creation form and create insight
  • In the network tab find create insight mutation and copy the newly created insight id
  • Go to the edit UI /insights/edit/
  • You have to see the edit UI for compute-powered insight
  • Change something in the form and click save changes
  • Visit edit UI again and you should see the most recent updated values in the form

For reviewers

At the moment groupBy setting doesn't work and therefore you can update it. You can change it on the edit UI page but after refreshing, you will see that this setting was set back to the group by the author. This is a known problem and it lives on the backend. https://github.com/sourcegraph/sourcegraph/issues/38872

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading