Skip to content

Add result type label to the references panel

Created by: AlicjaSuska

Part of issue #17582 (closed)

Description

Label showing the result type ('semantic', 'partial semantic' or 'search-based') should be added to the references panel.

Design specification

Figma

  • There are 3 possible labels: 'semantic', 'partial semantic' and 'search-based'. It should have the same styles as the label in code intelligence tooltip (see #18929 (closed) for details)
  • Label should be displayed per result, next to the directory. Please, keep a 0.5 rem (8px) distance between the directory and the label.
  • On smaller screens or for very long directory paths, wrap label together with the directory (doesn't have to be in a separate row)
  • Label should be clickable and link to Docs. Please, remember to change the cursor type to pointer (hand)