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

Merge down to main #331

Merged
merged 191 commits into from
Jul 1, 2021
Merged

Merge down to main #331

merged 191 commits into from
Jul 1, 2021

Conversation

wjohnsto
Copy link
Contributor

@wjohnsto wjohnsto commented Jul 1, 2021

The main branch should include the new framework

claygriffiths and others added 30 commits January 19, 2021 09:17
* 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]>
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
blakewilson and others added 26 commits June 2, 2021 18:52
* 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
* 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]>
* fix: (#290) removing old package-lock.json

* fix: (#290) removing old headless/package-lock.json

* fix: (#290) updating headless packages

* ci: removing packages/headless build from CI since it is deprecated

* ci: removing packages-headless build from CI since it is deprecated
* doc: (#279) adding project with custom client

* feat: (#279) enabling custom clients as well as server-side clients, adding custom client to getting-started

* feat: (#279) enabling ssr for authenticated client requests
* fix: node-sass -> sass, remove react example from workspaces

* fix: minor/patch scripts

* refactor: remove old codegen tools
* refactor: use new 0.7 client

* fix: use plain WP schema

* refactor: use ReactClient interface

* refactor: use schema types
* feat: (#317) setting @faustJS as framework name

* fix: lint issues
* 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
* refactor: (#327) remove react hooks from client and example

* refactor: (#327) remove `useGeneralSettings` and `usePages` from next client
* 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
@wjohnsto wjohnsto merged commit 80b50fc into main Jul 1, 2021
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.