PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.65k stars 1.16k forks source link

Retention insight appears too large in dashboard #13148

Open pjhul opened 1 year ago

pjhul commented 1 year ago

Bug description

In this dashboard I just created, I noticed that one of the retention insights I embedded ends up taking up too much space. At first, I tried resizing the insight, which worked for a period of time, but once I returned to the dashboard later it seems that the issue showed up again.

Screen Shot 2022-12-05 at 12 29 33 PM

This may have something to do with needing to accommodate the larger size taken up for insights with larger number of cohorts? (This example only has 5 cohorts, and for larger numbers there's much less wasted space)

How to reproduce

  1. Create a dashboard
  2. Add a retention insight

Environment

Additional context

cc: @pauldambra as the dashboard maestro 🧙

Thank you for your bug report – we love squashing them!

pauldambra commented 1 year ago

Hmmm, tricky... the default size is larger because the default retention chart is large.

It's even worse because the chart is centered in the space 🤔