Skip to content

Support filters for search based backend insights

Administrator requested to merge vk/gql-support-insight-filters into main

Created by: vovakulikov

Context

This PR support drill-down filters for search-based backend insights. Most of the changes of this PR are related to respecting applied filters data from the gql API. Our UI already supports this since we have these filters in the setting-based API.

Problems

  • Seems like BE has some problems around filters. Be aware that the update insight mutation might not be working as expected and returns some errors. But if you refresh the page you should see that filters that you tried to apply should be in the drill-down panel. https://github.com/sourcegraph/sourcegraph/issues/27837

  • Creation insight from the drill-down filter panel doesn't work since our BE doesn't support this field in creating Insight mutation. It should be fixed as soon as BE fixed that problem.

Merge request reports

Loading