Add Code Insights Dashboard page UI
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/22225
Background
Adding dashboard UI implies implementation of select/listbox UI, without dashboard creation UI. Users should be able to switch between different dashboards (All, personal, org level dashboards) via select dashboard UI. You can find designs for this UI here
What have been done
-
Change built-in dashboards paradigm on dashboards levels Example: - All - Personal - Built-in personal dashboard with all insights - Custom personal dashboards - Organization 1 - Built-in Organization 1 dashboard with all insights withing this org - Custom Organization 1 dashboards - Organization N ... -
Imlement listbox dashboard component
The following two points will be resolved in the next PR, so as not to increase the size of this PR https://github.com/sourcegraph/sourcegraph/pull/22474
-
Connect UI logic and dashboard data -
Connect UI logic to URL routes and sync active dashboard with insights route URL