posthog.com icon indicating copy to clipboard operation
posthog.com copied to clipboard

[bug] Issue fetching stats on 'Contributors' page

Open plibither8 opened this issue 3 years ago • 3 comments
trafficstars

The API request to the datasets json (https://app.posthog.com/shared/6j6-3tr86CgbNK_4PmyYHxHQYTdvEg.json) on the Contributors page on posthog.com is failing due to a CORS issue.

Google Chrome 2022-10-08 at 23 12 18 - 001560@2x

However, even if it would've worked, the response JSON doesn't have an .items[] array, which potentially breaks the page further.

Google Chrome 2022-10-08 at 23 12 40 - 001562@2x

plibither8 avatar Oct 08 '22 17:10 plibither8

Hey @plibither8, thanks for opening this issue! This page is one of our older ones and is definitely in need of a rewrite. We're actually currently working on completely overhauling our community section, so we'll cover this as part of #3993 :raised_hands:

pjhul avatar Oct 10 '22 16:10 pjhul

Sounds and looks awesome! Would love to help in any way. 😄

I'll close this issue since it's already being covered then, yeah?

plibither8 avatar Oct 10 '22 16:10 plibither8

Great! Feel free to leave open just to help us ensure we cover this as part of the changes 👍

pjhul avatar Oct 10 '22 18:10 pjhul