Add Code Insights dashboard insights fetching
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/22216
Background
Currently, /insights
page loads all insights that the user has. Since we want to add insight dashboard separation and view only sub-set of all insights according to dashboard insight meta info on dashboard page /insights/dashboard/<id of dashboard>
we have to change our call view provider logic by adding dashboard insight IDs information filtering.
What was done.
-
Add dashboard logic to the extension API -
Add URL param to the dashboard page -
Connect URL param value and dashboard insights selection -
Fixed loading of backend insight. Before this PR backend insight loading blocks progressive loading of ext-based insight. That was solved by adding start initial value for backend insight view.