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: no mixing the streams #29831

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

pauldambra
Copy link
Member

cross-the-streams

OK, after that last user interview I think we've more than enough evidence that even if some people are mixing saved filters and collections that most people are confused by it

let's pick a date not allow this for new playlists

we can do the more sweeping changes later, but we need to stop teaching new users that it's a thing

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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 removes the 'SAVED_NOT_PINNED' feature flag and modifies session recording playlists to prevent mixing saved filters and pinned recordings for playlists created after March 11, 2025, aiming to reduce user confusion.

  • Added canMixFiltersAndPinned prop in frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.tsx to control filter/pin mixing
  • Removed conditional 'saved vs pinned' terminology across components, defaulting to consistent 'Pin/Unpin' language
  • Added creation date check in frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene.tsx to enforce new behavior only for playlists after March 11, 2025
  • Modified filter actions visibility in Playlist.tsx to hide filters when pinned recordings exist in non-legacy playlists

6 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Mar 12, 2025

Size Change: -56 B (0%)

Total Size: 9.93 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 9.93 MB -56 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 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, 0 modified, 0 deleted
  • webkit: 0 added, 2 modified, 0 deleted (diff for shard 2)

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, 0 modified, 0 deleted
  • webkit: 0 added, 2 modified, 0 deleted (diff for shard 2)

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, 0 modified, 0 deleted
  • webkit: 0 added, 2 modified, 0 deleted (diff for shard 2)

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

5 snapshot changes in total. 0 added, 5 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 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Comment on lines +27 to +28
const tooltip = logicProps.pinned ? 'Unpin from this list' : 'Pin to this list'
const description = 'Pin'
Copy link
Member Author

Choose a reason for hiding this comment

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

just the removal of an old flag here

return (
<Tooltip placement="top-end" title={<>This recording is {description} to this list.</>}>
<Tooltip placement="top-end" title={<>This recording is pinned to this list.</>}>
Copy link
Member Author

Choose a reason for hiding this comment

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

just removal of old flag

@pauldambra pauldambra requested a review from veryayskiy March 12, 2025 15:59
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@pauldambra pauldambra enabled auto-merge (squash) March 12, 2025 16:31
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.

2 participants