-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: move waterfall view #29390
base: master
Are you sure you want to change the base?
feat: move waterfall view #29390
Conversation
import type { playerSidebarLogicType } from './playerSidebarLogicType' | ||
|
||
export const playerSidebarLogic = kea<playerSidebarLogicType>([ | ||
path(() => ['scenes', 'session-recordings', 'player', 'playerSidebarLogic']), | ||
props({} as SessionRecordingPlayerLogicProps), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't ever get passed any props
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR moves the waterfall view from a separate playback mode to a tab in the session recording player sidebar, making it more accessible to users who were previously getting stuck in it.
- Added
NETWORK_WATERFALL
toSessionRecordingSidebarTab
enum infrontend/src/types.ts
and implemented it as a new tab in the sidebar - Removed
PlaybackMode
enum and related functionality fromplayerSettingsLogic.ts
as it's no longer needed - Modified
NetworkView.tsx
to retrieve the session recording ID fromsessionRecordingPlayerLogic
instead of props - Added
splitKebabCase
utility function infrontend/src/lib/utils.tsx
to improve display of kebab-cased tab names - Removed 'Playback mode' settings from
SessionRecordingsPlaylistSettings.tsx
as the waterfall view is now a tab
9 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
frontend/src/scenes/session-recordings/player/sidebar/PlayerSidebarTab.tsx
Show resolved
Hide resolved
Size Change: -79 B (0%) Total Size: 9.73 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
we hid waterfall view to make our lives easier at the time, but folk keep getting stuck in it
let's make it a tab of the player