newrelic / opensource-website

Source code for New Relic's Opensource site.
https://opensource.newrelic.com
Apache License 2.0
155 stars 89 forks source link

[OSS Site] Cannot load index.js page locally #902

Closed jpvajda closed 2 years ago

jpvajda commented 2 years ago

related issue #901

when developing locally the OSS site cannot load the index.js page

Steps to reproduce

  1. run the opensource site locally with yarn start
  2. go to localhost:8000
  3. see the error

Expected behavior

Error

Screen Shot 2022-01-05 at 3 08 47 PM

jpvajda commented 2 years ago

This issue seems to be caused by graphql querying for github data I was thinking we could just use @skip if query if the host === localhost and not run this query. see the graphql for reference.

jpvajda commented 2 years ago

There also seems to be a related build issue because of this query see #901

jpvajda commented 2 years ago

I'm trying to clarify what projects New Relic (Github org) is sponsoring now. We used to sponsor 50+ projects / users but when I visit this sponsor page on our org, it shows we sponsor 0. I've reached out to dev rel in slack to confirm.

jpvajda commented 2 years ago

from Dev Rel: That initial round of sponsorships was only meant to last for three months. For some reason, they continued on until the money we’d set aside for GitHub Sponsors was exhausted. but, as of right now, we’re not sponsoring anything and need to reevaluate how we manage these sponsorships.

What we can do is remove the component and if in the future we go back to sponsoring projects, just resurrect the code. Given the graphql query being used is causing us build issues on Gatsby, it's better if we just deprecate the component for now.