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

Refactors email signup form to use gatsby-plugin-mailchimp #4589

Merged
merged 155 commits into from
Apr 18, 2018
Merged

Refactors email signup form to use gatsby-plugin-mailchimp #4589

merged 155 commits into from
Apr 18, 2018

Conversation

benjaminhoffman
Copy link
Contributor

@benjaminhoffman benjaminhoffman commented Mar 18, 2018

This PR refactors the email capture form to use the brand new gatsby-plugin-mailchimp! This plugin executes the same logic that has been refactored out of the www codebase except now anyone can use it since it's a plugin!

@ghost ghost assigned benjaminhoffman Mar 18, 2018
@ghost ghost added the review label Mar 18, 2018
@gatsbybot
Copy link
Collaborator

gatsbybot commented Mar 18, 2018

Deploy preview for gatsbygram ready!

Built with commit fc6f8de

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

@gatsbybot
Copy link
Collaborator

gatsbybot commented Mar 18, 2018

Deploy preview for using-drupal ready!

Built with commit fc6f8de

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

@m-allanson m-allanson removed the review label Apr 13, 2018
@benjaminhoffman benjaminhoffman changed the title [WIP] Refactors email signup form to use gatsby-plugin-mailchimp Refactors email signup form to use gatsby-plugin-mailchimp Apr 14, 2018
@benjaminhoffman
Copy link
Contributor Author

benjaminhoffman commented Apr 14, 2018

@KyleAMathews I think this is ready for merging. Is there a way I can verify in a staging environment? I've been running yarn build and submitting the form locally... all works great!

But I'd love to test once more on a staging environment.

ps - no idea how the commit history on this PR got so mangled but please squash when you merge!

benjaminhoffman and others added 14 commits April 14, 2018 12:36
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* Remove yarn from “Deploying”

TODO: no sure if to remove/convert yarn example from GitLab instructions on this page, since GitLab might rely on yarn and not npm.

* Use npm instead of yarn in Style Guide

* Minor: guides -> Guides

* npm instead of Yarn in GitHub Pages setup

* GitLab yarn -> npm

* Revert "Use npm instead of yarn in Style Guide"

This reverts commit ac72f11.

For our internal stuff, we do want people to use Yarn as we commit yarn.lock files.

* Blog: Hexo yarn -> npm

* Package readme: yarn -> npm

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* remark-prismjs: refactor tests into pre and code

* remark-prismjs: add aliases for languages

This allows specifying aliases for languages when using prismjs.

Fixes #4549

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
In an attempt to debug issue #4680 and generally improve
the performance of Gatsby as a whole, we swapped out the Array that
`getState()` uses internally with a `Map()`.
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
 - gatsby-1-config-css-modules@1.0.11
 - gatsby-plugin-coffeescript@1.4.13
 - gatsby-plugin-create-client-paths@1.0.8
 - gatsby-plugin-google-tagmanager@1.0.16
 - gatsby-plugin-less@1.1.8
 - gatsby-plugin-postcss-sass@1.0.19
 - gatsby-plugin-react-css-modules@1.0.15
 - gatsby-plugin-remove-trailing-slashes@1.0.9
 - gatsby-plugin-sass@1.0.24
 - gatsby-plugin-styled-components@2.0.10
 - gatsby-plugin-styled-jsx@2.0.6
 - gatsby-plugin-stylus@1.1.17
 - gatsby-plugin-typescript@1.4.19
 - gatsby-remark-embed-snippet@1.0.16
 - gatsby-remark-prismjs@1.2.21
 - gatsby-source-faker@1.0.7
 - gatsby-transformer-react-docgen@1.0.17
 - gatsby@1.9.241

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
replacing hunterchang.com with CodeBushi
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* fix logic to determine selected plugin from list

* fix selected style for scoped packages

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* Fix #4503

- added check to make sure node exists before tying to get descendents and delete
- added test case that calls deleteNode on an undefined node

* formatting

* formatting

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Instead of:
You can now view gatsby-starter-default in the browser.

It’s now:
You can now view gatsbyjs.org in the browser.
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Sarasate and others added 25 commits April 14, 2018 12:38
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
This is a demo of client-only routes that require a user to be authenticated before viewing. It does NOT show how to build secure authentication. (This is called out in the README.)

Signed-off-by: Jason Lengstorf <jason@lengstorf.com>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Michael Hellein <themichaek@gmail.com>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
 - gatsby-plugin-sharp@1.6.42
 - gatsby-remark-images@1.5.61
 - gatsby@1.9.248

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Kyle Mathews <mathews.kyle@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Mike Allanson <michael.allanson@gmail.com>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: stam <junkboy0315@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: David Beckley <beckl.ds@gmail.com>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* Documentation for multiple environments

Updating documentation to provide guidance on environment support beyond development and production

* add gatsby develop environment command

Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
* chore(npm source): use index.browse

This will get all of the hits, even if they are on multiple pages, and is actually better for this usecase

Signed-off-by: Haroen Viaene <hello@haroen.me>

* chore(search): update API key with unique one for gatsby

Signed-off-by: Haroen Viaene <hello@haroen.me>

* simplify and fix

Signed-off-by: Haroen Viaene <hello@haroen.me>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Tim Whiteaker <whiteaker@utexas.edu>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: chinloong <chinloong91@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
…of empty string when not needed.

Signed-off-by: Grayson Hicks <graysonhicks@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Mike Allanson <michael.allanson@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Sarah Mogin <mogin@work.co>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Martin Bavio <mbavio@gmail.com>Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: Kyle Mathews <mathews.kyle@gmail.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Signed-off-by: benjamin hoffman <6520022+benjaminhoffman@users.noreply.github.com>
Copy link
Contributor

@m-allanson m-allanson left a comment

Choose a reason for hiding this comment

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

Nice, thanks @benjaminhoffman! You can see a staging version at https://deploy-preview-4589--gatsbyjs.netlify.com/

I'm not sure what's happening with the commits either.. d'you want to try squashing them all?

@gatsbyjs gatsbyjs deleted a comment from dangerbot-gatsby Apr 18, 2018
@m-allanson
Copy link
Contributor

Actually they should get squashed when this is merged. I think this is ready to merge.

@KyleAMathews KyleAMathews merged commit 1d36bca into gatsbyjs:master Apr 18, 2018
@KyleAMathews
Copy link
Contributor

Thanks @benjaminhoffman! Nice refactor into a plugin 👊

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.