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

feat(gatsby-source-contentful): Add gatsbyImageData resolver #28236

Merged
merged 19 commits into from
Jan 28, 2021

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Nov 23, 2020

This PR adds support for a gatsbyImageData resolver to gatsby-source-contentful. We will later add a custom hook to allow runtime dynamic image support, but this is just a replacement the existing resolvers. For now we are not adding it to the docs, but adding support to allow testing on real sites.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 23, 2020
@ascorbic ascorbic changed the title Feat/contentful image helper feat(gatsby-source-contentful): Add gatsbyImageData resolver Nov 23, 2020
@ascorbic ascorbic marked this pull request as draft November 23, 2020 11:27
@ascorbic ascorbic added topic: source-contentful Related to Gatsby's integration with Contentful topic: media Related to gatsby-plugin-image, or general image/media processing topics and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Nov 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the branch master November 26, 2020 13:14
@axe312ger axe312ger self-assigned this Dec 10, 2020
@axe312ger axe312ger changed the base branch from feat/image-helpers to master December 11, 2020 13:06
@axe312ger axe312ger changed the base branch from master to gatsby-plugin-image/e2e-tests December 11, 2020 13:11
@axe312ger axe312ger changed the base branch from gatsby-plugin-image/e2e-tests to master December 11, 2020 13:11
@axe312ger axe312ger added the status: needs core review Currently awaiting review from Core team member label Dec 11, 2020
@axe312ger axe312ger marked this pull request as ready for review December 22, 2020 11:19
laurieontech
laurieontech previously approved these changes Jan 28, 2021
Copy link
Contributor

@laurieontech laurieontech left a comment

Choose a reason for hiding this comment

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

A couple small comments, but I wouldn't consider them blocking. So up to you.

packages/gatsby-source-contentful/src/extend-node-type.js Outdated Show resolved Hide resolved
packages/gatsby-source-contentful/src/extend-node-type.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes status: needs core review Currently awaiting review from Core team member topic: media Related to gatsby-plugin-image, or general image/media processing topics topic: source-contentful Related to Gatsby's integration with Contentful
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants