New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Insights: Support color for compute powered insight #40038
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears good to me. I did notice that it takes on Track Changes edit behavior where you could remove the 1 and only series, and not the capture group behavior where you can't. I think that is ok assuming we intend to eventually add back the ability to have multiple series.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making this change @vovakulikov
- we need to change the copy on the 'group results' card to mirror this change from
Insight that groups results by repository, path, author or date. You will define each data series manually.
To:
Insight based on a custom Sourcegraph search query that groups results by repository, path, author or date.
- Small visual issue: disabled group buttons (author and date) have all round corners. When buttons become active, issue no longer exists:
-
Not critical, can be out of scope: I'm not sure about how useful is to keep both 'name' for the series and 'name' for the chart. In this case when we only have one series, they would probably be the same in most cases. My proposition is to remove the 'name' field form the data series form for now. Also, data series name is not displayed in the final chart on the dashboard.
-
Important: when creating insight from the 'all insights' dashboard, it was not saved. I couldn't find it in 'All insights' (loom). When creating an insight from my private dashboard, insight was added there correctly (loom).
Thanks @chwarwick @AlicjaSuska for your review
|
968e0f9
to
53ccfe9
Compare
This should be fixed now in this branch
|
Thank you @vovakulikov for making changes and creating the issues. I think everything looks good now, the insight also was saved in 'all insights' correctly. |
53ccfe9
to
2c7bbaa
Compare
Closes #38832
Fixes #39917
Background
Considering a given timeframe for Sourcegraph 4.0, we disable multi-series support for compute-powered insight. This PR
Test plan
App preview:
Check out the client app preview documentation to learn more.