-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05ddaf4
commit 153c75d
Showing
2 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
frontend/src/scenes/session-recordings/player/inspector/components/InspectorSearchInfo.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
export function InspectorSearchInfo(): JSX.Element { | ||
return ( | ||
<> | ||
Searching is "fuzzy" by default meaning that it will try and match many properties that are <i>close</i> to | ||
the search query. | ||
<br /> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Token</th> | ||
<th>Match type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<code>jscript</code> | ||
</td> | ||
<td>fuzzy-match</td> | ||
<td> | ||
Items that fuzzy match <code>jscript</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>=scheme</code> | ||
</td> | ||
<td>exact-match</td> | ||
<td> | ||
Items that are <code>scheme</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>'python</code> | ||
</td> | ||
<td>include-match</td> | ||
<td> | ||
Items that include <code>python</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>!ruby</code> | ||
</td> | ||
<td>inverse-exact-match</td> | ||
<td> | ||
Items that do not include <code>ruby</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>^java</code> | ||
</td> | ||
<td>prefix-exact-match</td> | ||
<td> | ||
Items that start with <code>java</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>!^earlang</code> | ||
</td> | ||
<td>inverse-prefix-exact-match</td> | ||
<td> | ||
Items that do not start with <code>earlang</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>.js$</code> | ||
</td> | ||
<td>suffix-exact-match</td> | ||
<td> | ||
Items that end with <code>.js</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code>!.go$</code> | ||
</td> | ||
<td>inverse-suffix-exact-match</td> | ||
<td> | ||
Items that do not end with <code>.go</code> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</> | ||
) | ||
} |