Code Insights: Disable backend insight edit operation over some insight fields
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/24072
Context
Code Insight Backend uses a sync process to get insight configuration from the setting cascade subject and starts collecting historical data process. However, at the moment this mechanism doesn't work really well with insight configuration updates. We have to disable some data-sensitive fields at the edit page in case if we are updating backend insight. (query search value and number of data series)
Other insight configuration fields we are able to resolve via setting cascade and not by backend insight response. So you're still able to edit some fields (like series name or series color)