Skip to content

change type: to select:

Administrator requested to merge change-type-to-select into main

Created by: Joelkw

Both type: and select: are functionally correct in this specific example but in effort to train our users overall to be better at using insights, generally they want to use select: because:

  1. type:file searches file types and only returns the count of matches as # of files if there is no other search string, just search filters. This means that if I want the count of files containing a component, I can't use type:file – it will just search files and return "normal" total counts.
  2. select:file runs my search and then counts the file matches. This is usually what people want when thinking about "selecting the count of files".

Test plan

I have tested these queries and they return the same results, see: image

image

and

image image

Otherwise, this is a copy change.

Merge request reports

Loading