Skip to content

Commit

Permalink
keyb shtct
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 4, 2024
1 parent 95068c0 commit 2eedc63
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/src/scenes/session-recordings/player/PlayerUpNext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { useKeyboardHotkeys } from 'lib/hooks/useKeyboardHotkeys'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { useEffect, useRef, useState } from 'react'

import { KeyboardShortcut } from '~/layout/navigation-3000/components/KeyboardShortcut'

import { sessionRecordingsPlaylistLogicType } from '../playlist/sessionRecordingsPlaylistLogicType'
import { sessionRecordingPlayerLogic } from './sessionRecordingPlayerLogic'

Expand Down Expand Up @@ -68,7 +70,13 @@ export function PlayerUpNext({ playlistLogic }: PlayerUpNextProps): JSX.Element
}

return (
<Tooltip title="Play the next recording (press n)">
<Tooltip
title={
<>
Play the next recording <KeyboardShortcut n />
</>
}
>
<div className="PlayerUpNext text-xs">
<div
className={clsx('px-1 py-0.5 PlayerUpNextButton', animate && 'PlayerUpNextButton--animating')}
Expand Down

0 comments on commit 2eedc63

Please sign in to comment.