Skip to content

search: don't show "Repository match" or "Path match" text

Warren Gifford requested to merge dont-show-repo-path-match-boxes into main

Created by: sqs

When searching repositories, each repository match will show a large, clunky text box saying Repository match. When searching files, each file whose path matches likewise says Path match. These text labels take up space and feel clunky (obviously it's a match--that's why it's shown as a result).

This commit removes those text labels. This means that some matches now have no "box" below them (such as if a matched repository has no description, and all path-matched files). It also means that the archived and fork labels needed to be moved elsewhere, so they are now next to the repository stars count (or otherwise on the right-hand side of the result).

Also adds storybooks for repository, commit, file, symbol, and path matches.

Merge request reports

Loading