-
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(replay): add "what to watch" screen #25717
Conversation
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
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.
lmk if you have ideas for other templates. I want to keep the list short & easy to parse, but we can decide which ones are best.
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.
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've got "purchase flow" and "pricing page" but I think they're really the same?
could possibly lose the B2B/B2C split too but I guess then it's just one big lump
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.
could add a rage click one?
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.
Oh rageclick is a good idea, will add! What about deadclicks - didn't you have some event sending for that?
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 could add images copied from dashboard templates
I very much dislike that UI 😅 🙈 but I will experiment with some icons.
we've got "purchase flow" and "pricing page" but I think they're really the same?
I think they're different for b2b and b2c/ecommerce - one is when someone is viewing eg saas pricing before signup, the other is when someone is purchasing something directly (eg a pair or earrings or a hammer). I think they should be different templates.
could possibly lose the B2B/B2C split too but I guess then it's just one big lump
I'm gonna keep the split for now to (hopefully) make it easier for people to find the things that are relevant to them. But we can see what people use and go from there.
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.
…sthog into feat/replay-templates
frontend/src/scenes/session-recordings/templates/sessionRecordingTemplatesLogic.tsx
Show resolved
Hide resolved
{ | ||
key: 'scattershot', | ||
name: 'Scattershot', | ||
description: 'Watch all recent replays, and see where users are getting stuck.', | ||
variables: [], | ||
categories: ['More'], | ||
}, |
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.
could replace this one with "by activity score"
if visual regression ever lets me merge #25701
i guess this is two points...
one let's have activity score
two do we need this scattershot one? since it's the equivalent of "not choosing a template"
no strong feeling but if you're looking to keep the list short
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.
if we keep scattershot, it should actively set the ordering to recent
if someone has already changed sorting away from recent then they click on scattershot it doesn't reset
quite an edge case since not many folk change sorting
@@ -0,0 +1,147 @@ | |||
import { ReplayTemplateType } from '~/types' | |||
|
|||
export const replayTemplates: ReplayTemplateType[] = [ |
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.
could have a "sessions with errors"
any $exception
event or console_error_count
> 0
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.
some typescript faff to solve but otherwise 🚢
(lots of comments only reflects being excited about the feature :))
frontend/src/scenes/session-recordings/templates/sessionRecordingTemplatesLogic.tsx
Show resolved
Hide resolved
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
0cde296
to
6b69dd5
Compare
📸 UI snapshots have been updated4 snapshot changes in total. 0 added, 4 modified, 0 deleted:
Triggered by this commit. |
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.
couple of comments
but stamp so you can keep moving in case TZ overlap gets in the way 🙈
frontend/src/scenes/session-recordings/templates/SessionRecordingTemplates.tsx
Show resolved
Hide resolved
📸 UI snapshots have been updated4 snapshot changes in total. 0 added, 4 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
9d69bcd
to
a68c1a0
Compare
Size Change: +36 B (0%) Total Size: 1.14 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
automerged without full green checks, but only because of flapping, so it's fine |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
* master: fix(replay-templates): show event selector button, diff mobile filter (#25739) feat(replay): add "what to watch" screen (#25717) fix(events): Fix PostHog property filtering (#25732) fix(api): Apply org/team key scoping more narrowly (#25634) feat(Experiments): UX feedback from private beta of no-code experiments. (#25694) fix: playlist should track current session id (#25730) chore(data-warehouse): Set the stripe version when listing objects (#25729) chore(data-warehouse): Added extra props for hubspot syncs (#25728) revert: perf: Speed up filtering persons pt 2 (#25731) chore(deps): Update posthog-js to 1.174.3 (#25724) perf: Speed up filtering persons pt 2 (#25718) feat(alerts): toggle alert threshold lines (#25700) feat: watch next and sort different (#25701) feat(cdp): add microsoft teams template (#25652)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Paul D'Ambra <[email protected]>
Problem
People sometimes find it difficult to know where to start with replays. Our best advice is to think of a product area you want to focus on, and then drill down form there.
We can productize that advice by giving people a jumping-off point, suggestions for areas they can look into.
Changes
Adds a "what to watch" screen with "templates" suggesting things they might want to watch.
Screen.Recording.2024-10-21.at.12.44.49.PM.mov
TODO:
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Does this work well for both Cloud and self-hosted?
How did you test this code?
manually 🙈