-
Notifications
You must be signed in to change notification settings - Fork 134
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
Merge down to main #331
Merged
Merge down to main #331
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nitializeNextStaticPaths()
* feature: Add getting started box * design: Style getting started box * chore: Move install script to external script This also removes the WPGraphQL notification bar. We've replaced this with a button so the bar is no longer needed. * chore: PHP standards * chore: Remove unused class * refactor: Add error handling for WPGraphQL install * chore: Use consistent plugin name and quotes * style: Improve label alignment and accessibility
- Makes link text more accessible. - Adds missing `__()` translation function call.
…llbacks with wpe_headless_is_rewrites_enabled() to correct link rewrites. (#77)
* testing absolute links * chore: adding semantic commit Co-authored-by: William Johnston <[email protected]>
…et when filtering for gutenburg styling (#84)
To make it clear that the plugin option disables admin pages, not full theme functionality.
Since the WP Atlas hosting/deployment service expects the service to run on port 8080, we should update the example so it's ready to work with the deployment service.
Types are now generated using the WP GraphQL schema
* feat: Add callback for content src= replacement * Match full domain path in src attr
* feat: Add callback for content src= replacement * Match full domain path in src attr * feat: Add conent image srcset filter * Add admin checkbox for image source rewrite * style: whitespace lint issue * test: Add test for when image filter not enabled * Update media source toggle string
* chore: (#262) removing apollo and adding gqless * feat: (#262) adding ability to intercept request context and apply headers, adding client-side auth header * feat: (#262) incrementing versions * feat: (#262) create client * refactor: (#262) remove apollo * refactor: (#262) headless provider * feat (#262): create hooks using gqless * feat: (#262) provide client creation options ability Co-authored-by: William Johnston <[email protected]>
* feat: utils to determine url from context * test: getUrlFromContext and other utils * fix: add react as dev dependency for test * chore: npm audit * fix: getCurrentUrlPath uses getUrlFromContext + tests * fix: Add jest types for monorepo development * fix: eslint issues * refactor: reorganize getUrlFromContext * fix: add @apollo/client dep * feat: infer pagination archive urls
* chore: incrementing package versions * feat: (#262) adding next gqless support, adjusting react typings to test merging
* feat: react example * feat: design/styles for react example * fix: navigation * fix: preview route * feat: enable previews in React example * feat: ability to specify the api URL * feat: env template * feat: finalize home page and add titles * feat: start server script * refactor: bootstrap * fix: react helment titles * refactor: use canary packages * refactor: use the default client * refactor: add local types * chore: adjusting typings to avoid having to cast, adding linking scripts * fix: requested changes Co-authored-by: William Johnston <[email protected]>
* exporting next client * doc: (#273) adding post list and single post pages using canary framework * doc: (#272) adding pageUri page * fix: correct router provider for getNextStaticProps * fix: example is using new getNextStaticProps interface * chore: adding next lint and fixing lint error * fix: is404 will always refetch the entity * feat: (#274) migrate categories * chore: setting up workspaces * chore: fixing actions to install and run correct scripts * chore: actions use node 14 * chore: correcting action * chore: correcting action * chore: correcting test action to not run npm test * chore: removing node version matrix from action * chore: testing version action * chore: testing version action * chore: using node 15 to get npm 7 * chore: actions are building before running test or lint * chore: actions should be working now with correct npm version * doc: (#276) pagination working for posts * doc: (#276) using pagination component for post pagination * chore: removing unused code * doc: (#276) pagination component using const and exporting props interface * feat: (#272) demonstrate custom page use * doc: adding 404 functionality to posts, adding featured category page and header link to blog * feat: adding optional logger for queries * feat: (#277) category pagination * fix: lodash linting error * fix: Add 404 checks to pages/categories * fix: (#281,#271) previews working in next example * fix: adding preview file * fix: useHydrateCache always restores cache, logger is direct import * chore: incrementing versions * fix: removing console log * chore: removing unused code * refactor: prepare for demo * feat: Add custom 404 page * fix: display featured image on post/page if exists * refactor: remove unused deps from example * chore: incrementing package versions * doc: (#271) adding page and post previews to a single page * chore: using next package versions * chore: updating dependencies * fix: lint issue Co-authored-by: Blake Wilson <[email protected]>
* refactor: use new 0.7 client * fix: use plain WP schema * refactor: use ReactClient interface * refactor: use schema types
* feat: docusaurus setup * chore: clean up docusaurus config * docs: start data fetching in next * docs: usePage next hook * docs: useGeneralSettings hook in next * docs: WIP params, ssg, ssr, data fetching * docs: next client generation * docs: data fetching hooks, custom client usage * docs: usePages hook * docs: ssr/ssg * docs: (#306) create CPT guide * fix: custom post types guide title
* doc: (#310) finishing ssr and ssg doc, moving is404 to new file, adding HeadlessProvider information * doc: adding files and updating packages
* feat: (#321) Support revalidate config option * feat: (#321) support `redirect` and `notFound` * refactor: (#321) destructure revalidate * test: (#321) create tests for getNextServerSideProps and getNextStaticProps * refactor: (#324) Update is404 param structure * docs: (#324) update is404 docs * refactor: (#324) use `notFound` config key for is404
matt-landers
approved these changes
Jul 1, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main branch should include the new framework