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

Deep linking recordings into projects #12662

Closed
fuziontech opened this issue Nov 8, 2022 · 5 comments
Closed

Deep linking recordings into projects #12662

fuziontech opened this issue Nov 8, 2022 · 5 comments
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags

Comments

@fuziontech
Copy link
Member

Problem

Some organizations have many more than one project that they have configured inside of Posthog. This means that things break when someone links a recording and the user's last project selected is something other than the project that belongs to the linked recording.

This can happen in a few cases:

  • User A wants to share a recording with User B
  • User A is looking at sentry and sees an exception with a linked recording, but is in the wrong project
  • User A gets bugged about an issue in slack with no other context and tries to view the recording and has to hunt which project it belongs to.

We have deep linking for Insights and Dashboards, why not recordings too since those seem to have a really great story of integrations with products like Sentry?

(Feedback was collected from a paying User here in SF)

@fuziontech fuziontech added the enhancement New feature or request label Nov 8, 2022
@lharries
Copy link
Contributor

lharries commented Nov 8, 2022

@fuziontech I think this issue occurs for several parts of Posthog (Session Recordings, Feature Flags, Apps etc.).

Could we have the project name always being in the URL? e.g.

  • https://app.posthog.com/feature_flags/4970 -> https://app.posthog.com/production-project/feature_flags/4970 (my preference as it's more readable)

Alternatively we could use this project ID but this would be less readable

@lharries
Copy link
Contributor

lharries commented Nov 8, 2022

@benjackwhite would be great to consider this for your work on sharing recordings - ideally with a solution that also works for features flags + apps such as my suggestion above

@benjackwhite
Copy link
Contributor

Yeah this isn't really Recordings related but rather a PostHog wide problem. I think we could tackle it but it would require a bit of a cross-team effort I think

@timgl
Copy link
Collaborator

timgl commented Nov 8, 2022

We already support this for feature flags, dashboards etc with this auto switching: https://github.com/PostHog/posthog/blob/master/posthog/middleware.py#L94

For session recordings we probably will need to add the project id in the URL as it's just a filter without an ID

@daibhin
Copy link
Contributor

daibhin commented Feb 13, 2024

This should be solved for now that we have project based routing across the app: #13474

@daibhin daibhin closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/feature-flags Feature Tag: Feature flags
Projects
None yet
Development

No branches or pull requests

5 participants