Skip to content

insights: add proper search default fork/archive params based on insight repos

Warren Gifford requested to merge cw/all-scoped-repos into main

Created by: chwarwick

Updated the default query parameters for insights to the following:

  • fork:no archive:no for All Repos insights
  • fork:yes archive:yes for insights scoped to specific repos

resolves #37287 (closed)

Test plan

Created a fork of a repo and found a search query that returned 1 result in repo (and same 1 result in fork). Created following insights and validated inclusion/exclusion of results from fork

Track Changes Insight: Screen Shot 2022-06-16 at 10 21 06 AM Screen Shot 2022-06-16 at 10 21 14 AM

Capture Group Insights: Screen Shot 2022-06-16 at 10 34 30 AM Screen Shot 2022-06-16 at 10 37 01 AM

Merge request reports

Loading