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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
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 <[email protected]>
replacing hunterchang.com with CodeBushi
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
* fix logic to determine selected plugin from list

* fix selected style for scoped packages

Signed-off-by: benjamin hoffman <[email protected]>
* 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 <[email protected]>
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 <[email protected]>
Sarasate and others added 25 commits April 14, 2018 12:38
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 <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Kyle Mathews <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Mike Allanson <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: stam <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: David Beckley <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>

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

Signed-off-by: Haroen Viaene <[email protected]>

* simplify and fix

Signed-off-by: Haroen Viaene <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Tim Whiteaker <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: chinloong <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
…of empty string when not needed.

Signed-off-by: Grayson Hicks <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Mike Allanson <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Sarah Mogin <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Martin Bavio <[email protected]>Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: Kyle Mathews <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
Signed-off-by: benjamin hoffman <[email protected]>
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.