I've differentiated three functional spaces that we could use for extensions: top horizontal, bottom horizontal and vertical. Each of those spaces has its pros and cons in relation to the needs of the extension action items.
User settings editor where users had to configure insights manually
After creating the POC and getting feedback from some of our users, we ha enough market validation to start planning for Beta. Together with the PM and EM, we needed to perform wide product research to define what we want to build, why, for whom and how.
After talking to some of the Insight's early adopters among out customers, we quickly validated that creating insights via JSON in user settings is the biggest blocker. For the Beta release to be successful, we needed to provide users with a creation UI that would guide them through the process.
Creation UI: Chart settings
We migrated to a different chart library that gives us better experience and more flexibility:
Code Insight: chart interactions
We worked closely with a group of customers who decided to experiment with Code Insights in Beta. The overall reception of the feature was extremely positive but we've repeatedly heard feedback about improvements needed before Insights can be seen as a fully valuable feature.
Allowing users to group insights and control access to those groups became a clear next step in the process of becoming ready for the GA. We've decided to combine sharing, privacy and grouping in one solution - dashboards.
When adding a dashboard, users can choose between 3 privacy settings: private (only this user), shared (one of the organisations) or global (visible for everyone on a given Sourcegraph instance). Those settings will be inherited by the insights included in the dashboard.
Users can choose a dashboard from the dropdown. Dashboards are grouped by visibility and the list is searchable.
Managing insights assigned to a dashboard is done via a popup. In addition, users can remove insights from a dashboard using the insights contextual menu.
Assigning insights to a dashboard
Promotional video for Code Insights launch