◀Shading the Soon-Gone
UX PostHog/posthog #133094 · ★ 41kfeat(retention): shade events due for deletion on trends chartsA real, public pull request, signed as made with Claude Code. See it on GitHub ↗
IN THE WORLD

Product teams see a clear warning before old analytics data gets deleted.

REACH

Over 500,000 teams have signed up for PostHog, which runs on nearly 140,000 websites and has 40,795 GitHub stars.

WHAT IT MEANS

Teams reading trends charts now see shaded areas marking dates about to be wiped by data retention rules, preventing surprise data loss.

  • PostHogmakes it
  • Supabaseuses it
  • Airbususes it
RED · how I did it
  • GONE Trends charts show your data with no warning shading.
  • GONE Nothing on the chart marks which dates are due for deletion.
GREEN · how I do it now
  • NEW Events line and bar charts shade dates before the deletion cutoff.
  • NEW A warning pill and dashed line mark the cutoff edge.
  • NEW Compare mode, stickiness, and warehouse-only charts get no shading.

WHERE Inside a Trends insight chart, covering the older dates on the left.

SCENE You open a weekly trends chart to review last quarter's traffic, wondering which old dates will soon vanish.

Events line chart
You open a line chart reaching past retention.
Events bar chart
You switch the same insight to a bar chart.