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/renditions #227

Merged
merged 6 commits into from
Jan 5, 2023
Merged

Feat/renditions #227

merged 6 commits into from
Jan 5, 2023

Conversation

Simply007
Copy link
Contributor

Motivation

Which issue does this fix? Fixes #215

If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test

If manual testing is required, what are the steps?

@Simply007
Copy link
Contributor Author

based on #216

@Simply007
Copy link
Contributor Author

Ideally cover with more tests

@IvanKiral
Copy link
Contributor

I don't have ideas for tests. I am good with infering the renditions, however I would like to have it covered with readme.

@Simply007 Simply007 marked this pull request as ready for review January 3, 2023 08:42
@Simply007 Simply007 requested a review from a team as a code owner January 3, 2023 08:42
@Simply007
Copy link
Contributor Author

I will link it from the source plugin showcase and extend the showcase for image resolution - with another example in the picture tag.

@Simply007 Simply007 requested a review from IvanKiral January 3, 2023 14:18



{avatar.renditions &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: I would showcase this in readme as renditions might not be there and explain why (also renditions are not allowed in developer plan) or atleast add comment here to explain why they should not forget check if renditions are there. What do you think?

@Simply007 Simply007 requested a review from IvanKiral January 4, 2023 10:26
@Simply007 Simply007 merged commit d31f39a into master Jan 5, 2023
@Simply007 Simply007 deleted the feat/renditions branch January 5, 2023 09:25
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.

Asset renditions are not available in the Gatsby data layer
2 participants