Skip to content

Conversation

lshaowei18
Copy link
Contributor

Problem

There are two problems:

  1. New insight has no insight.short_id, so it will add an empty insight that is not linked to anything to the notebook.
  2. Export for PNG is not working for new insight; and i don't think its supposed to work?

Changes

Screen.Recording.2025-09-29.at.3.59.28.PM.mov

Alternative

We can choose to still allow for exports, since only export for PNG is not working.

How did you test this code?

Locally:

  1. Go to the new insight page
  2. Click on the more option icon in the top right corner

You should not see add to notebook or export

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

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.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

You're correct, thank you for you contribution! (CC @PostHog/team-product-analytics)

@Twixes Twixes merged commit ec7c117 into PostHog:master Sep 30, 2025
179 checks passed
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