-
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.
Merge branch 'master' into fix-interval-filter-logic
- Loading branch information
Showing
26 changed files
with
629 additions
and
256 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+1.05 KB
(100%)
frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1,31 +1,22 @@ | ||
import type { Meta, StoryObj } from '@storybook/react' | ||
import { Marker } from 'maplibre-gl' | ||
|
||
import { Map, MapComponent } from './Map' | ||
import { Map } from './Map' | ||
|
||
const coordinates: [number, number] = [0.119167, 52.205276] | ||
|
||
const meta: Meta<typeof Map> = { | ||
title: 'Components/Map', | ||
component: Map, | ||
tags: ['autodocs'], | ||
} | ||
type Story = StoryObj<typeof Map> | ||
|
||
const coordinates: [number, number] = [0.119167, 52.205276] | ||
|
||
export const Unavailable: Story = {} | ||
|
||
export const Basic: Story = { | ||
render: (args) => ( | ||
<MapComponent | ||
mapLibreStyleUrl="" // TODO: set this value for the publish storybook and visual regression tests | ||
{...args} | ||
/> | ||
), | ||
// :TRICKY: We can't use markers in Storybook stories, as the Marker class is | ||
// not JSON-serializable (circular structure). | ||
args: { | ||
center: coordinates, | ||
markers: [new Marker({ color: 'var(--primary)' }).setLngLat(coordinates)], | ||
className: 'h-60', | ||
}, | ||
} | ||
type Story = StoryObj<typeof Map> | ||
|
||
export const Basic: Story = {} | ||
|
||
export default meta |
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
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
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
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
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
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 |
---|---|---|
|
@@ -138,7 +138,7 @@ | |
} | ||
} | ||
|
||
&--compact { | ||
&--compact:not(.Notebook--canvas) { | ||
.NotebookEditor { | ||
max-width: 800px; | ||
} | ||
|
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
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> | ||
</> | ||
) | ||
} |
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
Oops, something went wrong.