-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: home tab of replay doesn't need to be called recent #24763
Conversation
frontend/src/scenes/scenes.ts
Outdated
@@ -428,6 +428,7 @@ export const redirects: Record< | |||
return urls.replay() | |||
}, | |||
'/replay': urls.replay(), | |||
'/replay/recent': urls.replay(), |
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.
I'm assuming this does the redirect and maintains any query params?
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.
obviously I'd tested that 🙈
Size Change: +36 B (0%) Total Size: 1.11 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
@@ -98,8 +98,11 @@ export const urls = { | |||
savedInsights: (tab?: string): string => `/insights${tab ? `?tab=${tab}` : ''}`, | |||
webAnalytics: (): string => `/web`, | |||
|
|||
replay: (tab?: ReplayTabs, filters?: Partial<RecordingUniversalFilters>): string => | |||
combineUrl(tab ? `/replay/${tab}` : '/replay/recent', filters ? { filters } : {}).url, | |||
replay: (tab?: ReplayTabs, filters?: Partial<RecordingUniversalFilters>, sessionRecordingId?: string): string => |
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.
we support sessionRecordingId as a query param... but it wasn't in this contract
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
see: https://posthog.slack.com/archives/C03PB072FMJ/p1725370913316809?thread_ts=1725267564.281409&cid=C03PB072FMJ
As we add more ordering to the landing page of replay it doesn't make sense to call it "recent recordings"
this
/replay/home
/replace/recent