Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/wp-graphql/graphql-gutenblock-example

Example Gutenberg Block using WPGraphQL to populate the data
https://github.com/wp-graphql/graphql-gutenblock-example

- updating README.md

7693b9d7d36ecc483d0e3e7aa30651717f19b312 authored over 6 years ago by Jason Bahl <[email protected]>
- adding images to show using fragments

d13b9dc586716798aef441f804ce165bbd6234a6 authored over 6 years ago by Jason Bahl <[email protected]>
/src/graphql-recent-posts/block.js

- break out our the tags into their own component that expects an array of tagNodes and maps ove...

659d8a49d83fce823ee4c6f0eb31fa2e026d27c9 authored over 6 years ago by Jason Bahl <[email protected]>
Merge branch '3-fetch-data-from-graphql' into 4-graphql-arguments-dedupe-posts

3ff26fe06bdb2e63cefce72711101b856dfdd21e authored over 6 years ago by Jason Bahl <[email protected]>
- add image showing how to test a query using the WPGraphiQL plugin

0ab101ea2610aa2ea6985ab9f9031a50760770e4 authored over 6 years ago by Jason Bahl <[email protected]>
src/graphql-recent-posts/block.js

- add reference to the select method exported from wp.data in Gutenberg so we can select data fr...

becab308d60e7dd7289d8b869c5d17aa1acd046b authored over 6 years ago by Jason Bahl <[email protected]>
- replace our hard-coded data with a GraphQL query string (const RECENT_POSTS_QUERY)

- add a `fetchPosts` method to our EditPosts component. This method fetches data from our GraphQL...

d44eaa0a93e00ec46b73c02193556c2b9f6a62eb authored over 6 years ago by Jason Bahl <[email protected]>
- setup the initial state of the EditPosts component. The state is passed down to <RenderPosts> and anytime the state changes, React will take care of re-rendering the bits that need to be re-rendered based on the state changes.

0c2bfa7d9de515dc75fe7fa37ed78f24e33ed7b7 authored over 6 years ago by Jason Bahl <[email protected]>
src/init.php

- enqueue styles for the Ant Design components we'll be using

src/graphql-recent-posts/block.js:...

2a13977d47a87c923d1c419921bed6cb01d787c0 authored over 6 years ago by Jason Bahl <[email protected]>
- build the dist files (`yarn build`)

1d3169dd5188447dd58ecd9f95322381210d92ff authored over 6 years ago by Jason Bahl <[email protected]>
- remove the files for the default block that was created as part of the initial Create Guten Block scaffolding

- add PHP and JS files for the new `graphql-recent-posts` block, and include the files in `src/bl...

6ffd8eea1bddc7c08037219df4855b32b66b5558 authored over 6 years ago by Jason Bahl <[email protected]>
- initial commit

- scaffolded the plugin from create-guten-block v1.9.7
- changed plugin name in plugin.php and pa...

9f214bd0a85d31703f8359b7a3aa93e2e27eafc6 authored over 6 years ago by Jason Bahl <[email protected]>