Skip to content

Render "no data" error message for searches with no results

Administrator requested to merge insights/zero-data-chart-display into main

Created by: unclejustin

Closes https://github.com/sourcegraph/sourcegraph/issues/40871

display "zero data" error message

Design Actual
PixelSnap 2022-09-02 at 13 07 44 PixelSnap 2022-09-02 at 13 11 49

Test plan

  1. Run any search that returns no results. For example "asdfasdfasdf"
  2. Should hide the aggregations panel completely.
  3. Search for "repo:sourcegraph/sourcegraph"
  4. Should render the chart
  5. Change group by to "File"
  6. Should render the "No data to display" over the chart skeleton

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading