Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7730: gh data sourcing and screenshot generation #8320

Merged

Conversation

amberleyromo
Copy link
Contributor

@amberleyromo amberleyromo commented Sep 19, 2018

(not ready for merge) ready for review

Closes #7730

tldr; this moves the data sourcing and creation of the starter showcase landing page and starter pages in line with the other data sourcing (eg site showcase).

todos:

  • pull starter data from yml (in sync with site showcase flow)
  • update gatsby-transformer-screenshot to target add'l node types
  • update gatsby-transformer-screenshot to not break everything on failed max retries
  • convert all view code to reference yml data + new child screenshots instead of markdown/screenshot file
  • remove hanging references to old starter data
  • handle gh token for prod
  • ensure lacking a gh token in dev mode doesn't break www DX
  • what is this wat commit? lol (dropped)

@amberleyromo amberleyromo force-pushed the 7730-starter-showcase-sourcing branch from 710e803 to f1d386a Compare September 19, 2018 22:30
Copy link
Contributor

@jlengstorf jlengstorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! No real feedback other than the changes you called out already.

www/README.md Show resolved Hide resolved
www/gatsby-node.js Outdated Show resolved Hide resolved
www/gatsby-node.js Outdated Show resolved Hide resolved
www/src/views/starter-showcase/filtered-showcase.js Outdated Show resolved Hide resolved
www/src/views/starter-showcase/filtered-showcase.js Outdated Show resolved Hide resolved
www/src/views/starter-showcase/showcase-list.js Outdated Show resolved Hide resolved
Copy link
Contributor

@jlengstorf jlengstorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s get this in!

jlengstorf pushed a commit that referenced this pull request Sep 26, 2018
This file doesn’t exist on `master` yet, but it will once @amberleyromo’s PR #8320 gets merged.
@amberleyromo amberleyromo requested a review from a team September 28, 2018 15:41
@amberleyromo amberleyromo requested a review from a team as a code owner September 28, 2018 15:41
@amberleyromo amberleyromo force-pushed the 7730-starter-showcase-sourcing branch from de5e37b to 43bcf66 Compare September 28, 2018 16:03
Copy link
Contributor

@fk fk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jlengstorf jlengstorf merged commit 1ae7568 into gatsbyjs:master Sep 28, 2018
lipis added a commit to lipis/gatsby that referenced this pull request Sep 28, 2018
* 'master' of github.com:gatsbyjs/gatsby:
  feat(starter showcase): gh data sourcing and screenshot generation (gatsbyjs#8320)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants