PostHog / PostHog/posthog

Bug report: Slack subscription images for pie charts omit pie chart

Open
#31,375 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature/insights team/product-analytics team/query-performance
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Bug Description

After subscribing for Slack to an insight which is using a pie chart visualization, the image of the visualization sent to Slack shows only the legend, without the pie chart:

Image

Example insight

How to reproduce

  1. Create a trends insight
  2. Set the visualization to be a pie chart
  3. Create a new subscription with destination Slack
  4. When the image arrives in Slack, note the pie chart isn't seen, only the legend is visible

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/28627 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/30812)

Debug info
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/01964a0f-02eb-7822-887d-77f281ecc972?t=464
Admin: http://go/adminOrgUS/019159ee-2e38-0000-2a2c-a3c721fb9fbc (project ID 87322)
Sentry: http://go/sentryUS/87322

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the Slack subscription from a trends insight configured as a pie chart, then trace the subscription image-generation entry point; done means Slack shows the pie chart as well as its legend.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.