Skip to content
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: watch next and sort different #25701

Merged
merged 45 commits into from
Oct 22, 2024
Merged

feat: watch next and sort different #25701

merged 45 commits into from
Oct 22, 2024

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Oct 20, 2024

home page watch next

Screenshot 2024-10-21 at 13 47 15

folk don't click on the recording links on the home page
let's show them something different and see what they do

order by

Screenshot 2024-10-21 at 13 51 50

we've seen. multiple instances of folk being confused by sorting
both in tickets and when we tried to experiment with it

i have multiple times forgotten that I set the sort order and then been confused and I know how it works

so let's put the sorting control right next to the list

@@ -44,6 +44,7 @@ export type PlaylistProps<T> = {
onChangeSections?: (activeKeys: string[]) => void
'data-attr'?: string
activeItemId?: string
controls?: JSX.Element | null
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

playlist is used in multiple places so keeping this row relatively abstract as "controls" rather than just calling it sorting

@@ -28,7 +32,7 @@ export function RecordingRow({ recording }: RecordingRowProps): JSX.Element {
return (
<ProjectHomePageCompactListItem
title={asDisplay(recording.person)}
subtitle={`Recorded ${dayjs(recording.start_time).fromNow()}`}
subtitle={`activity score: ${recording.mouse_activity_count}`}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wanted to keep this vague so went with "activity score"
thought it might sound exciting

Copy link
Contributor

github-actions bot commented Oct 20, 2024

Size Change: -66 B (-0.01%)

Total Size: 1.14 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.14 MB -66 B (-0.01%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

20 snapshot changes in total. 0 added, 20 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

8 snapshot changes in total. 0 added, 8 modified, 0 deleted:

  • chromium: 0 added, 8 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@@ -215,7 +215,6 @@ export const FEATURE_FLAGS = {
INSIGHT_VARIABLES: 'insight_variables', // owner: @Gilbert09 #team-data-warehouse
WEB_EXPERIMENTS: 'web-experiments', // owner: @team-feature-success
BIGQUERY_DWH: 'bigquery-dwh', // owner: @Gilbert09 #team-data-warehouse
REPLAY_DEFAULT_SORT_ORDER_EXPERIMENT: 'replay-order-by-experiment', // owner: #team-replay
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richard-better i removed the experiment rather than maintain it through the refactor - i think the feedback on my idea showed it was confusing enough that we should try a different tack

@pauldambra pauldambra requested a review from a team October 21, 2024 08:21
@pauldambra pauldambra requested a review from daibhin October 21, 2024 09:20
Copy link
Contributor

@daibhin daibhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that this should live within the playlist. Ideally we wouldn't have to introduce a new row to accommodate it but any time I've previously considered this it feels like it would be too hidden behind the cog menu.

Let's go with this for now and review as part of the Replay offsite

@pauldambra
Copy link
Member Author

ended up fancying up and moving "Actvity score" to the backend

@pauldambra pauldambra enabled auto-merge (squash) October 21, 2024 13:05
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@pauldambra pauldambra enabled auto-merge (squash) October 21, 2024 22:01
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@pauldambra pauldambra merged commit c3b0cb2 into master Oct 22, 2024
94 checks passed
@pauldambra pauldambra deleted the feat/watch-next branch October 22, 2024 08:39
pauldambra added a commit that referenced this pull request Oct 22, 2024
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <[email protected]>
fuziontech added a commit that referenced this pull request Oct 22, 2024
* 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)
timgl pushed a commit that referenced this pull request Oct 25, 2024
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants