Skip to content

Conversation

@jlengstorf
Copy link
Contributor

@jlengstorf jlengstorf commented Aug 11, 2018

NOTE: This is currently blocked because the video is limited to members only. Once it's switched to public, this is good to merge.

This adds a short video demonstrating how StaticQuery works to the docs for people who prefer learning through video over reading.

Thanks so much to the @eggheadio team for adding embed support!

@jlengstorf jlengstorf self-assigned this Aug 11, 2018
@jlengstorf jlengstorf added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Aug 11, 2018
@KyleAMathews
Copy link
Contributor

KyleAMathews commented Aug 11, 2018

Deploy preview for using-postcss-sass failed.

Built with commit 18a0fc7

https://app.netlify.com/sites/using-postcss-sass/deploys/5b720a10dd28ef1a92c859c7

@gatsbybot
Copy link
Collaborator

gatsbybot commented Aug 11, 2018

Deploy preview for using-drupal ready!

Built with commit 18a0fc7

https://deploy-preview-7249--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

gatsbybot commented Aug 11, 2018

Deploy preview for gatsbygram ready!

Built with commit 18a0fc7

https://deploy-preview-7249--gatsbygram.netlify.com

@amberleyromo
Copy link
Contributor

This is going to be an amazing addition to this section! 🔥

Related: #7231, #7059

@KyleAMathews
Copy link
Contributor

KyleAMathews commented Aug 11, 2018

Deploy preview for gatsbyjs failed.

Built with commit 18a0fc7

https://app.netlify.com/sites/gatsbyjs/deploys/5b720a10dd28ef1a92c859bb

@jlengstorf jlengstorf force-pushed the docs/staticquery-video branch from 0ebed2c to b1be723 Compare August 13, 2018 22:42
@jlengstorf jlengstorf changed the title DO NOT MERGE: [docs] Add video lesson to the StaticQuery docs [docs] Add video lesson to the StaticQuery docs Aug 13, 2018
@jlengstorf
Copy link
Contributor Author

@amberleyromo this one’s ready for review now. Can you check the way I put the video in to make sure it lines up with your new doc organization?

@KyleAMathews
Copy link
Contributor

Deploy preview for using-contentful failed.

Built with commit b1be723

https://app.netlify.com/sites/using-contentful/deploys/5b7209731f12b77a983c03f7

@KyleAMathews
Copy link
Contributor

Deploy preview for using-contentful failed.

Built with commit 18a0fc7

https://app.netlify.com/sites/using-contentful/deploys/5b720a10dd28ef1a92c859d6

Copy link
Contributor

@amberleyromo amberleyromo left a comment

Choose a reason for hiding this comment

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

lgtm!

Only thing I would say is that the text/code comment under "Basic example" could be smoothed to more clearly link between the egghead video and the text section. "this is the code from the video, and here's the video tl;dr". right now they seem a bit oddly disconnected.

@jlengstorf
Copy link
Contributor Author

@amberleyromo Yeah, that's fair. Currently the video and the docs aren't related — I made the video not thinking it would be part of the docs, so didn't use the same code.

I've opened #7297 to track lining these up later.

@jlengstorf jlengstorf merged commit 1d3d650 into gatsbyjs:master Aug 13, 2018
@jlengstorf jlengstorf deleted the docs/staticquery-video branch August 13, 2018 23:39
@amberleyromo
Copy link
Contributor

@jlengstorf so i had opened it up, and oddly it does use pretty much the same code.

m-allanson added a commit to phacks/gatsby that referenced this pull request Aug 14, 2018
* master: (597 commits)
  Add a site(https://mojaave.com) to showcase list (gatsbyjs#7275)
  feat: create a doc for open source pair programming sessions (gatsbyjs#7266)
  [docs] Add video lesson to the StaticQuery docs (gatsbyjs#7249)
  [v2] docs - update page query docs (gatsbyjs#7285)
  [v2] docs "Styling" overview (gatsbyjs#7288)
  Remove delay (gatsbyjs#7273)
  add site (gatsbyjs#7291)
  Adding new site to the showcase. (gatsbyjs#7281)
  chore(release): Publish
  initial webpack externals support (gatsbyjs#7245)
  add missing package dependencies (gatsbyjs#7259)
  add: custom configuration overview
  (gatsbyjs#7231): tutorial part four updates (gatsbyjs#7240)
  [www] Fix showcase search, checkbox styles (gatsbyjs#7014)
  (gatsbyjs#6584): Restructure plugin overview and plugin authoring pages (gatsbyjs#7229)
  Use Hubspot form for email subscription (gatsbyjs#7233)
  Adding bootstrap CV starter (gatsbyjs#7207)
  Stub Articles and new names (gatsbyjs#7200)
  Improve readability of verbose logging code in wordpress source plugin (gatsbyjs#7146)
  Update hash link to scroll to right section of page (gatsbyjs#7161)
  ...
porfirioribeiro pushed a commit to porfirioribeiro/gatsby that referenced this pull request Aug 22, 2018
* docs(StaticQuery): add link to video tutorial

* feat: add StaticQuery video from egghead to the docs

Thanks @joelhooks and @eggheadio for getting this set up!

* fix: remove unused image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation An issue or pull request for improving or updating Gatsby's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants