TryGhost
OSS
Ghost
Sign in / Sign up
Open main menu
Ghost
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
29103
c38d8f5d Improved getTopPostsViews to skip a wasted DB lookup with no views data no ref - postsWithViews is built by mapping over viewsData, so whenever viewsData is empty (no tinybirdClient, or Tinybird returned nothing for the range) the posts/authors/attribution/click queries feeding that lookup were run for nothing - the result was always going to be [] - skip that block entirely when viewsData is empty and go straight to the recency-based backfill query, which already covers this case - no behavior change: same tests (posts.test.js) pass unmodified
by Steve Larson
S
Succeeded
29103
c38d8f5d Improved getTopPostsViews to skip a wasted DB lookup with no views data no ref - postsWithViews is built by mapping over viewsData, so whenever viewsData is empty (no tinybirdClient, or Tinybird returned nothing for the range) the posts/authors/attribution/click queries feeding that lookup were run for nothing - the result was always going to be [] - skip that block entirely when viewsData is empty and go straight to the recency-based backfill query, which already covers this case - no behavior change: same tests (posts.test.js) pass unmodified
by Steve Larson
S
Succeeded
29103
139ad6a5 🐛 Fixed Top Posts card spinning forever when web analytics is disabled - useTopPostsViews is gated with `enabled: webAnalyticsEnabled` (#28713) to stop it polling Ghost when analytics is off, but the raw `isLoading` it returns was fed straight into the card's loading state - React Query v4 keeps `isLoading` true forever for a disabled query that never fetched, so with web analytics off the card never left its skeleton loading state - only report loading while the query is actually allowed to run, matching the pattern already used by useTinybirdQuery for the same enabled/disabled split
by Steve Larson
S
Succeeded
29103
139ad6a5 🐛 Fixed Top Posts card spinning forever when web analytics is disabled - useTopPostsViews is gated with `enabled: webAnalyticsEnabled` (#28713) to stop it polling Ghost when analytics is off, but the raw `isLoading` it returns was fed straight into the card's loading state - React Query v4 keeps `isLoading` true forever for a disabled query that never fetched, so with web analytics off the card never left its skeleton loading state - only report loading while the query is actually allowed to run, matching the pattern already used by useTinybirdQuery for the same enabled/disabled split
by Steve Larson
S
Succeeded
29103
139ad6a5 🐛 Fixed Top Posts card spinning forever when web analytics is disabled - useTopPostsViews is gated with `enabled: webAnalyticsEnabled` (#28713) to stop it polling Ghost when analytics is off, but the raw `isLoading` it returns was fed straight into the card's loading state - React Query v4 keeps `isLoading` true forever for a disabled query that never fetched, so with web analytics off the card never left its skeleton loading state - only report loading while the query is actually allowed to run, matching the pattern already used by useTinybirdQuery for the same enabled/disabled split
by Steve Larson
S
Previous page
Previous
Next
Next page