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

docs(authentication-tutorial): use hello-world stater instead of default #10690

Merged
merged 2 commits into from
Jan 25, 2019

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Dec 27, 2018

This changes starter used in authentication tutorial to hello-world.

Reasons:

  • default starter changes quite often (especially lately), so tutorial parts referencing code of the starter are getting outdated and confusing or would require often manual sync to reflect latest state of the default starter code
  • default starter has parts that are not focus point of this tutorial and generate unneeded distractions (react-helmet, StaticQuery, siteMetadata)

Ref comments in #10674

---edit:
look of the site after completing tutorial:
screenshot 2018-12-27 at 21 10 23
screenshot 2018-12-27 at 21 10 57
screenshot 2018-12-27 at 21 11 09
screenshot 2018-12-27 at 21 11 17

tutorial page preview (lame in image - just to more easily verify highlighting if someone want to):
localhost_8001_docs_authentication-tutorial_

@pieh pieh requested a review from a team December 27, 2018 20:07
@KyleAMathews
Copy link
Contributor

Nice!

Copy link
Contributor

@francesmx francesmx left a comment

Choose a reason for hiding this comment

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

Looks good to me 🚀

@calcsam
Copy link
Contributor

calcsam commented Jan 25, 2019

Since Dustin reviewed this, going to merge 👍

@calcsam calcsam merged commit e81a216 into gatsbyjs:master Jan 25, 2019
DSchau added a commit that referenced this pull request Feb 5, 2019
## Description

I've seen some tweets that indicate that _sometimes_ there can be confusion as to whether to use uppercase or lowercase conventions for React component file names.

This isn't specific to Gatsby, but we can resolve some of this by documenting a consistent format, and for that I'd recommend that we consistently document lowercase with a dash separating terms (dasherized, e.g. NavBar is `nav-bar.js`). This is what we use in the starters (e.g. src/components/header.js instead of src/components/Header.js) outside of the blog starter--which has been normalized in this PR.

I've also done a simple find and replace for usage of these (e.g. src/components/Bio.js -> src/components/bio.js) so that the documentation matches the usage. There are additional uppercase components (e.g. src/components/SEO.js) but I left those as is, since the usage of them where referenced is also uppercase.

## Related Issues

Sorta related to #10671 as well as my comment [here](#10690 (comment))
gatsbybot pushed a commit to gatsbyjs/gatsby-starter-blog that referenced this pull request Feb 5, 2019
## Description

I've seen some tweets that indicate that _sometimes_ there can be confusion as to whether to use uppercase or lowercase conventions for React component file names.

This isn't specific to Gatsby, but we can resolve some of this by documenting a consistent format, and for that I'd recommend that we consistently document lowercase with a dash separating terms (dasherized, e.g. NavBar is `nav-bar.js`). This is what we use in the starters (e.g. src/components/header.js instead of src/components/Header.js) outside of the blog starter--which has been normalized in this PR.

I've also done a simple find and replace for usage of these (e.g. src/components/Bio.js -> src/components/bio.js) so that the documentation matches the usage. There are additional uppercase components (e.g. src/components/SEO.js) but I left those as is, since the usage of them where referenced is also uppercase.

## Related Issues

Sorta related to gatsbyjs/gatsby#10671 as well as my comment [here](gatsbyjs/gatsby#10690 (comment))
wardpeet pushed a commit that referenced this pull request Feb 11, 2019
…ult (#10690)

* docs(authentication-tutorial): use hello-world stater instead of default

* navBar -> nav-bar
ish-xyz pushed a commit to ish-xyz/ish-ar.io that referenced this pull request Dec 5, 2019
## Description

I've seen some tweets that indicate that _sometimes_ there can be confusion as to whether to use uppercase or lowercase conventions for React component file names.

This isn't specific to Gatsby, but we can resolve some of this by documenting a consistent format, and for that I'd recommend that we consistently document lowercase with a dash separating terms (dasherized, e.g. NavBar is `nav-bar.js`). This is what we use in the starters (e.g. src/components/header.js instead of src/components/Header.js) outside of the blog starter--which has been normalized in this PR.

I've also done a simple find and replace for usage of these (e.g. src/components/Bio.js -> src/components/bio.js) so that the documentation matches the usage. There are additional uppercase components (e.g. src/components/SEO.js) but I left those as is, since the usage of them where referenced is also uppercase.

## Related Issues

Sorta related to gatsbyjs/gatsby#10671 as well as my comment [here](gatsbyjs/gatsby#10690 (comment))
leonhiat added a commit to leonhiat/gatsby-starter-blog that referenced this pull request Oct 31, 2023
## Description

I've seen some tweets that indicate that _sometimes_ there can be confusion as to whether to use uppercase or lowercase conventions for React component file names.

This isn't specific to Gatsby, but we can resolve some of this by documenting a consistent format, and for that I'd recommend that we consistently document lowercase with a dash separating terms (dasherized, e.g. NavBar is `nav-bar.js`). This is what we use in the starters (e.g. src/components/header.js instead of src/components/Header.js) outside of the blog starter--which has been normalized in this PR.

I've also done a simple find and replace for usage of these (e.g. src/components/Bio.js -> src/components/bio.js) so that the documentation matches the usage. There are additional uppercase components (e.g. src/components/SEO.js) but I left those as is, since the usage of them where referenced is also uppercase.

## Related Issues

Sorta related to gatsbyjs/gatsby#10671 as well as my comment [here](gatsbyjs/gatsby#10690 (comment))
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.

None yet

5 participants