TryGhost
OSS
Ghost
Changed analytics chart bucketing thresholds and first-bucket labels ref https://linear.app/ghost/issue/PLA-236/ytd-range-renders-unaggregated-daily-points-choppy-analytics-charts ref https://linear.app/ghost/issue/PLA-238/verify-all-time-bucketing-in-post-analytics-web-currently-summarizes Review feedback on the bucketing unification: - The weekly band ran to 356 days, so an ~11-month "All time" chart rendered ~48 weekly points — dense and jagged next to the ~12 monthly points that "Last 12 months" gets. The weekly band now caps at 270 days (~9 months); Year to date keeps its comfortable ~28 weekly points in mid-summer and flips to monthly from October. Only span-resolved ranges (Year to date, All time, post age) can land between the fixed dropdown options of 91 and 372 days, so no dropdown option changes bands. - Buckets are labeled with their calendar period start, which dated the partial first bucket before the chart's own range — a Year to date chart opened at "Week of 28 Dec" of the previous year. The first bucket's label is now clamped to the range start ("Week of 1 Jan"), or to the first data point for All time. Later buckets keep calendar period starts, and the zero-filling in the paid subscriptions chart clamps its period keys the same way, so cross-chart bucket alignment is unchanged.
nx run ghost-monorepo:lint:boundaries
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx run ghost-monorepo:lint:boundaries
Click to copy
Linux
4 CPU cores
read-write
access token used
88d95f4f
29237