:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(replay): update watch layout in the quill player (#130868)
Hayne Ryuf9a7c71037b0
diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillDebugReplayButton.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillDebugReplayButton.tsxindex 791c76c26440..cac1fd07b2a5 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillDebugReplayButton.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillDebugReplayButton.tsx@@ -67,7 +67,7 @@ export function QuillDebugReplayButton(): JSX.Element {return (<><Button- size="xs"+ size="sm"onClick={() => setPromptModalOpen(true)}loading={debugRecordingPreparing}tooltip={@@ -89,7 +89,7 @@ export function QuillDebugReplayButton(): JSX.Element {<><ButtonGroup><Button- size="xs"+ size="sm"onClick={() => openDebugChat(sessionRecordingId)}loading={openingDebugChat || debugRecordingPreparing}tooltip={debugRecordingPreparing ? PREPARING : debugChatTooltip(debugChatSummary)}@@ -102,7 +102,7 @@ export function QuillDebugReplayButton(): JSX.Element {<DropdownMenuTriggerrender={<Button- size="icon-xs"+ size="icon-sm"aria-label="More debug options"disabledReason={debugRecordingPreparing ? PREPARING : undefined}data-attr="replay-debug-chat-more"diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillInsertInNotebookPlaylistButton.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillInsertInNotebookPlaylistButton.tsxindex 8159320f9026..b31b47d3eaf0 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillInsertInNotebookPlaylistButton.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillInsertInNotebookPlaylistButton.tsx@@ -17,7 +17,7 @@ export function QuillInsertInNotebookPlaylistButton({ size }: { size: 'small' |return (<Button- size="icon-xs"+ size="icon-sm"tooltip="Comment in a notebook"aria-label="Comment in a notebook"onClick={() =>diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillInspectDOM.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillInspectDOM.tsxindex 874c585e3674..b0a3a4197041 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillInspectDOM.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillInspectDOM.tsx@@ -11,7 +11,7 @@ export function QuillInspectDOM(): JSX.Element {return (<Button- size="xs"+ size="sm"onClick={openExplorer}tooltip="Inspect the DOM as it was at this moment in the session. Analyze the structure and elements captured during the recording."disabledReason={diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillOverviewDeviceCard.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillOverviewDeviceCard.tsxindex 523e4db99db4..c6e0b32a071b 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillOverviewDeviceCard.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillOverviewDeviceCard.tsx@@ -15,13 +15,13 @@ export function QuillOverviewDeviceCard(): JSX.Element {// Pixel sizes instead of CSS aspect-ratio, so unknown or extreme resolutions still draw as a screen.const aspect = resolution && resolution.width > 0 ? resolution.height / resolution.width : 10 / 16- const frameWidth = aspect > 1 ? Math.round(34 / aspect) : 68- const frameHeight = aspect > 1 ? 34 : Math.round(68 * Math.min(Math.max(aspect, 0.35), 0.56))+ const frameWidth = aspect > 1 ? Math.round(56 / aspect) : 88+ const frameHeight = aspect > 1 ? 56 : Math.round(88 * Math.min(Math.max(aspect, 0.5), 0.65))const visiblePercent = Math.round(Math.min(Math.max(scale, 0), 1) * 80)return (<>- <div className="rounded border border-border bg-card px-2 py-2 flex items-center gap-3 min-w-0">+ <div className="rounded border border-border bg-card px-2 py-2.5 flex items-center gap-3 min-w-0">{loading ? (<Skeleton className="h-10 w-full" />) : (@@ -39,7 +39,7 @@ export function QuillOverviewDeviceCard(): JSX.Element {style={{ width: `${visiblePercent}%`, height: `${visiblePercent}%` }}/></span>- <span className="block h-1.5 w-7 rounded-b-sm bg-border" />+ <span className="block h-1.5 w-9 rounded-b-sm bg-border" /></TooltipTrigger><TooltipContent className="max-w-72">The page was captured at <b>{resolutionDisplay}</b>. The dashed box is the part you seediff --git a/frontend/src/scenes/session-recordings/player/watch/QuillPinToPlaylistButton.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillPinToPlaylistButton.tsxnew file mode 100644index 000000000000..bedcbedac6f6--- /dev/null+++ b/frontend/src/scenes/session-recordings/player/watch/QuillPinToPlaylistButton.tsx@@ -0,0 +1,212 @@+import { useActions, useValues } from 'kea'++import { IconMinusSmall, IconPlus, IconPlusSmall } from '@posthog/icons'+import {+ Badge,+ Button,+ CheckboxIndicator,+ Input,+ Popover,+ PopoverContent,+ PopoverTrigger,+ Separator,+ Skeleton,+ Spinner,+} from '@posthog/quill'++import { IconOpenInNew } from 'lib/lemon-ui/icons'+import { LinkPrimitive } from 'lib/lemon-ui/Link'+import { getAccessControlDisabledReason } from 'lib/utils/accessControlUtils'+import { playlistPopoverLogic } from 'scenes/session-recordings/player/playlist-popover/playlistPopoverLogic'+import { sessionRecordingPlayerLogic } from 'scenes/session-recordings/player/sessionRecordingPlayerLogic'+import { sessionRecordingsPlaylistLogic } from 'scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic'+import { urls } from 'scenes/urls'++import { AccessControlLevel, AccessControlResourceType } from '~/types'++/** Quill sibling of `PinToPlaylistButton`: adds the recording to collections from the watch panel title row. */+export function QuillPinToPlaylistButton(): JSX.Element {+ const { logicProps } = useValues(sessionRecordingPlayerLogic)+ const {+ logicProps: { logicKey: currentPlaylistId },+ } = useValues(sessionRecordingsPlaylistLogic)+ const logic = playlistPopoverLogic(logicProps)+ const {+ playlistsLoading,+ searchQuery,+ newFormShowing,+ showPlaylistPopover,+ allPlaylists,+ currentPlaylistsLoading,+ modifyingPlaylist,+ pinnedCount,+ newPlaylist,+ isNewPlaylistSubmitting,+ } = useValues(logic)+ const {+ setSearchQuery,+ setNewFormShowing,+ setShowPlaylistPopover,+ addToPlaylist,+ removeFromPlaylist,+ setNewPlaylistValue,+ submitNewPlaylist,+ } = useActions(logic)++ const label = logicProps.pinned ? 'Remove from collection' : 'Add to collection'++ if (logicProps.setPinned && !logicProps.pinned) {+ return (+ <Button+ variant="secondary"+ onClick={() => logicProps.setPinned?.(true)}+ tooltip={label}+ data-attr="pin-to-this-list"+ >+ <IconPlusSmall />+ {label}+ </Button>+ )+ }++ const editDisabledReason = getAccessControlDisabledReason(+ AccessControlResourceType.SessionRecording,+ AccessControlLevel.Editor+ )++ return (+ <Popover open={showPlaylistPopover} onOpenChange={setShowPlaylistPopover}>+ <PopoverTrigger+ render={+ <Button+ variant="secondary"+ tooltip={label}+ disabledReason={editDisabledReason ?? undefined}+ data-attr="player-collection-popover-toggle"+ />+ }+ >+ {logicProps.pinned ? <IconMinusSmall /> : <IconPlusSmall />}+ {label}+ {pinnedCount > 0 && <Badge>{pinnedCount}</Badge>}+ </PopoverTrigger>+ <PopoverContent align="end" className="w-80 p-0">+ <div className="flex flex-col gap-1 p-1">+ {newFormShowing ? (+ <form+ className="flex flex-col gap-1"+ onSubmit={(event) => {+ event.preventDefault()+ submitNewPlaylist()+ }}+ >+ <Input+ size="sm"+ placeholder="Collection name"+ value={newPlaylist.name}+ onChange={(event) => setNewPlaylistValue('name', event.target.value)}+ autoFocus+ />+ <div className="flex items-center justify-end gap-1">+ <Button+ size="sm"+ onClick={() => setNewFormShowing(false)}+ data-attr="player-collection-new-cancel"+ >+ Cancel+ </Button>+ <Button+ size="sm"+ variant="primary"+ type="submit"+ loading={isNewPlaylistSubmitting}+ disabledReason={newPlaylist.name ? undefined : 'Give the collection a name'}+ data-attr="player-collection-new-create"+ >+ <IconPlus />+ Create and add+ </Button>+ </div>+ </form>+ ) : (+ <>+ <Input+ type="search"+ size="sm"+ placeholder="Search collections…"+ value={searchQuery}+ onChange={(event) => setSearchQuery(event.target.value)}+ autoFocus+ />+ <Button+ size="row"+ left+ className="w-full"+ onClick={() => setNewFormShowing(true)}+ data-attr="player-collection-new-open"+ >+ <IconPlus />+ New collection+ </Button>+ </>+ )}+ </div>+ <Separator />+ <div className="max-h-60 overflow-y-auto p-1">+ {allPlaylists.length ? (+ allPlaylists.map(({ selected, playlist }) => {+ const modifying =+ currentPlaylistsLoading && modifyingPlaylist?.short_id === playlist.short_id+ return (+ <div key={playlist.short_id} className="flex items-center gap-1">+ <Button+ size="row"+ left+ className="flex-1 min-w-0"+ onClick={() => {+ if (logicProps.setPinned && playlist.short_id === currentPlaylistId) {+ logicProps.setPinned(!selected)+ return+ }+ if (selected) {+ removeFromPlaylist(playlist)+ } else {+ addToPlaylist(playlist)+ }+ }}+ data-attr="player-collection-toggle-item"+ >+ {modifying ? <Spinner /> : <CheckboxIndicator checked={selected} size="sm" />}+ <span className="truncate">{playlist.name || playlist.derived_name}</span>+ </Button>+ <Button+ size="icon-sm"+ aria-label="Open collection"+ tooltip="Open collection"+ render={+ <LinkPrimitive+ to={urls.replayPlaylist(playlist.short_id)}+ target="_blank"+ />+ }+ data-attr="player-collection-open"+ >+ <IconOpenInNew />+ </Button>+ </div>+ )+ })+ ) : playlistsLoading ? (+ <div className="flex flex-col gap-2 p-2">+ <Skeleton className="h-4" />+ <Skeleton className="h-4" />+ <Skeleton className="h-4" />+ </div>+ ) : (+ <div className="p-2 text-center text-sm text-muted-foreground">No collections found</div>+ )}+ </div>+ </PopoverContent>+ </Popover>+ )+}diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillPlayerActionsMenu.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillPlayerActionsMenu.tsxindex 8dbc4420f1fd..61c2df6fb833 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillPlayerActionsMenu.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillPlayerActionsMenu.tsx@@ -131,7 +131,7 @@ export function QuillPlayerActionsMenu({ extraItems = [] }: { extraItems?: Lemon<><DropdownMenu><DropdownMenuTrigger- render={<Button size="icon-xs" aria-label="More actions" data-attr="player-meta-more-menu" />}+ render={<Button size="icon-sm" aria-label="More actions" data-attr="player-meta-more-menu" />}><IconEllipsis /></DropdownMenuTrigger>diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillPlayerShareMenu.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillPlayerShareMenu.tsxindex 726bb63e1f39..27029ff9a17b 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillPlayerShareMenu.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillPlayerShareMenu.tsx@@ -56,7 +56,7 @@ export function QuillPlayerShareMenu(): JSX.Element {return (<DropdownMenu>- <DropdownMenuTrigger render={<Button size="xs" data-attr="session-recording-share-button" />}>+ <DropdownMenuTrigger render={<Button size="sm" data-attr="session-recording-share-button" />}><IconShare />Share</DropdownMenuTrigger>diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillSetPlaybackSpeed.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillSetPlaybackSpeed.tsxindex f4e8e827b42e..7fa6de81db59 100644--- a/frontend/src/scenes/session-recordings/player/watch/QuillSetPlaybackSpeed.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/QuillSetPlaybackSpeed.tsx@@ -20,7 +20,7 @@ export function QuillSetPlaybackSpeed(): JSX.Element {<DropdownMenuTriggerrender={<Button- size="xs"+ size="sm"variant={speed === 1 ? 'default' : 'secondary'}data-attr="session-recording-speed-select"/>diff --git a/frontend/src/scenes/session-recordings/player/watch/QuillSettingsSnapshot.tsx b/frontend/src/scenes/session-recordings/player/watch/QuillSettingsSnapshot.tsxnew file mode 100644index 000000000000..e0b637e95c2d--- /dev/null+++ b/frontend/src/scenes/session-recordings/player/watch/QuillSettingsSnapshot.tsx@@ -0,0 +1,64 @@+import { useActions, useValues } from 'kea'+import { useEffect } from 'react'++import { Skeleton } from '@posthog/quill'++import { settingsSnapshotLogic } from 'lib/components/settingsSnapshotLogic'++function settingLabel(key: string): string {+ return key+ .replaceAll('_', ' ')+ .replace('session recording', 'Session recording')+ .replace('session replay', 'Session replay')+}++function settingDisplay(value: unknown): string {+ if (value === null || value === undefined || value === '') {+ return 'Not set'+ }+ return typeof value === 'object' ? JSON.stringify(value) : String(value)+}++/** Quill sibling of `SettingsSnapshot`: the project's replay settings as they were when the recording was captured. */+export function QuillSettingsSnapshot({ at, scope }: { at?: string; scope: string[] }): JSX.Element {+ const { loadSettingsAsOf } = useActions(settingsSnapshotLogic)+ const { settingsSnapshot, settingsSnapshotLoading } = useValues(settingsSnapshotLogic)+ const scopeKey = scope.join('|')++ useEffect(() => {+ if (at) {+ loadSettingsAsOf(at, scope)+ }+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [at, scopeKey])++ if (!at) {+ return <div className="px-2 py-1 text-sm text-muted-foreground">No timestamp provided.</div>+ }+ if (settingsSnapshotLoading) {+ return (+ <div className="flex flex-col gap-2 p-2">+ <Skeleton className="h-4" />+ <Skeleton className="h-4" />+ </div>+ )+ }+ const snapshot = (settingsSnapshot ?? {}) as Record<string, unknown>+ const keys = scope.filter((key) => key in snapshot)+ if (keys.length === 0) {+ return <div className="px-2 py-1 text-sm text-muted-foreground">No settings to display.</div>+ }+ return (+ <div+ className="flex flex-col divide-y divide-border rounded border border-border"+ data-attr="watch-overview-settings"+ >+ {keys.map((key) => (+ <div key={key} className="flex items-start justify-between gap-4 px-2 py-1 text-sm">+ <span className="shrink-0 max-w-[50%] font-light">{settingLabel(key)}</span>+ <code className="min-w-0 break-all text-right text-xs">{settingDisplay(snapshot[key])}</code>+ </div>+ ))}+ </div>+ )+}diff --git a/frontend/src/scenes/session-recordings/player/watch/RecordingOverviewPanels.tsx b/frontend/src/scenes/session-recordings/player/watch/RecordingOverviewPanels.tsxindex 586c06eb8b74..612dcfaf27cd 100644--- a/frontend/src/scenes/session-recordings/player/watch/RecordingOverviewPanels.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/RecordingOverviewPanels.tsx@@ -3,7 +3,6 @@ import { ReactNode } from 'react'import { Collapsible, CollapsibleContent, CollapsibleTrigger, Tabs, TabsList, TabsTrigger } from '@posthog/quill'-import { SettingsSnapshot } from 'lib/components/SettingsSnapshot'import { useResizeBreakpoints } from 'lib/hooks/useResizeObserver'import { OverviewTab } from 'scenes/session-recordings/player/player-meta/overviewTabs'import { playerMetaLogic } from 'scenes/session-recordings/player/player-meta/playerMetaLogic'@@ -16,6 +15,7 @@ import { QuillOverviewDeviceCard } from './QuillOverviewDeviceCard'import { QuillOverviewOtherWatchers } from './QuillOverviewOtherWatchers'import { QuillOverviewPersonCard } from './QuillOverviewPersonCard'import { QuillOverviewSessionCard } from './QuillOverviewSessionCard'+import { QuillSettingsSnapshot } from './QuillSettingsSnapshot'import { QuillTTLWarning } from './QuillTTLWarning'const WIDE_OVERVIEW_PX = 960@@ -105,9 +105,7 @@ function OverviewExtras(): JSX.Element {<span className="grow" /></CollapsibleTrigger><CollapsibleContent>- <div data-not-quill className="contents">- <SettingsSnapshot at={snapshotAt} scope={OVERVIEW_SNAPSHOT_SCOPE} title="" layout="grid" />- </div>+ <QuillSettingsSnapshot at={snapshotAt} scope={OVERVIEW_SNAPSHOT_SCOPE} /></CollapsibleContent></Collapsible><QuillExperimentsSection />diff --git a/frontend/src/scenes/session-recordings/player/watch/RecordingTitleBlock.tsx b/frontend/src/scenes/session-recordings/player/watch/RecordingTitleBlock.tsxindex a4b1eb5b442d..be18c1174939 100644--- a/frontend/src/scenes/session-recordings/player/watch/RecordingTitleBlock.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/RecordingTitleBlock.tsx@@ -9,7 +9,6 @@ import { TZLabel } from 'lib/components/TZLabel'import { LinkPrimitive } from 'lib/lemon-ui/Link'import { humanFriendlyDuration } from 'lib/utils/durations'import { PlayerMetaExperimentTags } from 'scenes/session-recordings/player/player-meta/PlayerMetaExperimentTags'-import { PinToPlaylistButton } from 'scenes/session-recordings/player/player-meta/PlayerMetaLinks'import { playerMetaLogic } from 'scenes/session-recordings/player/player-meta/playerMetaLogic'import { playerSettingsLogic } from 'scenes/session-recordings/player/playerSettingsLogic'import { gatherIconProperties } from 'scenes/session-recordings/playlist/gatherIconProperties'@@ -20,6 +19,7 @@ import { PersonIcon } from 'products/persons/frontend/components/PersonDisplay'import { asDisplay, asLink } from 'products/persons/frontend/person-utils'import { sessionRecordingPlayerLogic } from '../sessionRecordingPlayerLogic'+import { QuillPinToPlaylistButton } from './QuillPinToPlaylistButton'export function RecordingTitleBlock({ actions }: { actions?: ReactNode }): JSX.Element {const { logicProps, sessionPlayerMetaData } = useValues(sessionRecordingPlayerLogic)@@ -32,7 +32,7 @@ export function RecordingTitleBlock({ actions }: { actions?: ReactNode }): JSX.Econst actionBar = (<div className="ml-auto flex items-center gap-2 flex-wrap" data-attr="watch-panel-title-actions">{actions}- <PinToPlaylistButton size="small" type="secondary" labelled />+ <QuillPinToPlaylistButton /></div>)@@ -67,11 +67,11 @@ export function RecordingTitleBlock({ actions }: { actions?: ReactNode }): JSX.Ereturn (<divdata-quill- className="flex items-start gap-3 min-w-0 flex-wrap text-foreground"+ className="flex items-center gap-3 min-w-0 flex-wrap text-foreground"data-attr="watch-panel-title">{sessionPerson && <PersonIcon person={sessionPerson} size="lg" className="mr-0 shrink-0" />}- <div className="flex flex-col gap-0.5 min-w-0 flex-1 basis-72">+ <div className="flex flex-col min-w-0 flex-1 basis-72"><Heading size="base" render={<h2 />} className="truncate m-0 ph-no-capture">{personHref ? (<Button@@ -86,20 +86,19 @@ export function RecordingTitleBlock({ actions }: { actions?: ReactNode }): JSX.EpersonName)}</Heading>- {personUUID && (- <div>+ <div className="flex items-center gap-x-2 gap-y-0.5 flex-wrap text-xs text-muted-foreground ph-no-capture">+ {personUUID && (<Button+ variant="link-muted"+ size="inline"onClick={showMoreFromPerson}tooltip="Filter the list to this person's recordings"- className="-ml-1"data-attr="watch-panel-more-from-person">More from this person<IconChevronRight /></Button>- </div>- )}- <div className="flex items-center gap-x-2 gap-y-0.5 flex-wrap text-xs text-muted-foreground ph-no-capture">+ )}{durationSeconds !== undefined && <span>{humanFriendlyDuration(durationSeconds)}</span>}{startTime && <TZLabel time={startTime} showPopover={false} />}{iconProperties.map(({ property, value, label }) => (diff --git a/frontend/src/scenes/session-recordings/player/watch/WatchPanel.tsx b/frontend/src/scenes/session-recordings/player/watch/WatchPanel.tsxindex 5d6fff6815b9..2c9f7569ae1b 100644--- a/frontend/src/scenes/session-recordings/player/watch/WatchPanel.tsx+++ b/frontend/src/scenes/session-recordings/player/watch/WatchPanel.tsx@@ -29,7 +29,7 @@ export function WatchPanel(): JSX.Element | null {<divdata-quillclassName={clsx(- 'flex flex-col gap-4 px-1 pt-3 pb-6 text-foreground isolate min-h-0 overflow-y-auto [&>*]:shrink-0',+ 'flex flex-col gap-3 px-1 pt-2 pb-1.5 text-foreground isolate min-h-0 overflow-y-auto [&>*]:shrink-0',watchPanelCollapsed ? 'shrink-0' : 'flex-1')}data-attr="watch-panel"diff --git a/frontend/src/scenes/session-recordings/playlist/QuillListNotice.tsx b/frontend/src/scenes/session-recordings/playlist/QuillListNotice.tsxindex 94e7691c40a1..1e9c0b6e1702 100644--- a/frontend/src/scenes/session-recordings/playlist/QuillListNotice.tsx+++ b/frontend/src/scenes/session-recordings/playlist/QuillListNotice.tsx@@ -2,6 +2,8 @@ import { ReactNode } from 'react'import { Item, ItemContent } from '@posthog/quill'+import { cn } from 'lib/utils/css-classes'+export function QuillListNotice({tone,className,@@ -12,7 +14,7 @@ export function QuillListNotice({children: ReactNode}): JSX.Element {return (- <Item data-quill variant="outline" tone={tone} className={className}>+ <Item data-quill variant="outline" tone={tone} className={cn('w-auto', className)}><ItemContent className="text-sm">{children}</ItemContent></Item>)diff --git a/frontend/src/scenes/session-recordings/playlist/ReplayListColumn.tsx b/frontend/src/scenes/session-recordings/playlist/ReplayListColumn.tsxindex c685f62f7cc4..bbfebc2055fb 100644--- a/frontend/src/scenes/session-recordings/playlist/ReplayListColumn.tsx+++ b/frontend/src/scenes/session-recordings/playlist/ReplayListColumn.tsx@@ -71,12 +71,12 @@ export function ReplayListColumn({}}className="mb-2 shrink-0">- <TabsList className="w-full">+ <TabsList className="w-full [--quill-tabs-active-bg:var(--primary)]">{options.map((option) => (<TabsTriggerkey={option.value}value={option.value}- className="text-xs"+ className="text-xs data-active:text-(--primary-foreground)"data-attr={option.dataAttr}>{option.label}diff --git a/products/replay_vision/frontend/components/QuillScanList.tsx b/products/replay_vision/frontend/components/QuillScanList.tsxindex fa01ea00fa64..a3aedcc59334 100644--- a/products/replay_vision/frontend/components/QuillScanList.tsx+++ b/products/replay_vision/frontend/components/QuillScanList.tsx@@ -114,7 +114,7 @@ function FocusPane({><div ref={contentRef}>{(observation.error_reason || isInFlight(observation)) && (- <div className="flex flex-col gap-2 px-3 pb-2">+ <div className="flex flex-col gap-2 px-3 pt-2 pb-2">{(observation.status === 'failed' || observation.status === 'ineligible') &&observation.error_reason && (<QuillObservationErrorDetaildiff --git a/products/replay_vision/frontend/components/QuillSummarizeButton.tsx b/products/replay_vision/frontend/components/QuillSummarizeButton.tsxindex 3ff1005fd033..5645723d4e1c 100644--- a/products/replay_vision/frontend/components/QuillSummarizeButton.tsx+++ b/products/replay_vision/frontend/components/QuillSummarizeButton.tsx@@ -87,7 +87,6 @@ export function QuillSummarizeButton({const button = (<Button- size="sm"variant={hasSummary ? 'outline' : 'primary'}loading={summarizePending}// The endpoint refuses without org AI approval, so ask for it here rather than toasting a 400.@@ -135,7 +134,7 @@ export function QuillSummarizeButton({<DropdownMenuTriggerrender={<Button- size="icon-sm"+ size="icon"variant={hasSummary ? 'outline' : 'primary'}aria-label="Choose a summarizer"disabledReason={inFlightDisabledReason ?? undefined}